19_Tests #40

Merged
mpeltriaux merged 19 commits from 19_Tests into master 2021-11-15 09:48:12 +01:00
Owner

Implements #19

The test suite is not finished, yet. However, since the system shall be installed testwise on a server in the next few weeks, the focus should now be more on more features and functionalities. The test suite can be continued afterwards (but before production!)

# Implements #19 The test suite is not finished, yet. However, since the system shall be installed testwise on a server in the next few weeks, the focus should now be more on more features and functionalities. The test suite can be continued afterwards (but before production!)
mpeltriaux added 19 commits 2021-11-15 09:48:06 +01:00
* adds tests for views in intervention app
* fixes bugs detected by test writing
* refactors test logic into base test classes
* adds tests for views in konova app
* fixes bugs/warnings detected by testing
* refactors CheckableMixin and RecordableMixin into CheckableObject and RecordableObject
* adds ShareableObject for wrapping share related fields and functionality
* adds share functionality to EcoAccount and EMA, just like Intervention
* adds tests for compensations (WIP)
* refactors some dummy data generating into base test class
* fixes bugs detected by testing
* adds important requirements.txt change for itsdangerous package (<1.0.0 for compatibility to django-simple-sso)
* fixes bug where compensations still appeared on the public report despite being marked as deleted
* fixes bug where eco account could be deducted into a negative account balance
* adds EMA tests
* extends compensation tests
* fixes bugs detected by testing
* restructured tests for performance boost
* adds EMA test
* adds EcoAccount tests
* fixes bugs found by testing
* adds a useful custom command which exports a specific selectable codelist into a csv file
* moves dummy data creation from BaseViewTestCase into BaseTestCase
* adds new BaseWorkflowTestCase class for encapsulating
* adds new InterventionWorkflowTestCase class with first workflow tests
* adds workflow tests or deductions in InterventionWorkflowTestCase
* fixes bugs detected by testing
* adds workflow tests for checkability and recordability for interventions
* fixes/improves code snippets detected by testing
* adds workflow tests for compensation checking and recording
* improves related code
* adds workflow tests for eco account deduction creation
* refactors sharing user setting by introducing share_with(user) and share_with_list(user_list) for BaseObject for a more self-explanatory sharing
* adds workflow testing for geometries on new creation of intervention and compensation
*
* adds workflow edit testing for compensations
* restructures setup for workflow tests in interventions
mpeltriaux merged commit c1a251abc9 into master 2021-11-15 09:48:12 +01:00
Sign in to join this conversation.
No description provided.