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

♻️ refactor tests which require database objects #29

Open
bunop opened this issue Sep 16, 2021 · 0 comments
Open

♻️ refactor tests which require database objects #29

bunop opened this issue Sep 16, 2021 · 0 comments
Labels
enhancement New feature or request performance Improve the performance or better resource management

Comments

@bunop
Copy link
Member

bunop commented Sep 16, 2021

Is your feature request related to a problem? Please describe.
Tests should be refactored in order to initialize data from fixtures. This will make easier the testing processes, even in most difficult requirement setup

Describe the solution you'd like
Database relates tests should start by fixtures upload, and requirements must be managed by uploading json objects

Describe alternatives you've considered
Test could remain like this, however it seems difficult to proper setup certain tests

Additional context
See tests in SMARTER-backend and take inspirations by django tests

@bunop bunop added enhancement New feature or request performance Improve the performance or better resource management labels Sep 16, 2021
@bunop bunop added this to the SMARTER database v1.0.0 milestone Sep 16, 2021
@bunop bunop added this to SMARTER Aug 3, 2023
@bunop bunop moved this to To do in SMARTER Aug 3, 2023
@bunop bunop changed the title ♻️ refactor tests which requires database objects ♻️ refactor tests which require database objects Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance Improve the performance or better resource management
Projects
Status: To do
Development

No branches or pull requests

1 participant