runner.dart 964 B

1234567891011121314151617181920212223
  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. import 'open_ai_smart_menu_test.dart' as smart_menu_test;
  6. import 'document_test.dart' as document_test;
  7. /// The main task runner for all integration tests in AppFlowy.
  8. ///
  9. /// Having a single entrypoint for integration tests is necessary due to an
  10. /// [issue caused by switching files with integration testing](https://github.com/flutter/flutter/issues/101031).
  11. /// If flutter/flutter#101031 is resolved, this file can be removed completely.
  12. /// Once removed, the integration_test.yaml must be updated to exclude this as
  13. /// as the test target.
  14. void main() {
  15. IntegrationTestWidgetsFlutterBinding.ensureInitialized();
  16. switch_folder_test.main();
  17. board_test.main();
  18. empty_document_test.main();
  19. smart_menu_test.main();
  20. document_test.main();
  21. }