Changelog
htf-4.2.4
add support for Python 3.14
htf-4.2.3
automatically enable colored terminal output in GitLab CI/CD
add an option to force colored terminal output
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.implementsand theImplements:keyword for Behavior Driven DevelopmentReplace some internal dependencies with Rust-based ones
htfchecks for available updates. See documentation for more information.add
htf.get_fixtureandhtf.get_fixture_syncto access or instantiate fixtures outside tests
htf.fixtures.stepcan be used as adictnow 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
featureorbugfix
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.sleepfixture
htf.retryis a coroutine now andhtf.retry_synccan 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
logoparameter from HTML test reportthe parameter names for
htf.periodicchanged
htf.TestCasenow expects set up and tear down methods in snake case:set_up(),set_up_class,tear_downandtear_down_classto be compatible to PEP 8all camel case assertion methods were removed from
htf.TestCaseto be compatible to PEP 8
failfast: booland--failfasthave been renamed tofail_fast: booland--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
dictinstead ofNoneif 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-reporttest result is
errorifhtf.SkipStepis 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-3adds 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 htfonly installs the core ofhtfusepip 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
htfis split into multiple wheels (some imports changed)
htf -sto minimize report size is nowhtf -M
htf-3usesoser-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_ifwhen 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.skiporhtf.skip_iffix 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.delayfixture
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_equalfix 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.0add -o option to
report-toolto open generated HTML reportsfix date in HTML Test Report
improve format of JUnit-XML-Testreport
fix report merge errors with
report-tooladd 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.stopmethod
htf.fixtures.stepsupports*argsand**kwargsadd
htf.fixtures.step.skipto skip stepsfix
htf.fixtures.jirafixturefix 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
verbosityparameter and--verbosityhave been removed.Catchbreak: The
catchbreakparameter and--catchbreakhave been removed.catchbreakis enabled by default.TestCase:
_runThreadsEnablewas 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.0fix 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
htfconsole 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
OserPromptnow allows NaN for float values
htf-1.3.3
fix
hlmusage
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.1update to
oser~=1.3.3fix HART
Timeencoding and decodingadd HART response code
error_command_not_implementedimprove 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