Skip to content

Releases: pyscript/upytest

1.0.9

28 Oct 18:05
6b7b383
Compare
Choose a tag to compare

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

26 Sep 09:32
add20d9
Compare
Choose a tag to compare

Changes:

  • Add a new random named argument to the run method. Defaults to False. If True 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

19 Sep 15:57
f4510ce
Compare
Choose a tag to compare

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

19 Sep 15:41
67980d4
Compare
Choose a tag to compare

Changes:

  • Add a running_in_worker flag to the test output.
  • Force flush=True for print 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

17 Sep 11:49
4a15962
Compare
Choose a tag to compare

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

11 Sep 15:17
8d2020f
Compare
Choose a tag to compare

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

11 Sep 13:47
30d84de
Compare
Choose a tag to compare

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

10 Sep 17:20
089590b
Compare
Choose a tag to compare

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

10 Sep 09:14
f49b2a4
Compare
Choose a tag to compare

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

09 Sep 09:08
4fdcc45
Compare
Choose a tag to compare

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