runner.dart 894 B

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