You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a couple of Rust macros to allow to develop KUnit tests without
relying on generated C code:
- The `kunit_unsafe_test_suite!` Rust macro is similar to the
`kunit_test_suite` C macro.
- The `kunit_case!` Rust macro is similar to the `KUNIT_CASE` C macro.
It can be used with parameters to generate a test case or without
parameters to be used as delimiter in `kunit_test_suite!`.
While these macros can be used on their own, a future patch will
introduce another macro to create KUnit tests using a user-space like
syntax.
Co-developed-by: David Gow <[email protected]>
Signed-off-by: David Gow <[email protected]>
Signed-off-by: José Expósito <[email protected]>
0 commit comments