Showing
1 changed file
with
8 additions
and
1 deletions
| @@ -2,4 +2,11 @@ | @@ -2,4 +2,11 @@ | ||
| 2 | 2 | ||
| 3 | This is a basic example demonstrating the functionality of the wakelock plugin, including enabling & disabling the wakelock and also retrieving the current wakelock status using a `FutureBuilder`. | 3 | This is a basic example demonstrating the functionality of the wakelock plugin, including enabling & disabling the wakelock and also retrieving the current wakelock status using a `FutureBuilder`. |
| 4 | 4 | ||
| 5 | -See [`example/lib/main.dart`](https://github.com/creativecreatorormaybenot/wakelock/blob/master/example/lib/main.dart). | ||
| 5 | +See [`example/lib/main.dart`](https://github.com/creativecreatorormaybenot/wakelock/blob/master/example/lib/main.dart). | ||
| 6 | + | ||
| 7 | +## Integration testing | ||
| 8 | + | ||
| 9 | +For integration testing, this plugin uses [`example/test_driver`](https://github.com/creativecreatorormaybenot/wakelock/tree/master/example/test_driver). The project has a setup for continuous integration, which will run the integration test to confirm that the plugin is working correctly. | ||
| 10 | +The status for the latest commit is: [](https://travis-ci.com/creativecreatorormaybenot/wakelock) | ||
| 11 | + | ||
| 12 | +If you want to run the integration tests yourself, you can run `flutter drive --target=test_driver/app.dart` from the `example` directory. |
-
Please register or login to post a comment