postech-dao / simperby

The ultimate BFT blockchain engine for decentralized organizations with powerful trustless interoperability.
MIT License
70 stars 38 forks source link

Configuring the dependency graph for e2e test suits optimization #536

Open sigridjineth opened 8 months ago

sigridjineth commented 8 months ago

Note

sigridjineth commented 8 months ago

basic module research

considering to find some third party dependencies in that there's no native module to track the graph in Rust natively

https://sr.ht/~jplatte/cargo-depgraph/ https://github.com/pacak/hackerman/ https://github.com/regexident/cargo-modules

sigridjineth commented 8 months ago

process

  1. dependency visualization
  2. map dependencies to tests
  3. detech changes in pull request
  4. determine relevant tests & run only them
  5. fallback strategy (e.g. run full suite of tests)
pacak commented 8 months ago

There's also https://crates.io/crates/guppy