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

Implement Backend Tests #759

Open
tinxx opened this issue Aug 8, 2024 · 1 comment
Open

Implement Backend Tests #759

tinxx opened this issue Aug 8, 2024 · 1 comment
Labels
Improvement Improvement of existing features

Comments

@tinxx
Copy link
Collaborator

tinxx commented Aug 8, 2024

The Backend server currently has zero test coverage. This should be changed.

Testing Spring Boot applications is not always straight forward as there are several dependencies.
However, the Backend uses an in-memory SQLite instance by default so it should not be necessary to change that for testing.

It has to be decided if tests should cover actual container actions or if those should be mocked.

While implementing tests, consider updating or extending code documentation (JavaDoc, READMEs) if something is not quite right, ambiguous, or missing.

@tinxx tinxx added the Improvement Improvement of existing features label Aug 8, 2024
@koschke
Copy link
Collaborator

koschke commented Aug 8, 2024

I'd love to have the coverage data covered by JaCoCo because we can import JaCoCo test reports and visualize the data in our code cities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Improvement of existing features
Projects
None yet
Development

No branches or pull requests

2 participants