Skip to content

Commit

Permalink
Added instructions to run the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Helios-vmg committed Nov 16, 2023
1 parent 8eaca93 commit 477e0ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ Integration tests run significantly faster than E2E tests. If a full range of fu
We noticed these missing functionalities in integration tests while developing fuzzing detectors for our vulnerability analyzer, Scout. During this work, we identified 2 functions with implementation differences, default_account() and set_contract_storage(), and we also observed 3 functions which were unimplemented for integration tests. This initial identification was observed in our grant application form for the grant #1875.

Ideally, each test in E2E should have its counterpart in Integration. This implies that the set of tests per function is unique and should be replicated in both environments. This idea will be reviewed in the next milestone, as achieving such a level of thoroughness is not planned for this instance.

To run a test, navigate to the corresponding directory and run `cargo test` for the off-chain test, or `cargo test --features e2e-tests` for the on-chain, E2E test. You'll need to already have Rust set up on your system.

0 comments on commit 477e0ea

Please sign in to comment.