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

Improve test coverage #58

Closed
2 of 3 tasks
lastzero opened this issue Nov 6, 2018 · 3 comments
Closed
2 of 3 tasks

Improve test coverage #58

lastzero opened this issue Nov 6, 2018 · 3 comments
Assignees
Labels
released Available in the stable release
Projects
Milestone

Comments

@lastzero
Copy link
Member

lastzero commented Nov 6, 2018

As a developer, I want increased unit test coverage to have a smoother development experience and greater confidence.

Acceptance Criteria:

  • Public code coverage / code quality report
  • Each package must have tests covering 90% of the code
  • All tests should run in less than 10 minutes, ideally 5 minutes or less (conversion of RAW images can take some time...)
@lastzero lastzero added the enhancement Optimization, improvement or maintenance task label Nov 6, 2018
@lastzero lastzero added this to the MVP milestone Nov 6, 2018
@lastzero lastzero self-assigned this Nov 6, 2018
lastzero added a commit that referenced this issue Nov 6, 2018
lastzero added a commit that referenced this issue Nov 6, 2018
lastzero added a commit that referenced this issue Nov 9, 2018
Caching of dependencies is not possible otherwise
@lastzero
Copy link
Member Author

lastzero commented Nov 9, 2018

Build / test time on Travis CI was reduced to ~ 5 minutes. It makes sense to split unit (core functionality) and acceptance tests (with many different photos and sidecar files) for further improvements.

@lastzero lastzero added the in-progress Somebody is working on this label Nov 9, 2018
lastzero added a commit that referenced this issue Nov 15, 2018
- Added a new make target: test-fast
- To execute all test, you have to use -tags=slow
lastzero added a commit that referenced this issue Nov 15, 2018
- Hopefully easier to understand for new developers
lastzero added a commit that referenced this issue Nov 17, 2018
lastzero added a commit that referenced this issue Nov 17, 2018
- Includes refactoring of existing packages to enable testing of commands
lastzero added a commit that referenced this issue Nov 18, 2018
@lastzero lastzero added epic and removed enhancement Optimization, improvement or maintenance task labels Nov 22, 2018
@lastzero
Copy link
Member Author

Still at 54% - anyone is most welcome to help with this 👍

@lastzero
Copy link
Member Author

lastzero commented Jan 6, 2020

Not reached our % goal, but we take care of it day by day. Closing this.

@lastzero lastzero closed this as completed Jan 6, 2020
@lastzero lastzero added released Available in the stable release and removed in-progress Somebody is working on this labels Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Available in the stable release
Projects
No open projects
Development
  
Awaiting triage
Development

No branches or pull requests

2 participants