Release Notes¶
Unreleased (2024-12-11)¶
- Changed Checks if a process exists by reading the /proc/<pid>/stat.
- Changed Support
RemoteDriver
in dependency graph of test environment (thedependencies
parameter). - Changed Use lazy import for Matplotlib and move cache to runpath.
- Changed Refactor the stop logic of
App
driver for faster environment shutdown. Rename parametersigint_timeout
tostop_timeout
. Add a new parameterstop_signal
for custom stop signals, its default valueNone
invokesterminate
method to stop subprocess, i.e. sendingSIGTERM
signal to subprocess on Linux. Environment will fail to stop if subprocess doesn’t terminate within the default 5-secondstop_timeout
for graceful shutdown. Increasestop_timeout
or changestop_signal
(to maybeSIGKILL
on Linux) could resolve this issue. - Changed Make sure when stop() is called on App type driver, we clean up all orphaned processes.
- Changed If
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 Increase the number of Remote worker setup thread.
- 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 Fix incorrect early stop detection logic.
- Changed Swapped Run and Reload buttons on the interactive UI by user request.
- 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. - Changed
JSONExporter
will log a “file not found” warning in the log instead of raising an exception.
24.9.2 (2024-09-12)¶
- New First official pypi release.