【发布时间】:2020-06-16 21:53:03
【问题描述】:
我有以下测试:
test('111', async t => {
await t.expect(true).ok()
});
test('222', async t => {
await t.expect(true).ok()
});
我想使用-T , --test-grep 模式运行这两个测试,但是在 powershell 中执行时出现错误:
npx testcafe -T "111|222"
'222' is not recognized as an internal or external command, operable program or batch file.
为什么会这样?我确定我使用的是正确的正则表达式模式。 另外我不想使用测试metadata 过滤。
【问题讨论】:
标签: testing automation automated-tests e2e-testing testcafe