Changelog¶
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.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 docker-shell-label)
fix report server report
improve docs for
skip_test()
andskip_step()
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) on Linux and Windows
- add support for ddt
- add a full-stack Modbus Types 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
htf-1.2.16:¶
- fix payload length calculation for HART command 3 and 61
- fix object clean up order in HartInterface and HartApplicationLayer
htf-1.2.15:¶
- build manylinux2014 wheels for Python 3.x and manylinux2010 wheels for Python 2.7
htf-1.2.14:¶
OserPrompt
now allows NaN for float values
htf-1.2.13:¶
- fix
hlm
usage
htf-1.2.12:¶
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.2.8
fix HART
Time
encoding and decodingadd HART response code
error_command_not_implemented
improve HART on Linux
improve docs for
skip_test()
andskip_step()
htf-1.2.11:¶
- update to hlm-0.21.0
- update to oser-1.2.6
htf-1.2.10:¶
- add strict dependency for
cryptography
that dropped support for 32-bit releases on Linux- fix an exception raised in HMP powersupplies
htf-1.2.9:¶
- optimize memory usage
htf-1.2.8:¶
- fix
is_error()
inHartResponse
- fix numbering in nested test steps
Time
supportsdatetime
as a parameter- fix docs
htf-1.2.7:¶
- reason for skipped steps do appear in test report at the step
- fix typo in HTML Test Report
htf-1.2.6:¶
htf.Settings
is an iterable and supportshtf.Settings.items()
- all HART responses subclass from
HartResponse
and thus support shortened answers in case of error response codes- HART data types
Date
andTime
check type of value
htf-1.2.5:¶
- fix catchbreak option
- raise an exception if supplied metadata is not copyable
- raise an exception if
htf.TestCase.__init__()
orhtf.TestCase.setUp()
is not called- update dependency to oser-1.2.4
htf-1.2.4:¶
- support new HMP powersupplies with new firmware that changed IDN strings
- tag filtering is printed more explicitly
meetsDOORSRequirements()
decorator can be applied multiple times- use HART time data type in all appropriate commands
- clear HART input buffer before reading
- update to oser-1.2.4
- fix typos in docs
htf-1.2.3:¶
- fix tagging to work with classes combined with cythonized decorators
htf-1.2.2:¶
- fix tagging to work with classes
- fix $ htf docs
- fix
htf.skipIf()
to support bound methods- update to hlm-0.18.0 to support remote activation
- update to oser-1.2.2
- fix typos
htf-1.2.1:¶
- add support for Python 3.7
- fix some internal bugs
- improve internal build process with Docker
- update to oser-1.2.0
- update to hlm-0.17.0
- update dependencies
- improve internal build process with Docker
htf-1.2.0:¶
- completely revamped HTML Test Report
- file attachments (see File Attachments,
htf.TestCase.attach_file()
andhtf.TestCase.attachFile()
)- url attachments (see URL Attachments,
htf.TestCase.attach_url()
andhtf.TestCase.attachUrl()
)- test reports can be signed now (see Signed Reports)
- add support for tagging tests and selecting tests using tags (see Tagging, Tagging and Tagging)
- globbing can be used to specify tests (see Specifying tests and Specifying tests)
- add extended support for metadata (see Metadata and Metadata)
- add support for a test dry run to check the test selection or to create a test specification (see Dry run)
- tests can be skipped while running (see
htf.TestCase.skip_test()
andhtf.TestCase.skipTest()
)- tests steps can be skipped (see
htf.TestCase.skip_step()
andhtf.TestCase.skipStep()
)- JIRA integration (see JIRA (Atlassian))
- add retry functions (see Retry Functions)
- add support for the Rohde + Schwarz HMP Series programmable powersupplies
- add documentation for assert methods in
htf.TestCase
- improve contents of JSON test report
- improve @timed decorator message (see
htf.timed()
)- end support for Python 3.5 because there are no binary releases anymore
- prepared support for Python 3.7 (depdencies are missing currently)
- update to hlm-0.15.0 to support usb license dongles
- update to oser-1.1.6 to support usb license dongles
- wheels for Linux are delivered as manylinux-wheels and can be run on most linux distributions
- fix a bug when selecting a single decorated test
- add
hst
(HILSTER Support Tool) as a dependency- rework Bash-completion and simplify enabling
- add support for Terminal Colors
htf-1.1.16:¶
- fix payload length calculation for HART command 3 and 61
- fix object clean up order in HartInterface and HartApplicationLayer
htf-1.1.15:¶
- build manylinux2014 wheels for Python 3.x and manylinux2010 wheels for Python 2.7
htf-1.1.14:¶
OserPrompt
now allows NaN for float values
htf-1.1.13:¶
- fix
hlm
usage
htf-1.1.12:¶
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.1.12
fix HART
Time
encoding and decodingadd HART response code
error_command_not_implemented
improve HART on Linux
htf-1.1.11:¶
- update to hlm-0.21.0
- update to oser-1.1.11
htf-1.1.10:¶
- add strict dependency for
cryptography
that dropped support for 32-bit releases on Linux
htf-1.1.9:¶
- optimize memory usage
htf-1.1.8:¶
- fix
is_error()
inHartResponse
- fix numbering in nested test steps
Time
supportsdatetime
as a parameter- fix docs
htf-1.1.7:¶
htf.Settings
is an iterable and supportshtf.Settings.items()
- all HART responses subclass from
HartResponse
and thus support shortened answers in case of error response codes- HART data types
Date
andTime
check type of value
htf-1.1.6:¶
meetsDOORSRequirements()
decorator can be applied multiple times- clear HART input buffer before reading
htf-1.1.5:¶
- use HART time data type in all appropriate commands
htf-1.1.4:¶
- update to hlm-0.18.0 to support remote activation
- update to oser-1.1.8
htf-1.1.3:¶
- update to hlm-0.15.0
- update to oser-1.1.6
htf-1.1.2:¶
- escape not allowed characters in xml report
htf-1.1.1:¶
- update to hlm-0.12.0 to fix the bug that some usb-sticks changed the host id
- update to oser-1.1.5 to fix the bug that some usb-sticks changed the host id
- wheels for Linux are delivered as manylinux-wheels and can be run on must linux distributions
- fix some typing errors
htf-1.1.0:¶
- added the HART — The HART Testing Framework feature, documentation and examples that allows
- automatable tests for HART slaves
- simulate HART slaves and HART masters
- add device specific commands
- develop and debug a HART slave interactively using the HART-Shell
- monitor HART messages using the HART-Monitor
- send corrupted frames and
- run HART fuzzing communication tests
- added support for HILSTER IO hardware that lets you easily access input/output hardware from within your tests
- added support for Arduino that lets you easily access Arduino hardware
- added support for Python 3.6
- added the
htf.communication.SlipMixin
- added the interactive
htf.util.OserPrompt
htf-1.0.4:¶
- fixed failfast option for
htf
andhtf.main
- fixed a bug in DAQmx that it can be run on machines using Windows 10 64-bit
htf-1.0.3:¶
- fixed bugs with DAQmx and Python 3.5.
htf-1.0.2:¶
- tables in docs in
htf.HTMLTestReport
are not hidden when docs are hidden.
htf-1.0.1:¶
MetaData
and Keywords may be fed withbytes
- fixed a possible
UnicodeDecodeError
in Python 2.7 forAssertionError
with unicode messages- updated to
hlm~=0.10.3
- updated to
oser~=1.0.1
- fixes in docs
htf-1.0.0:¶
- added
htf.main
to run test from python scripts, , see htf.main() — Testscript utility- added
htf
command-line-utility, see htf — Command line utility- added bash-completion for
htf
, see Bash-completion- added
htf.communication.SSHClient
- added
htf.communication.SFTPClient
- added Python 3.5 support
- support for Python 2.7 and Python 3.5 using the same code base
- included documentation in the wheel (run
htf docs
from commandline)- updated hlm to use the new license version (enabling features, banners, etc.)
- simplified import strings
- improved continuous integration for htf
- implemented continuous delivery for htf updates
- improved Jenkins use cases, see Jenkins
- added pure python wrappers where needed
htf.DOORSTestReport
can link to different modules depending on the link’s name- better pep8 compatibility
- license information are included in generated test reports
- added
htf.__version_info__
(tuple) to compare the version against a required one- using hilster_theme-0.9 in docs
oser-1.0.0
is installed as a dependency- added close methods to all DAQmx abstractors
htf-0.14.5:¶
- added
htf.arduino.ArduinoNanoAnalogOutput
to generate pwm-based analog output voltages
htf-0.14.4:¶
- added a new parameter maximumPeriod to
periodic()
to be able to accept longer periods sometimes- added a new parameter maximumPeriod to
htf.TestCase.runPeriodic()
to be able to accept longer periods sometimes- added
stacktrace()
decorator to debug call stacks- fixed exception traceback raised within a
htf.TestCase.step()
context block- added
htf.TestCase.expectStep()
to test if two values are the same and to create a test step within one line- added
htf.TestCase.afterTest()
that is called after a test and beforehtf.TestCase.tearDown()
is called.- fixed a bug that foreground and background exceptions were counted twice. PyUnit counts errors raised in test and tearDown. Using
htf.TestCase.afterTest()
helps here.- you can disable output capture in
htf.TestCase
by settings TestCase._captureOutput toFalse
in your specialized testcasehtf.TestCase
prints warnings if background threads are running inhtf.TestCase.setUp()
to support debugginghtf.TestCase.log()
can be used to log to stdout and to log to a result if run in ahtf.TestCase.step()
contexthtf.communication.PluggableNotifier
can be stopped nowhtf.Thread
extends threading.Thread to show the stack trace from where it was started when it is printedhtf.DOORSTestReport
checks for non existing link targets and prints errorshtf.DOORSTestReport
uses the rightmost digits so requirements that include other digits in the postfix are supported, toohtf.DOORSTestReport
has a parameter to specify the links modulehtf.DOORSTestReport
renders metadata
htf-0.11.0:¶
- fixed a bug in
htf.TestRunner
with workingDirectory parameter- fixed doc-string in
htf.TestRunner
- added a parameter to select whether command line arguments are parsed or not in
htf.TestRunner
- added
htf.markers.MetaData
to add metadata to testcases- Metadata show up in
htf.HTMLTestReport
htf.DOORSTestReport
renders metadata and steps- added a
Communication
chapter- added
meetsDOORSRequirements()
decoratorhtf.TestRunner
supportsmetadata
parameter to put metadata for the test run into the test report- added docs for
htf.arduino.ArduinoLeonardoDigitalInput
htf-0.10.0:¶
htf.HTMLTestReport
has buttons to select STDOUT and STDERR for later analysis- new decorator
timed()
to ensure a test or method ends within a given time limit- new decorator
raises()
to catch different exceptions so a test does not fail if a specific exception is raised- white logo in documentation
- documentations of
htf.daqmx.core
andhtf.daqmx.Task
are linked to homepage- added a DOORS test report
htf.DOORSTestReport
htf-0.9.0:¶
- added
htf.daqmx.AnalogVoltageInputPort
- added
htf.daqmx.AnalogVoltageOutputPort
- updated docs
htf-0.8.0:¶
- bug fixes
htf-0.7.0:¶
- updated
htf.TestCase.expect()
method
htf-0.6.0:¶
- implemented
htf.TestCase.expect()
method- added
htf.daqmx.FrequencyInputInaccurate
- added
htf.daqmx.DigitalInputPort
- added
htf.daqmx.DigitalOutputPort
- total test duration is shown in
htf.HTMLTestReport
- update test steps in
htf.HTMLTestReport
- special characters are escaped in
htf.HTMLTestReport
andhtf.JUnitXMLTestReport
htf.TestRunner
show statistics while running tests
htf-0.5.0:¶
- stderr and stdout are captured in
htf.HTMLTestReport
htf.HTMLTestReport
uses stdout and stderr with a popup- test steps can be used with a context block and are automatically put into the documentation for a test
- test reports can be customized more easily
htf.TestRunner
supports more test reports in different format
htf-0.1.0 .. htf-0.4.0:¶
- implementation of all contents