July 29, 2024
- added current directory to sys.path during try_import to avoid any relative import failures in test files #118
May 28, 2024
- Removed setuptools as a dependency #115
May 20, 2024
- Fixed a couple of bugs related to SubTests #111
March 13, 2024
- Changed build system to hatchling; added a test workflow #106
- Fixed handling of --skip_dirs arg #105
December 28, 2023
- Updated to handle a change in skipped test behavior with Python 3.12.1 #100
November 13, 2023
- Fixed a bug with the disallow_skipped option #96
October 27, 2023
- Updated testflo to work with new version (>=6.0) of coverage #91
- Fixed a bug with the benchmark option related to a failed subTest #93
April 4, 2023
- fixed bug in benchmark timestamp #84
February 15, 2023
- added support for subtests #81
- replaced outdated long_description in setup.py with the contents of README.md #80
February 8, 2023
- added the following new options #76 --show_deprecations: Display a list of all deprecation warnings encountered in testing. --deprecations_report: Generate a deprecations report with the given file name. --disallow_deprecations: Raise deprecation warnings as Exceptions.
July 25, 2022
- added --durations option and fixed some config file issues #71
- added --durations option that prints the n longest running tests (similar to pytest)
- fixed the way the .testflo config file is processed so it should support setting any, or at least most of the command line options
- added the --skip_dirs command line option (skip_dirs could be defined in the config file but it wasn't a valid command line option)
February 14, 2022
- added env var to tell other code when it's running under testflo #64
October 13, 2021
- setting N_PROCS=1 will now run under MPI in OpenMDAO #60
- fixed version regex (old one couldn't handle *-dev versions) #59
October 13, 2021
- fix for bad testcase comm #55
April 13, 2021
- fixes places in the code that weren't properly handling Windows file paths that included a colon.
April 13, 2021
- add an argument to specify that any skipped tests should cause testflo to return a non-zero exit code
April 13, 2021
- made testflo work better with tests that aren't part of an installed package
Feb 3, 2021
- added a check for non-package test files with duplicate local names
Jun 10, 2020
- fix for discovery issue
- issue happened when a test function has a decorator that doesn't rename the wrapped function to match the parent TestCase attribute
- added
--excludes
option to add glob patterns to exclude test functions - fixed dryrun output to include only test specs
- This change now allows you to pipe the output from
--dryrun
into a file you can later run using-t
, making it easier to assemble custom lists of tests to run.
- This change now allows you to pipe the output from
- declare support for more Python versions
Feb 28, 2020
- fix for bug in isolated tests
Feb 28, 2020
- NOTE: this version requires python 3.5 or higher
- fix for a change to multiprocessing spawn behavior on OSX for python 3.8
Feb 13, 2020
- add option to show skipped tests (even if not verbose)
Jan 6, 2020
- use setuptools
- filter out expected fails from failtests.in
- added msg when there are out-of-sync collective MPI calls
- require coverage <5.0
Dec 6, 2018
- bug fix
Dec 3, 2018
- bug fix
Nov 17, 2018
- added support for ISOLATED attribute
Aug 17, 2018
- output from
--pre_announce
now looks better, with the result (.
,S
, orF
) showing on the same line as the "about to run ..." instead of on the following line - comments are now allowed inside of a test list file
- added a
--full_path
option so that full testspec paths will be displayed. Having the full path make it easier to copy and paste the testspec to run testflo on just that single test. - updated the long_description in setup.py for pypi.
September 27, 2016
- supports setUpModule/tearDownModule
- supports setUpClass/tearDownClass
- supports expected failures
- supports unittest.skip class decorator
- added
--compact
option to print only single character test results without showing error or skip messages