How to configure running only widget tests
Instead of building the entire app, you can separately run tests on your widgets.
To test widgets, the following is required:
- A Flutter project without
testfolder containing at least one test.
Your widget repository is automatically detected just as any other repository, but there are differences in the build process. Technically, Codemagic will only fetch the sources, install the dependencies and run the tests. If there are failing tests, you will receive the test report on your email.
After the first build, you can change the Flutter version (by default, it’s
channel Stable) and configure email publishing and Slack for receiving status reports.