Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(e2e): refactor testing flow #325

Merged
merged 4 commits into from
Aug 16, 2023
Merged

Conversation

parodyBit
Copy link
Contributor

@parodyBit parodyBit commented Aug 14, 2023

  • move import_mnemonic_test.dart to e2e_mnemonic_test.dart
  • add integration_test/main.dart This file will be used to run all the e2e tests from a single file.
  • move the testing utils from lib/util/integration_test_utils.dart to integration_test/test_utils.dart
  • define an initial route in lib/app.dart (useful for testing)
  • make ApiTheme a singleton and check if the locator has already registered singletons, since running multiple tests resets the app but does not restart the app.

#322

- move `import_mnemonic_test.dart` to `e2e_mnemonic_test.dart`
- add `integration_test/main.dart`
   This file will be used to run all the e2e tests from a single file.
- move the testing utils from `lib/util/integration_test_utils.dart` to `integration_test/test_utils.dart`
- define an initial route in `lib/app.dart` (useful for testing)
- make `ApiTheme` a singleton and check if the locator has already registered singletons, since running multiple tests resets the app but does not restart the app.
- lint -> remove `import 'test_utils.dart';`
@parodyBit parodyBit merged commit f008c11 into witnet:main Aug 16, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants