Skip to content

Releases: pysys-test/pysys-test

PySys v2.2

19 Oct 13:54
Compare
Choose a tag to compare

This release improves usability of the pysys command line, gives a better experience editing/running tests from IDEs,
improves performance and Ctrl+C cancellation handling, and adds a few new methods and parameters you can use in your tests.
This release also adds support for Python 3.11 and 3.12, and removes support for the end-of-life 3.6 and 3.7 Python releases.

PySys v2.1

17 Mar 13:30
Compare
Choose a tag to compare

The main changes in this release are new features to help with triaging performance results, and improved usability for the new pysystest.py descriptor format and modes support that was added in version 2.0.

This release also adds support for Python 3.10, upgrades to the sample GitHub Actions workflows, and includes a lot of minor enhancements and fixes.

PySys v2.0

22 Aug 21:34
Compare
Choose a tag to compare

Highlights from this release are:

  • Addition of Python 3.9 support, and removal of Python 2 and 3.5 support.
  • A new standard test structure that avoids the use of XML by allowing descriptor values such as the test title to be specified alongside your Python test class in a single pysystest.py file, instead of separate run.py and pysystest.xml files. You can mix and match the old and new styles within the same project. For new PySys projects a simpler directory layout is now recommended in which the self.input directory is configured to be the main testDir/ (which also contains the pysystest.py file) instead of having a separate testDir/Input/ subdirectory for input files. This can make test contents easier to navigate.
  • Some big extensions to the concept of "modes" that allow for more powerful configuration and use, including mode parameters for easier handling of multi-dimensional modes, and dynamic mode lists configured with a Python lambda expression.
  • A new template-based implementation of pysys make, allowing easy configuration of how new tests are created - on a per-directory basis - and also automatic generation of test identifiers for new tests (when using numeric identifiers).
  • Several improvements to the pysys.mappers API for more easily transforming text files during copy and grep operations, including support for multi-line exception stack traces.
  • A large set of smaller additions, many based on end-user requests. PySys "power users" are encouraged to read through the full Change Log to ensure they're aware of all the new functionality they might be able to benefit from.
  • There are a few breaking changes (see Migration Notes) but in practice these are likely to affect few users.

PySys v1.6.1

12 Aug 17:02
Compare
Choose a tag to compare

PySys 1.6.1 contains some fixes to allocation of TCP ports which are necessary for running some tests on GitHub(R) Actions.

PySys v1.6.0

10 Aug 19:04
Compare
Choose a tag to compare

PySys 1.6.0 introduces a new "plugins" concept, new writers for recording test results (including GitHub(R) Actions support and a writer that produces .zip archives of test output directories), and lots of other additions and usability improvements.

For more details see the latest change log at https://pysys-test.github.io/pysys-test/ChangeLog.html

PySys v1.5.1

06 May 15:42
Compare
Choose a tag to compare

PySys 1.5.1 includes a significant expansion and restructuring of the PySys documentation, support for Python 3.8 and IPv6, some new project options, and a collection of significant usability improvements to common assertion methods such as assertGrep, assertThat and assertDiff.

See the latest change log at https://pysys-test.github.io/pysys-test/ChangeLog.html

PySys v1.5.0

29 Jul 15:05
Compare
Choose a tag to compare

PySys 1.5.0 brings some significant new features for large PySys projects including support for running a test in multiple modes, and pysysdirconfig.xml files that allow you to specify defaults that apply to all testcases under a particular directory - such as groups, modes, a prefix to add to the start of each test id, and a numeric hint to help define the execution order of your tests.

There is also new support for collecting files from each test output directory (e.g. code coverage files), new features in the pysys run and pysys print command lines, and a host of small additions to the API to make
test creation easier e.g. assertEval, copy (with filtering of each copied line) and write_text (for easy programmatic creation of files in the output directory).

This is a major release and therefore there are a few significant changes that could required changes in existing projects; please review the compatibility section of this document and perform an initial test run using the new PySys version to check for issues before switching over.

See CHANGELOG.rst for a full list of changes.

PySys v1.4.0

15 Apr 16:21
Compare
Choose a tag to compare

In PySys 1.4.0 the installation mechanism has changed to use the standard pip tool, so you can now install PySys and its dependencies on any platform simply by running pip install PySys.

There are significant improvements to the writer API including integrated support for running tests using Travis CI. New test projects can be created with the new pysys.py makeproject command. Amongst many other additions there's also support for creating background threads from testcases, for executing Python DocTests, a new skipTest() method and an IS_WINDOWS constant.

There are also some important bug fixes in areas such as international (I18N) character support, logging, assertion error handling, cleanliness of the startProcess environment, and process monitoring.

If you have existing PySys projects please see the Upgrade guide and compatibility section, as this release contains some changes that may affect existing users.

See https://github.com/pysys-test/pysys-test/blob/release/CHANGELOG.rst for a full list of changes.

PySys v1.3.0

01 Mar 14:21
Compare
Choose a tag to compare

This release adds improved Python 3 support (using a "single-source" approach to maintain full Python 2 compatibility), colored output and progress reporting on the console while running tests, greater control over encodings used to read/write files, and a new performance reporting framework.

There are also a number of bug fixes and several other improvements. See https://github.com/pysys-test/pysys-test/blob/PySys_1_3_0/pysys-dist/pysys-release.txt for a full list of changes.

In this release, we recommend using the PySys-1.3.0.tar.gz source distribution to install on Unix, and the PySys-1.3.0.win-amd64.exe installer on Windows. See https://github.com/pysys-test/pysys-test/blob/PySys_1_3_0/pysys-dist/README.rst for detailed installation instructions.