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

The test files are not named according to the recommended convention #31

Closed
peterwvj opened this issue Jul 7, 2020 · 0 comments · Fixed by #33
Closed

The test files are not named according to the recommended convention #31

peterwvj opened this issue Jul 7, 2020 · 0 comments · Fixed by #33

Comments

@peterwvj
Copy link
Collaborator

peterwvj commented Jul 7, 2020

The test files are not named according to the recommended convention. In consequence the tests do not run when you execute flutter test. Example:

$ flutter test
....
Test directory "test" does not appear to contain any test files.
Test files must be in that directory and end with the pattern "_test.dart".

Solution/suggestion: rename the test as follows:

api_addProductImage_test.dart
api_getProductRaw_test.dart
api_getProduct_test.dart
api_getRobotoff_test.dart
api_postRobotoff_test.dart
api_saveProduct_test.dart
api_searchProducts_test.dart
recommended_daily_intake_test.dart
test_constants.dart

I'm at this commit: 21df57e

This was referenced Jul 7, 2020
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 a pull request may close this issue.

1 participant