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

Increase test coverage of backend #16

Open
JulianFP opened this issue Apr 11, 2024 · 0 comments
Open

Increase test coverage of backend #16

JulianFP opened this issue Apr 11, 2024 · 0 comments
Labels
medium priority well be done at some point NFR enhancement Improvement regarding a non-functional requirement (e.g. testing)

Comments

@JulianFP
Copy link
Owner

JulianFP commented Apr 11, 2024

A good test coverage for the backend would be ~90%. Some pieces of code like the communication with the runner is hard to test, however many of the individual components of the runner-manager.py and model.py modules could be tested (e.g. the priority queue, database usage, etc.) and the runner could also be spoofed to some extend by using flasks client object in test cases (e.g. heartbeats, failed state, etc.).

@JulianFP JulianFP added FR enhancement New feature or request regarding a functional reqirement medium priority well be done at some point labels Apr 11, 2024
@JulianFP JulianFP added NFR enhancement Improvement regarding a non-functional requirement (e.g. testing) and removed FR enhancement New feature or request regarding a functional reqirement labels Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
medium priority well be done at some point NFR enhancement Improvement regarding a non-functional requirement (e.g. testing)
Projects
None yet
Development

No branches or pull requests

1 participant