Expand TreeDefItem backend test coverage #5957
melton-jason
started this conversation in
Feature Requests
Replies: 1 comment
-
Nevermind, I have found there are already tests for this (focused on using the API): specify7/specifyweb/specify/tests/test_trees.py Lines 214 to 407 in 1f028e7 Can we then ensure there is coverage for all of the changes from #4257? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As of #4257, a lot of behavior was added relating to TreeDefitems.
Tests should be added to both catch any existing bugs in the code as well as to ensure maintainability and prevent future changes to the code from causing unwanted/unexpected behavior.
There has already been multiple issue which would have been caught if tests were in place and had complete coverage of the changes in #4257:
Beta Was this translation helpful? Give feedback.
All reactions