Releases: pyscript/upytest
1.0.9
Changes:
- Ensure that
async
test 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
random
named argument to therun
method. Defaults toFalse
. IfTrue
the 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
print
for 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_worker
flag to the test output. - Force
flush=True
forprint
in 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
1.0.0
Initial release, to allow us to pin versions in projects that depend on this project.
Ensure this file is in your Python path in PyScript: https://raw.githubusercontent.com/ntoll/upytest/1.0.0/upytest.py
Documentation in the README.
Works with https://github.com/ntoll/umock