-------------------
* :changed:`Changed` Checks if a process exists by reading the `/proc/<pid>/stat`.
* :changed:`Changed` Support :py:class:`RemoteDriver <testplan.common.remote.remote_driver.RemoteDriver>` in dependency graph of test environment (the ``dependencies`` parameter).
* :changed:`Changed` Use lazy import for Matplotlib and move cache to runpath.
* :new:`New` Added ``--code`` flag to collect code context for the assertions. Code context one-liner will be displayed on the web UI if enabled.
Note that file path information is no longer collected by default. To collect file path information, enable code context.
* :new:`New` Add a new summary page on resource view to show the task allocation per host.
* :changed:`Changed` Refactor the stop logic of :py:class:`App <~testplan.testing.multitest.driver.app.App>` driver for faster environment shutdown. Rename parameter ``sigint_timeout`` to ``stop_timeout``. Add a new parameter ``stop_signal`` for custom stop signals, its default value ``None`` invokes ``terminate`` method to stop subprocess, i.e. sending ``SIGTERM`` signal to subprocess on Linux.
**Environment will fail to stop if subprocess doesn't terminate within the default 5-second** ``stop_timeout`` **for graceful shutdown**. Increase ``stop_timeout`` or change ``stop_signal`` (to maybe ``SIGKILL`` on Linux) could resolve this issue.
* :changed:`Changed` Make sure when stop() is called on App type driver, we clean up all orphaned processes.
* :changed:`Changed` If :py:class:`App <~testplan.testing.multitest.driver.app.App>` driver times out during shutdown or leaves orphaned processes after shutdown, Testplan will now emit a warning and perform a forced cleanup instead of failing the tests.
* :changed:`Changed` Increase the number of Remote worker setup thread.
* :changed:`Changed` Fix interactive mode crashing issue when loading a namespace package. (It is still not supported to reload namespace packages.) ``SyntaxError`` will no longer be suppressed during interactive mode code reloading.
* :changed:`Changed` Fix incorrect early stop detection logic.
* :changed:`Changed` Swapped Run and Reload buttons on the interactive UI by user request.
* :changed:`Changed` Use a new JSON library ``orjson`` to improve performance when using Python 3.8 or later versions.
* :changed:`Changed` Limit the length of parameterization testcase name to 255 characters. If the name length exceeds 255 characters, index-suffixed names (e.g., ``{func_name} 1``, ``{func_name} 2``) will be used.
* :new:`New` Testplan now includes its own version in generated report.
* :changed:`Changed` ``JSONExporter`` will log a "file not found" warning in the log instead of raising an exception.
* :changed:`Changed` Fixed an issue where enabling Status icons crashed the report when a test was marked as XFAIL.
* :changed:`Changed` Update ``orjson`` dumping option to allow serializing ``numpy`` objects.
latest
Commits
- ca5dbef: Add summary page on resource monitor view. (yuxuan-ms) [1176](https://github.com/morganstanley/testplan/pull/1176)