Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

end-2-end test tracking issue #101

Open
9 tasks
b5 opened this issue Nov 2, 2022 · 1 comment
Open
9 tasks

end-2-end test tracking issue #101

b5 opened this issue Nov 2, 2022 · 1 comment

Comments

@b5
Copy link
Member

b5 commented Nov 2, 2022

Data transport e2e tests

  • single node: create a random directory, add/get roundtrip
  • single node: create a random file, add/get roundtrip
  • single node: massively nested directory add/get roundtrip
  • 2 nodes: add in one place, get from another

e2e testing CLI command user stories

Crates that need e2e coverage

Test Requirements

  • tests should execute fast. We expect any given e2e test to execute within a second
  • we'll run all e2e tests on all PRs for now
  • allow manual trigger
  • rust has an ignore test feature, use that for long-running tests, you can run them if you pass cargo test --ignored
  • run ignored tests in release mode on CI cargo test --ignored --release to execute them fast
  • e2e tests should live in a tests folder next to your source folder. See rust docs
  • prop tests are allowed to take a while, should be run on a second tier
  • we can extract concrete tests from a proptest
@glitchy
Copy link

glitchy commented Nov 11, 2022

just a thought--when i think of e2e tests i think func tests more than strict integration tests--thoughts about creating a separate func test suite at iroh root that spins everything up (compose), tests e2e functionality, and tears down?

@flub flub self-assigned this Nov 24, 2022
@dignifiedquire dignifiedquire transferred this issue from n0-computer/iroh Feb 17, 2023
@ramfox ramfox removed this from iroh Feb 21, 2023
@flub flub removed their assignment Sep 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants