Skip to content

test-globs-empty

Rung assertions · quality · default info

A test glob in gantry.yaml matches no file, so an assertion on that platform cannot resolve.

An assertion resolves against the test files a platform’s globs match. If a glob matches nothing, every assertion on that platform fails to resolve and the reason is the glob, not the tests. Naming the empty glob separately points at the real cause and keeps the project from reading it as many unrelated missing tests.

Correct the glob in gantry.yaml, or add the test files it should find.

platforms:
ios: {label: iOS, tests: ["Tests/**/*.swift"]} # matches no file: test-globs-empty