Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spurious error message when using named tests #190

Open
jimk-bdrc opened this issue Mar 12, 2024 · 0 comments
Open

Spurious error message when using named tests #190

jimk-bdrc opened this issue Mar 12, 2024 · 0 comments
Assignees

Comments

@jimk-bdrc
Copy link
Collaborator

Describe the bug
audit-tool prints an error message when the list of named tests contains a blank entry

To Reproduce

❯ audit-tool -T NoFoldersInImageGroups:NoFilesInFolder::ImageFileNameFormat  /bladd/bla/someplace

prints

WARN  Requested test  not found in test library
ERROR Failed    /bladd/bla/someplace            Image file name format test
ERROR Failed    /bladd/bla/someplace            No Files in Root Folder
ERROR Failed    /bladd/bla/someplace            No folders allowed in Image Group folders

Expected behavior
There was no badly named test in the command line. When the command line's substring :: was changed to : the message was not printed:

❯ audit-tool -T NoFoldersInImageGroups:NoFilesInFolder:ImageFileNameFormat  /bladd/bla/someplace
ERROR Failed    /bladd/bla/someplace            Image file name format test
ERROR Failed    /bladd/bla/someplace            No Files in Root Folder
ERROR Failed    /bladd/bla/someplace            No folders allowed in Image Group folders
@jimk-bdrc jimk-bdrc self-assigned this Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant