karma-runner / karma-runner/karma

Configure progress reporter to report after X number of executed specs

Open
#2,782 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

It would be nice to be able to configure the progress reporter to only report after X number of executed specs instead of after every one.

This would be especially useful for projects that have large number of unit tests that run in an environment that doesn't support escaping sequences. For example, I work on a code base that currently has over 8,000 unit tests which writes out over 100 lines of dots.

I'd imagine a new entry in karma config

```
// configures progress reporter to only report
// after the execution of 500 specs
reportThreshold: 500
```

Contributor guide

Open the contributing guide

Research direction

Start by locating the progress reporter and the Karma configuration handling. Trace how executed specs currently trigger progress output, then verify that a configurable threshold controls reporting for large test suites without escaping-sequence support.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.