To run this example:
- Ensure dart is accessible in the command line (on your path variable)
- Ensure an emulator or device is connected
- In a command prompt (from the root of this library):
cd example/test_driver dart app_test.dart
This will run the features files found in the folder test_driver/features
against this example app.
To debug this example and step through the library code.
- Set a break point in
test_driver/app_test.dart
- Set
exitAfterTestRun
on the configuration to false to ensure exiting cleanly as the IDE will handle exiting - If you are in VsCode you will simply be able to select
Debug example
from the dropdown in thedebugging tab
as thelaunch.json
has been configured.- otherwise you will need to run a debugging session against
test_driver/app_test.dart
.
- otherwise you will need to run a debugging session against