Changelog
htf-4.2.2
add support for Xentara
htf-4.2.1
add support for Python 3.13
improve automatic update check
htf-4.2.0
add support for Matrix Requirements ALM/QMS
Behavior Driven Development now supports repeated keywords to implement complex tests with BDD
add
htf.implements
and theImplements:
keyword for Behavior Driven DevelopmentReplace some internal dependencies with Rust-based ones
htf
checks for available updates. See documentation for more information.add
htf.get_fixture
andhtf.get_fixture_sync
to access or instantiate fixtures outside tests
htf.fixtures.step
can be used as adict
now to report actual results of a step, for examplefix an exception-related bug in generator fixtures leading to test reports with draft status
improve rendering of metadata in HTML test report
htf-4.1.3
htf-community now supports recent and supported Python versions with status
feature
orbugfix
htf-4.1.2
fix a bug with steps and Behavior Driven Development tests in interactive tests
htf-4.1.1
fix unlocking of explicit features
htf-4.1.0
htf is certified for ISO/TR 80002-2: Medical device software - Part 2: Validation of software for medical device quality systems. See Certifications documentation for more information.
Note
ISO/TR 80002-2 applies to any software used in device design, testing, component acceptance, manufacturing, labelling, packaging, distribution and complaint handling or to automate any other aspect of a medical device quality system as described in ISO 13485.
ISO/TR 80002-2 applies to
software used in the quality management system,
software used in production and service provision, and
software used for the monitoring and measurement of requirements.
It does not apply to
software used as a component, part or accessory of a medical device, or
software that is itself a medical device.
htf-4.0.4
improve handling of module names for discovered files
allow relative imports in test files
fix a rare edge case during test discovery where tests were collected twice
htf-4.0.3
use
docutils==0.20.1
htf-4.0.2
add support for Python 3.12
htf-4.0.1
add support for LabJack DAQ devices in
htf-io==4.1.0
htf-4.0.0
add complete support for asyncio for tests, fixtures, steps, etc.
add type hints
remove all legacy code
improve assertion formatting
improve exception formatting
add options to not open the browser automatically for Interactive Testing.
add async
htf.fixtures.sleep
fixture
htf.retry
is a coroutine now andhtf.retry_sync
can be used instead to be backward compatibleupdate all htf-module versions
update dependencies
Warning
htf-4 is not fully backwards compatible to htf-3!
drop support for Python 3.7 and Python 3.8 (Raspberry Pi OS uses Python 3.9 now so this is not needed anymore)
PEP 8: all names are PEP-8-ified and camel-case aliases have been removed
some decorators now only return coroutines (but if they are only used as documented you will not have to change anything)
remote
logo
parameter from HTML test reportthe parameter names for
htf.periodic
changed
htf.TestCase
now expects set up and tear down methods in snake case:set_up()
,set_up_class
,tear_down
andtear_down_class
to be compatible to PEP 8all camel case assertion methods were removed from
htf.TestCase
to be compatible to PEP 8
failfast: bool
and--failfast
have been renamed tofail_fast: bool
and--fail-fast
htf-3.0.6
Warning
htf-3.0 reached the end of life. Please upgrade to htf-4.0 which can be used with little changes.
update dependencies to fix installation problems
htf-3.0.5
add support for Python 3.11
add @metadata decorator
htf-3.0.4
set test result before tearing down fixtures
htf-3.0.3
fix exception handling with incorrectly formatted docstrings in HTML test report
fix types in docstrings
htf-3.0.2
improve exception handling in generator fixtures
htf-3.0.1
add skip reasons to HTML Test Report Overview chart
parameters is initialized with an empty
dict
instead ofNone
if no parameters are supplieddata driven testing generators are reset and thus can be run multiple times
add start time, duration, etc. to draft reports
open reports with absolute filenames to support Microsoft’s browsers Edge and Internet Explorer when using
htf.main(..., open_reports=True)
orhtf --open-report
test result is
error
ifhtf.SkipStep
is raised outside a test step
htf-3.0.0
Warning
htf-3 drops support for Python 2.7 and 32 bit software!
This is why:
We offered Python 2.7 support for 2 years after Python 2.7’s end of life on 2020-01-01.
No recent computer has a 32 bit processor anymore.
We will support the newest and commonly used versions of Python 3.x.
htf-3
adds support for Behavior Driven Development including tagging and requirements coverageadd support for parameters to supply run-time parameters from command-line
add support for overwriting settings from command-line to change settings at run-time
update look and feel of QABench
update and modernize HTML Test Report
installation has changed and
pip install -i https://pypi.hilster.io htf
only installs the core ofhtf
usepip install -i https://pypi.hilster.io htf[full]
for the behavior of older versions and get more information in the installation instructions and installation options
htf
is split into multiple wheels (some imports changed)
htf -s
to minimize report size is nowhtf -M
htf-3
usesoser-3
(needs a few changes - see oser’s changelog)add a configurable timeout to power supplies
add support for
pip-21
htf-2.0.18
Warning
htf-2.0 reached the end of life on January 1st, 2022. Please upgrade to htf-3.0 which can be used with little changes.
update look and feel of QABench
update and modernize HTML Test Report
make tags generated by data driven tests usable
fix
htf.skip_if
when using callable conditions defined in classes
htf-2.0.17
use
hlm-2.0.1
htf-2.0.16
Modbus TCP transaction identifier can overflow now
add an exception if Modbus TCP receives an unexpected response
convert all test run metadata’s values to strings
htf-2.0.15
fixtures are not instantiated if a test is skipped using
htf.skip
orhtf.skip_if
fix generation of test steps in
htf.DOORSTestReport
htf-2.0.14
force installation of
docutils==0.16
htf-2.0.13
fix tear down order of dependant fixtures
add support for ethernet, general output as well as storing and recalling instrument states for the Rohde + Schwarz HMP Series programmable power supplies
htf-2.0.12
fix HTML report loading for empty mimetypes in attachments and empty metadata
htf-2.0.11
use
docutils==0.16
htf-2.0.10
fix evaluation crash when exceptions contained private use unicode characters
fix error sometimes thrown in
htf.fixtures.delay
fixture
htf-2.0.9
use
hlm-2.0
htf-2.0.8
fix usage of tags in combination with fixture tags
fix fixture cleanup
improve interaction user interface and fix a bug that caused it to freeze
htf-2.0.7
reduce HTML report size
improve stability and user experience of interaction user interface
improve stability of test discovery
fix disappearing steps in HTML report
fix tags inheritance when using classes
fix Modbus client’s query method thread-safeness
fix message in
htf.assertions.assert_list_equal
fix rarely occurring escaping error in JUnit XML report
update to
pyserial==3.5
htf-2.0.6
use Dashboard report server url as is to support
Dashboard-1.0
add -o option to
report-tool
to open generated HTML reportsfix date in HTML Test Report
improve format of JUnit-XML-Testreport
fix report merge errors with
report-tool
add support for Python 3.9
update dependencies
htf-2.0.5
fix docstring rendering in HTML Test Report’s print view
htf-2.0.4
fix threads fixture’s
htf.fixtures.threads.stop
method
htf.fixtures.step
supports*args
and**kwargs
add
htf.fixtures.step.skip
to skip stepsfix
htf.fixtures.jira
fixturefix printed list of collected fixtures
fix some bugs on Python 2.7
htf-2.0.3
fix shuffle
htf-2.0.2
add @requirements decorator
fix total test run time in output to correct display days
update interfacing with the Dashboard
htf-2.0.1
fix crash in Report Tool when converting from XML source
htf-2.0.0
HTML Test Report is interactive now and is printable
Completely renewed the internal test runner
Draft Reports in htf and htf.main()
Stoppable Threads
Tests can be shuffled in htf and htf.main()
Test Steps can be hierarchic
Reduce wheel size
Warning
htf-2 is not fully backwards compatible to htf-1!
PEP 8: all names are PEP-8-ified but have aliases for backwards compatibility. Some parameter names changed and you will have to change them yourself.
Verbosity: The
verbosity
parameter and--verbosity
have been removed.Catchbreak: The
catchbreak
parameter and--catchbreak
have been removed.catchbreak
is enabled by default.TestCase:
_runThreadsEnable
was removed. Use the threads-fixture.
htf-1.3.14
Warning
htf-1.3 reached the end of life on August 15th, 2021. Please upgrade to htf-2.0 which can be used with little changes.
use
docutils==0.16
htf-1.3.13
remove docs from wheels
htf-1.3.12
use
hlm-2.0
fix Modbus client’s query method thread-safeness
htf-1.3.11
add support for Python 3.9
fix tags inheritance when using classes
fix Modbus client’s query method thread-safeness
fix rarely occurring escaping error in JUnit XML report
update to
pyserial==3.5
htf-1.3.10
use Dashboard report server url as is to support
Dashboard-1.0
htf-1.3.9
fix HTTP status code for new Dashboard API
htf-1.3.8
fix
htf
console entry point to enable networking in Linux
htf-1.3.7
fix payload length calculation for HART command 3 and 61
fix object clean up order in HartInterface and HartApplicationLayer
fix potential element ordering problem in CSVFileIterator
htf-1.3.6
build manylinux2014 wheels for Python 3.x and manylinux2010 wheels for Python 2.7
htf-1.3.5
Serial Modbus clients and servers now accept additional serial parameters
htf-1.3.4
OserPrompt
now allows NaN for float values
htf-1.3.3
fix
hlm
usage
htf-1.3.2
Warning
Due to some bugfixes in hlm the host id might change. We’re sorry. Please renew your license.
add support for Python 3.8 (htf is shipped for Python 2.7, 3.6, 3.7 and 3.8 for Windows and Linux for 32 and 64 bit machines)
update to
hlm-1.1
update to
oser~=1.3.3
fix HART
Time
encoding and decodingadd HART response code
error_command_not_implemented
improve HART on Linux
fix Modbus client debug
add interactive mode for htf in Docker (see Interactive Mode)
fix report server report and report upload
htf-1.3.1
update to hlm-1.0.4
update to oser-1.3.1
htf-1.3.0
htf runs in Docker (see Docker Integration) on Linux and Windows
add support for Data Driven Testing
add a full-stack Modbus — The Modbus Testing Framework implementation
add support for the Report Server (see htf.main() — Testscript utility and htf — Command line utility)
completely revamped Settings and add support for settings with YAML and for default values
add a YAML test report (see htf.main() — Testscript utility and htf — Command line utility)
add an option to keep captured stdout and stderr only in case of a failed test (see htf.main() — Testscript utility and htf — Command line utility)
improve console output for htf.main() — Testscript utility and htf — Command line utility
nonexistent folders for test reports are created automatically