Releases: pyscript/upytest
1.0.10
Changes:
- Allow for conftest.py in sub directories.
Ensure this file is in your Python path in PyScript: https://raw.githubusercontent.com/ntoll/upytest/1.0.10/upytest.py
Documentation in the README.
Works with https://github.com/ntoll/umock
1.0.9
Changes:
- Ensure that
asynctest methods work as expected in test classes. - Add tests to check this works.
Ensure this file is in your Python path in PyScript: https://raw.githubusercontent.com/ntoll/upytest/1.0.9/upytest.py
Documentation in the README.
Works with https://github.com/ntoll/umock
1.0.8
Changes:
- Add a new
randomnamed argument to therunmethod. Defaults toFalse. IfTruethe order in which the test modules and the individual tests therein are evaluated will be randomized.
Ensure this file is in your Python path in PyScript: https://raw.githubusercontent.com/ntoll/upytest/1.0.8/upytest.py
Documentation in the README.
Works with https://github.com/ntoll/umock
1.0.7
Changes:
- Tidy up to output in terminal (you can see which modules are being tested).
- Non-blocking
printfor Pyodide in the main thread.
Ensure this file is in your Python path in PyScript: https://raw.githubusercontent.com/ntoll/upytest/1.0.7/upytest.py
Documentation in the README.
Works with https://github.com/ntoll/umock
1.0.6
Changes:
- Add a
running_in_workerflag to the test output. - Force
flush=Trueforprintin Pyodide.
Ensure this file is in your Python path in PyScript: https://raw.githubusercontent.com/ntoll/upytest/1.0.6/upytest.py
Documentation in the README.
Works with https://github.com/ntoll/umock
1.0.5
Changes:
- Ensures test results dict is always JSON serializable.
Ensure this file is in your Python path in PyScript: https://raw.githubusercontent.com/ntoll/upytest/1.0.5/upytest.py
Documentation in the README.
Works with https://github.com/ntoll/umock
1.0.4
Changes:
- Add duration, platform and version information to test results.
Ensure this file is in your Python path in PyScript: https://raw.githubusercontent.com/ntoll/upytest/1.0.4/upytest.py
Documentation in the README.
Works with https://github.com/ntoll/umock
1.0.3
Changes:
- Ensures the results of a test run are JSON serialisable.
Ensure this file is in your Python path in PyScript: https://raw.githubusercontent.com/ntoll/upytest/1.0.3/upytest.py
Documentation in the README.
Works with https://github.com/ntoll/umock
1.0.2
Changes:
- Add output of Python interpreter version to the test results.
Ensure this file is in your Python path in PyScript: https://raw.githubusercontent.com/ntoll/upytest/1.0.2/upytest.py
Documentation in the README.
Works with https://github.com/ntoll/umock
1.0.1
This release adds the ability to group tests into a TestClass.
Ensure this file is in your Python path in PyScript: https://raw.githubusercontent.com/ntoll/upytest/1.0.1/upytest.py
Documentation in the README.
Works with https://github.com/ntoll/umock