-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
Goal:
Some of our current unit testing functions are tied together and placed in just one function, to have a better readability, debug and continue our tests, it would be interesting if we could split them apart to reach better maintenance of the tests.
Examples provided by Link Dupont:
- https://github.com/RedHatInsights/yggdrasil/blob/main/internal/sync/mutex_map_test.go
- https://github.com/subpop/go-ini/blob/main/lex_test.go
- https://github.com/RedHatInsights/config-manager/blob/master/internal/http/v2/handlers_test.go
- https://github.com/RedHatInsights/config-manager/blob/master/internal/db/db_test.go
Acceptance Criteria:
- Split test cases to different functions