stager_platform_native_plugins
The front-facing package for the Stager Platform Native Plugins. This package provides the public API that app developers use to interact with native platform features.
Testing 🧪
This package uses both Dart unit tests and Fluttium integration tests.
Dart Unit Tests
Dart unit tests verify the plugin's logic using mocks. To run these tests:
flutter test
Integration Tests (Fluttium)
Integration tests for this package are powered by Fluttium. These tests simulate real user interactions within the example application.
To run the Fluttium flows, you must have the fluttium_cli installed.
To install it, run:
dart pub global activate fluttium_cli
Running Tests
-
Navigate to the example directory:
cd example -
Run all flows:
fluttium test flows/test_platform_name.yaml