When using --filter-list "testomatio:tag-name=..." --filter "testomatio:tag-name=..." or with Jest, the reporter does not find tests by tag name and always prints “No tests found”, even if tests with this tag exist in the project.
Environment:
- Reporter version: 2.3.8
- Runner: Jest
- Node.js: any recent LTS (e.g. 18.x)
- OS: Windows 10 + WSL (Ubuntu)
Example test:
const Calculator = require('../src/calculator');
describe('@S_calc Calculator', () => {
let calculator;
beforeEach(() => {
calculator = new Calculator();
});
describe('add', () => {
it('should add two positive numbers', () => {
expect(calculator.add(2, 3)).toBe(5);
});
it('should add negative numbers', () => {
expect(calculator.add(-2, -3)).toBe(-5);
});
it('should add positive and negative numbers', () => {
expect(calculator.add(5, -3)).toBe(2);
});
});
});
Command:
TESTOMATIO_URL=<url> \
TESTOMATIO=<project_token> \
TESTOMATIO_CREATE=1 \
npx @testomatio/reporter run "npx jest" \
--filter-list "testomatio:tag-name=@S_calc"
Actual result:
[TESTOMATIO] Testomatio Reporter v2.3.8
[TESTOMATIO] Pipes: Testomatio Reporter
[TESTOMATIO] ⛔ No tests found for your --filter --> tag=@S_calc
[TESTOMATIO] No tests found.
Expected result:
- Reporter should resolve tests by
tag-name=@S_calc and return them in --filter-list or --filter output.
When using
--filter-list "testomatio:tag-name=..."--filter "testomatio:tag-name=..."or with Jest, the reporter does not find tests by tag name and always prints “No tests found”, even if tests with this tag exist in the project.Environment:
Example test:
Command:
Actual result:
Expected result:
tag-name=@S_calcand return them in--filter-listor--filteroutput.