Closed DanielKraft closed 3 years ago
Frontend Tests
Jest
should be used, because our project chooses a lightweight framework.src\components\ui\LocationSearchBar.vue
(for example the search for the location)src\components\ui\SearchBar.vue
(for example the search for keywords)src\utils\services\DataService.ts
src\utils\services\LocationService.ts
src\utils\services\TagService.ts
Backend Tests
data_extraction
data_enhancement
upload_to_elasticsearch
Reason (Why?) At this time no frontend and backend tests have been implemented yet.
Solution (What?)
Frontend Tests:
Basic informations:
https://vuejs.org/v2/guide/testing.html
https://vuejs.org/v2/cookbook/unit-testing-vue-components.html
Test frameworks/modules:
Backend Tests:
Out of scope
Relation to other Issues
Acceptance criteria