Exploring AltWalker 0.4.0: What’s New? #52
Robert-96
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In this article, we'll dive into the latest features and enhancements that have been introduced in AltWalker 0.4.0, including support for Python 3.12, the introduction of new fixtures, and the highly anticipated LiveViewer release.
Support for Python 3.12
The
load_module()
method has been deprecated and is scheduled for removal in Python 3.12. AltWalker has transitioned to usingexec_module
instead. Additionally, theverify
,walk
, andonline
commands now include the--import-mode
option, offering the following values:importlib
: This mode employsimportlib
to import test modules.prepend
: The directory containing each module is prepended to the end ofsys.path
if not already there.append
: The directory containing each module is appended to the end ofsys.path
if not already there.Introducing New Fixtures
One of the major highlights in AltWalker 0.4.0 is the introduction on two new fixtures:
beforeStep
: Will be executed before every step.afterStep
: Will be executed after every step.You can define these fixtures in your test code like this:
These fixtures offer you the flexibility to customize behavior before and after individual steps, enhancing the control and functionality of your test suite.
Check out the documentation for more details.
LiveViewer Initial Release
AltWalker's LiveViewer is a web application for visualizing your test runs in real-time. It brings a new dimension to your testing process, allowing you to monitor your test executions with ease.
Visit the LiveViewer app at https://altwalker.github.io/live-viewer/.
If you're eager to dive into the initial release of AltWalker’s LiveViewer, you can find the repository here: https://www.github.com/altwaler/live-viewer/.
Beta Was this translation helpful? Give feedback.
All reactions