Automated PyTruth conversion

29 views
Skip to first unread message

Gregory Kwok

unread,
Jun 29, 2017, 12:01:06 AM6/29/17
to PyTruth Users
Hi everyone--author of PyTruth here--

If you are wondering how to bypass the tedium of converting existing "unittest" tests to PyTruth, I have a conversion script in the works.

Currently, it takes a .py file path as input, and converts it in-place. It recognizes most of PyTruth's assertions, minus mocked functions (I hope to add that functionality in the future). It will come with its own integration test, which at the moment covers hundreds of cases. The goal is to get a >95% working test out of the box, requiring only minor adjustments. Stay tuned for the next week or so.

~gregory

Gregory Kwok

unread,
Jul 5, 2017, 5:30:03 PM7/5/17
to PyTruth Users
This is now available! See the "convert" binary.
Reply all
Reply to author
Forward
0 new messages