@Dancergraham wrote:
Hello all,
Has anyone got recommendations for methods / frameworks to use in automated testing of python scripts (Rhino 5)? I have a small, growing, library of python scripts which I and several colleagues use to automate tasks such as naming geometry, rebuilding surfaces, importing, exporting and validating geometry.
I would envisage having a set of rhino files which would be automatically loaded, the scripts run and I would use some
assert
statements to check that the results were as expected. I see that doctest is included in Ironpython - has anyone tried that? Anybody got pytest to work with Ironpython? Anyone else interested in going on this journey towards test driven development (TDD) with me?Thanks for any advice.
Graham
Posts: 5
Participants: 2