#test-framework #framework

e2e

Test framework for stateful integration tests

4 releases

Uses new Rust 2024

0.1.3 Jun 26, 2025
0.1.2 Jun 19, 2025
0.1.1 Jun 11, 2025
0.1.0 Jun 6, 2025

#551 in Testing

Download history 3/week @ 2025-10-04 4/week @ 2025-10-11 4/week @ 2025-10-18

189 downloads per month

MIT/Apache

23KB
559 lines

e2e -- Rust framework for stateful integration tests

e2e provides functionality to create test suites that have setup, {before/after}_{all/each} hooks, and state shared across the tests. It is async-first and, to a degree, inspired by "classic" JavaScript frameworks such as mocha and jest, while still being strongly-typed.

e2e may be an overkill for unit tests -- for that purpose standard testing harness (potentially extended with tools like nextest) would work much better. However, if your goal is to write somewhat complex test scenarios that require setup/teardown, this library might be for you.

License

e2e is dual-licensed under MIT and Apache 2.0 at your choice.

Dependencies

~12–27MB
~255K SLoC