Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 18:19
· 1 commit to main since this release
c79f4cc

ParallelTestRunner v2.0.0

Diff since v1.0.3

Breaking changes

  • Test discovery, argument parsing, and test execution got split into separate functions, making it easier to customize testing without further complicating the API.
  • Removal of the keyword arguments RecordType, custom_tests, and test_filter from runtests.
# Start with autodiscovered tests
testsuite = find_tests(pwd())

# Parse arguments
args = parse_args(ARGS)

if filter_tests!(testsuite, args)
    # Remove tests that shouldn't run on Windows
    if Sys.iswindows()
        delete!(testsuite, "ext/specialfunctions")
    end
    return true
end

runtests(MyModule, args; testsuite)

Merged pull requests:

Closed issues:

  • How often does init_code actually run? (#59)
  • addworker allow for starting with different threads (#62)