runner.dart 1.2 KB

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