Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 3 Rust integration-testing Projects
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
actix_sqlx_mysql_user_crud
A user crud written in Rust, designed to connect to a MySQL database with full integration test coverage.
I tried Hurl after Insomnia went the way of Postman. The highlights you list were the strong drivers for testing it out. Where Hurl fell short was composing requests. Example: X.hurl response has authToken. Y.hurl uses authToken. Z.hurl uses authToken. There's no import ability[1], so you've got to use other tooling to copy X.hurl into Y.hurl and Z.hurl.
Ultimately settled on Bruno. It's backed by readable text files[2] as well. The CLI works for scripting. And the GUI is familiar enough that I've managed to convert Postman holdouts at my dayjob.
[1]: https://github.com/Orange-OpenSource/hurl/issues/1723
[2]: https://docs.usebruno.com/bru-language-samples.html
Testing with added infrastructure can be quite tricky. testcontainers aims to solve this by providing an open-source framework for providing local, lightweight containers for your application that can be immediately thrown away after use. It also has a Rust SDK!
Rust integration-testing related posts
- Writing a REST API in Rust
- Is there a good REST API development tool like Postman written in Rust?
- Hurl, run and test HTTP requests with plain text
- Encrypted API request Docker Container?
- Hurl, a terrible (but cute) idea for a language
- Hurl 2.0.0, run and test HTTP requests with plain text
- Hurl
-
A note from our sponsor - InfluxDB
www.influxdata.com | 23 Apr 2024
Index
What are some of the best open-source integration-testing projects in Rust? This list will help you:
Project | Stars | |
---|---|---|
1 | hurl | 10,792 |
2 | testcontainers-rs | 554 |
3 | actix_sqlx_mysql_user_crud | 118 |
Sponsored