In a message of Fri, 12 Jun 2015 15:58:03 +1000, Cameron Simpson writes: >On 11Jun2015 18:55, alan.ga...@btinternet.com <alan.ga...@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 _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor