[Tutor] Python&Pytest
Laura Creighton
lac at openend.se
Fri Jun 12 12:48:24 CEST 2015
In a message of Fri, 12 Jun 2015 15:58:03 +1000, Cameron Simpson writes:
>On 11Jun2015 18:55, alan.gauld at btinternet.com <alan.gauld at btinternet.com> wrote:
>>On 11/06/15 14:25, Michelle Meiduo Wu wrote:
>>>I read some document and found Pytest can be used to write
>>> simpler code compared with using unittest in Python.
>>
>>Yes, but PyTest (and unittest) are for testing units of Python
>>code. So they really only apply if your application is written
>>in Python.
Actually, there are many people using pytest to test code written in
other languages. We wrote this:
https://pypi.python.org/pypi/oejskit
to test javascript inside browsers using pytest, for instance.
There is a version for running ruby tests and haskell tests that
I know about, and undoubtably many more that I do not.
Laura
More information about the Tutor
mailing list