This is an umbrella issue to related to one of our priorities for code-server: testing.
There are three main areas we're focusing on in regards to code-server's testing situation.
1. Code Coverage
We need to be able to measure our testing efforts. The best way to do that is through code coverage.
- ✅ Add support for code coverage
- ✅ Track code coverage for Lines in README feat(testing): add code coverage #2621
- 🚧 Increase Lines coverage to 90-100% (currently: 50.26%)
- ⏳ Increase threshold to 90% and fail CI if not met
- ⏳ Track code coverage with each PR using something like @codecov
2. End-to-End Tests
code-server is a complex app and deserves to be thoroughly tested. With end-to-end tests, we can fix bugs, prevent regressions and ship more confidently.
3. Test Guidelines
To make it easier for both contributors and maintainers to write tests for code-server, we should have guidelines.
- ⏳ Add /docs/testing.md with guidelines for writing unit, integration and end-to-end tests
Related issues:
LEGEND
⏳ = to do
🚧 = in progress
✅ = done
Note: this is part of an experiment to be more transparent about our priorities and our roadmap. See everything related to this effort in the project board
Reactions are currently unavailable
This is an umbrella issue to related to one of our priorities for code-server: testing.
There are three main areas we're focusing on in regards to code-server's testing situation.
1. Code Coverage
We need to be able to measure our testing efforts. The best way to do that is through code coverage.
2. End-to-End Tests
code-server is a complex app and deserves to be thoroughly tested. With end-to-end tests, we can fix bugs, prevent regressions and ship more confidently.
3. Test Guidelines
To make it easier for both contributors and maintainers to write tests for code-server, we should have guidelines.
Related issues:
Note: this is part of an experiment to be more transparent about our priorities and our roadmap. See everything related to this effort in the project board