Replies: 3 comments 1 reply
-
Hmm, this doesn't seem practical on the level I was hoping. A lot of the tests rely on common data defined at the beginning of each Each larger |
Beta Was this translation helpful? Give feedback.
-
@Tasqu Can we close this discussion? |
Beta Was this translation helpful? Give feedback.
-
@clizbe I'd say so. Would be nice, but definitely not a priority and potentially not even worth the effort. |
Beta Was this translation helpful? Give feedback.
-
SpineOpt already has a number of tests, and running them all takes a while. This can be a pain when trying to debug single unit tests after some changes break them.
According to @manuelma, each unit test should be self-contained, so that they don't rely on each other. If that's indeed the case, it should be possible to separate each unit test into a dedicated function, making it possible to call only that test when debugging.
Full testing could then be implemented using a master function that calls all the individual tests in sequence.
Beta Was this translation helpful? Give feedback.
All reactions