Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
doehyunbaek committed Aug 20, 2024
1 parent a50383e commit 86e8527
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,13 @@ The command will start the recording. To stop the recording type any key into th

## Testing
```
npm test
npm test <category>
```
There are three categories of tests:
- `node`: These tests the basic functionality of the tracer and replay generator. These tests are basically unit tests
- `offline`: These tests run Wasm-R3 on web applications that get hosted locally to test the (almost) end to end functionality.
- `core`: These tests the core functionality of Wasm-R3. These tests are basically unit tests.
- `proxy`: These tests mainly exercise integration of core Wasm-R3 functionality in the web environments.
- `online`: These tests run on real world online web applications in order to confirm which websites are currently supported by Wasm-R3.

To test only certain categories just provide the specific categories you want to test as an argument to the test command.

The faithfulness of Wasm-R3 is tested by comparing the trace generated during record with the trace generated during replay. The results of the testcases will be generated in the corresponding folders. Interesting files are the `report.txt` which contains information why a testcase failed. Also the trace for the record and the replay phase gets saved in `.r3` files.

## Resources
Expand Down

0 comments on commit 86e8527

Please sign in to comment.