ZcashFoundation / zebra

Zcash - Financial Privacy in Rust 🦓
https://zfnd.org/zebra/
Apache License 2.0
410 stars 102 forks source link

Clean up orchard test submodule layout #2089

Closed teor2345 closed 2 years ago

teor2345 commented 3 years ago

Motivation

Zebra is moving towards a standard test code layout, where:

This speeds up non-test builds, particularly when only tests have changed.

But the orchard module in #1885 doesn't quite follow this structure yet.

Suggested Changes

Move to an arbitrary module in its own file:

Move to tests::{prop, vectors}, with each module in its own file:

teor2345 commented 2 years ago

We can do this cleanup if it is ever needed.