3 releases

0.1.2 Apr 17, 2024
0.1.1 Jan 24, 2024
0.1.0 Jan 22, 2024

#91 in Testing

Download history 141/week @ 2024-01-26 93/week @ 2024-02-02 30/week @ 2024-02-09 181/week @ 2024-02-16 129/week @ 2024-02-23 34/week @ 2024-03-01 259/week @ 2024-03-08 95/week @ 2024-03-15 114/week @ 2024-03-22 733/week @ 2024-03-29 288/week @ 2024-04-05 401/week @ 2024-04-12 108/week @ 2024-04-19 133/week @ 2024-04-26 256/week @ 2024-05-03 249/week @ 2024-05-10

785 downloads per month

MIT/Apache

84KB

group-runner

Group Rust executable output in GitHub logs

group-runner is useful, e.g., when you have lots of integration tests and seeing their output concatenated can be overwhelming.

Example output

  1. In your GitHub workflow, install group-runner:

    steps:
      - name: Install group-runner
        run: cargo install group-runner
    
  2. Pass the following option to cargo run, cargo test, or cargo bench:

    --config "target.'cfg(all())'.runner = 'group-runner'"
    

    Example:

    steps:
      - name: Test
        run: cargo test --config "target.'cfg(all())'.runner = 'group-runner'"
    

    See The Cargo Book for more information.

Notes

  • To avoid mixing build output with test output, we recommend building tests in a separate step prior to running them. Example:

    steps:
      - name: Build
        run: cargo test --no-run
      - name: Test
        run: cargo test --config "target.'cfg(all())'.runner = 'group-runner'"
    

No runtime deps