blob: 5f9b6e334685827c7a625c422d9cdf3c88b482d3 [file] [log] [blame] [view] [edit]
# Driver unit testing quick start
Important: This page is a work in progress.
Additional documentation will be published by November 9, 2023.
## Include library dependencies
## Provide handler to add server bindings
## Set up testing framework
### Create driver runtime
### Start background dispatcher(s)
### Create `TestNode` object
### Create `TestEnvironment` object
### Create custom FIDL server
### Get custom FIDl server handler
### Move custom FIDL server handler
### Call `CreateStartArgsAndServe`
### Initial test environment
## Run tests
### Add the driver under test
### Start driver
### Add tests
### Call `PrepareStop`
### Run tests