Skip to content

Commit

Permalink
Add an example for running a singular test invocation:
Browse files Browse the repository at this point in the history
Concerning the change at tremor-rs/tremor-runtime#1283

Signed-off-by: Mordecai Malignatus <mordecai@malignat.us>
  • Loading branch information
MordecaiMalignatus committed Oct 26, 2021
1 parent 2a093ac commit bdaea85
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions community/development/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,18 @@ cargo test --all

## Running Integration Tests

Running all integration tests:

```bash
cargo run -p tremor-cli -- test all tremor-cli/tests
```

You can also run a singular test or benchmark by referring to the folder:

```bash
cargo run -p tremor-cli -- test bench ./tremor-cli/tests/bench/specific-benchmark
```

## EQC

EQC or 'QuickCheck' is a specification-based testing tool for Erlang supporting a test methodology called property-based testing. Programs are tested by writing properties - preconditions, postconditions and invariants. QuickCheck uses random generation to create constructive ( should pass ) and destructive ( should fail ) tests given the specified properties. This allows suitably defined specifications to cover a far greater set of use cases than would ordinarily be possible to write manually.
Expand Down

0 comments on commit bdaea85

Please sign in to comment.