risingwavelabs / risingwave

Best-in-class stream processing, analytics, and management. Perform continuous analytics, or build event-driven applications, real-time ETL pipelines, and feature stores in minutes. Unified streaming and batch. PostgreSQL compatible.
https://go.risingwave.com/slack
Apache License 2.0
6.98k stars 575 forks source link

test: run frontend test runner using libtest-mimic #2752

Closed skyzh closed 2 years ago

skyzh commented 2 years ago

Generating test cases using build.rs is time-consuming and will cause a lot of re-builds. Luckily, nextest recently added libtest-mimic support. We can simply create a binary using libtest-mimic which discovers all the tests, and run it with cargo nextest.

https://nexte.st/book/custom-test-harnesses.html#libtest-mimic-recommended

skyzh commented 2 years ago

https://github.com/nextest-rs/datatest-stable

alissa-tung commented 2 years ago

https://github.com/singularity-data/risingwave/commit/ca098f57f2d67e2473b129f57cd146dda21d492b ?

skyzh commented 2 years ago

Thanks for reminding! Fixed by #2917