Skip to content

Commit

Permalink
changed cli parser to yargs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattihew committed Oct 13, 2019
1 parent ec9744a commit 884f4b5
Show file tree
Hide file tree
Showing 8 changed files with 4,423 additions and 5,684 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@ npm install -g k6-to-junit

## Usage

the `k6-to-junit` command is created which reads input from the stdin and can output to either stdout or a file.

### Output to stdout

this allows you to pipe the xml outout to another program for further processing

```shell
k6 run script.js | k6-to-junit
```

### Output to file

this passes through the stdin to the stdout

```shell
k6 run script.js | k6-to-junit stdin --out junit.xml
k6 run script.js | k6-to-junit junit.xml
```
Loading

0 comments on commit 884f4b5

Please sign in to comment.