Open luke-biel opened 2 years ago
Currently test_case allows replacing it's built in assert via using and with keywords.
test_case
assert
using
with
We'd like to be able to replace assertion on per-function and global levels. This refers to requirements specified within https://github.com/frondeus/test-case/issues/31.
Initial work specifies
#[test_case(input2)] #[test_case_use(assert_nan)] fn tested(v: X) -> f64 { ... }
as possible solution for per-function replacements.
Currently
test_case
allows replacing it's built inassert
viausing
andwith
keywords.We'd like to be able to replace assertion on per-function and global levels. This refers to requirements specified within https://github.com/frondeus/test-case/issues/31.
Initial work specifies
as possible solution for per-function replacements.