You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to be able to convert the python unittest format (the default and core library for python testing) into the Spec format that Crystal uses. This may require some heavy tree manipulation and require taking some opinionated positions with the translation.
Something like:
each Python class that interits unittest.TestCase be converted into a describe
each test_* function in the class be converted into a it
each self.assert* convert into the appropriate should clause, which will require rearrangement, especially for exception handling.
support for setUp/tearDown, though the semantics differ significantly between cases.
Adding this in may eventually allow for easier and faster regression of some parts of this project, as the current methodology suffers from "death by a thousand compiles"
The text was updated successfully, but these errors were encountered:
It would be useful to be able to convert the python
unittest
format (the default and core library for python testing) into theSpec
format that Crystal uses. This may require some heavy tree manipulation and require taking some opinionated positions with the translation.Something like:
unittest.TestCase
be converted into adescribe
test_*
function in the class be converted into ait
self.assert*
convert into the appropriateshould
clause, which will require rearrangement, especially for exception handling.Adding this in may eventually allow for easier and faster regression of some parts of this project, as the current methodology suffers from "death by a thousand compiles"
The text was updated successfully, but these errors were encountered: