karma-runner / karma-runner/karma

Run test by file path and line number

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

Description

As a Ruby developer, I like to run tests like this :

```
rspec --color spec/services/orders/mark_error_service_spec.rb:19
```

As you can see, I specify the filepath and the line number. It's very useful for integration with text editors like vim. I know it's possible to filter by name but it's not very convenient.

Is it possible to run a test by specifying the file path and the like number?

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Start by reproducing the requested file-and-line invocation from the issue and tracing Karma's existing command-line test filtering; done means a documented and tested way to select the test at a given path and line.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.