runner.dart 810 B

12345678910111213141516171819
  1. import 'package:integration_test/integration_test.dart';
  2. import 'board_test.dart' as board_test;
  3. import 'switch_folder_test.dart' as switch_folder_test;
  4. import 'empty_document_test.dart' as empty_document_test;
  5. /// The main task runner for all integration tests in AppFlowy.
  6. ///
  7. /// Having a single entrypoint for integration tests is necessary due to an
  8. /// [issue caused by switching files with integration testing](https://github.com/flutter/flutter/issues/101031).
  9. /// If flutter/flutter#101031 is resolved, this file can be removed completely.
  10. /// Once removed, the integration_test.yaml must be updated to exclude this as
  11. /// as the test target.
  12. void main() {
  13. IntegrationTestWidgetsFlutterBinding.ensureInitialized();
  14. switch_folder_test.main();
  15. board_test.main();
  16. empty_document_test.main();
  17. }