Skip to content

Incorrectly named tests cause some test files to be ignored #534

@abpolym

Description

@abpolym

When I run find test -type f ! -name '*_tests.jl' I see the following:

$ find test/ -type f ! -name '*_tests.jl'
test/runtests.jl
test/testutilities.jl
test/rules/softdot/test_marginals.jl

All these files are files that will NOT be tested by ReRuntest.jl as "test-items must be in files named with the suffix _test.jl or _tests.jl".

That is OK for files like test/runtests.jl (main test script file) or test/testutilities.jl (helper functions).
But for test files like test/rules/softdot/test_marginals.jl this means they are not included in the test runs when running make test!

A subsequent ag test_marginals.jl test/ confirms that the test_marginals.jl file is not included as part of any other @testitem.

Easy fix: Make sure the test files end in the correct suffix.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions