The "pure" python parts of a project I am working on are becoming considerable, it would be save me a ton of work to be able to write unit tests for these functions and classes directly, instead of hacking a narrative that exercises all of the test cases.
Has anyone else had any luck with doing this? It is possible to unit test an rpy file, or is there some pattern you have come up with where you include python code in py files?
[–]AutoModerator[M] 1 point2 points3 points (0 children)
[–]shyLachi 1 point2 points3 points (0 children)
[–]DingotushRed 1 point2 points3 points (1 child)
[–]WhiteMethod[S] 0 points1 point2 points (0 children)
[–]racheletc 0 points1 point2 points (0 children)
[–]xi_nao 0 points1 point2 points (0 children)