ntest
ntest copied to clipboard
Testing framework for rust enhancing the built-in library with some useful features.
**Description** VS Code has a pair of handy links for running or debugging individual tests. But when `#[ntest::timeout(1000)]` is placed, they are removed. - VS Code version: 1.74.1. - ntest...
**Describe the bug** I'm building ntest 0.7.3 crate for Guix System. The crate itself builds fine. However, when I run the `cargo test release` the process exits with the `SIGILL:...
**Is your feature request related to a problem? Please describe.** I'm trying to create a test that runs for X amount of time. if no errors occur within this time,...
I'm running some unharnessed integration tests on a GUI that look like this ``` #[ntest::timeout(1000)] fn main(){ launch_gui(); // panics if not run on the main thread } ``` Right...
**Is your feature request related to a problem? Please describe.** Would love this to have wasm support! I think it mostly should work, except for the timeout which would probably...
**Describe the bug** The macro panics when [C-String](https://doc.rust-lang.org/edition-guide/rust-2021/c-string-literals.html) literals are used in the test marked with `#[ntest::timeout()]`. **To Reproduce** Create a new crate with the following in `main/lib.rs`: ```rust #[cfg(test)]...