rtfeldman / rtfeldman/node-test-runner

Allow multiple reporters

Open
#254 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
JavaScript
Stars
140
Forks
83
Avg merge
8h 25m
Merged PRs (30d)
5

Description

I'm using elm-test on CircleCI, and it has a feature which ingests junit files, and over time produces stats about flaky tests, etc. I want to enable this. However, I also want console output, because it's simpler for devs to read in the build output.

I tried to enable both:

elm-test --report=junit --report=console

and got

The --report option must be given either 'console', 'junit', or 'json'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the CLI parses and validates repeated --report options, then run the command shown in the issue with console and junit reporters. Done means one invocation can enable both reporters while retaining the existing console, junit, and json choices.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.