karma-runner / karma-runner/karma

[Question] Is there a way to run specific set of tests?

Open
#3,282 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Is there a way to run a specific set of test from the public api?

I am running karma programatically so for running a specific test of tests I am creating a console and doing karma run -- --grep="my set of tests"

Is it possible to do the same from the public api like karma.run({tests: "my set of tests"}); ?

also, let's say I have specific test in a component? how do I run only that one? if I use the name and the name is not unique it wont work. I am only able to run a set of test only by the name of the component

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.