Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow replacement of test-case assertion on per-fn scale #83

Open
luke-biel opened this issue Jan 27, 2022 · 0 comments
Open

Allow replacement of test-case assertion on per-fn scale #83

luke-biel opened this issue Jan 27, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@luke-biel
Copy link
Collaborator

Currently test_case allows replacing it's built in assert via using and with keywords.

We'd like to be able to replace assertion on per-function and global levels. This refers to requirements specified within #31.

Initial work specifies

#[test_case(input2)]
#[test_case_use(assert_nan)]
fn tested(v: X) -> f64 {
	...
}

as possible solution for per-function replacements.

@luke-biel luke-biel changed the title Allow replacement of test-case assertion on wider scale Allow replacement of test-case assertion on per-fn scale Jan 27, 2022
@luke-biel luke-biel added the enhancement New feature or request label Jan 27, 2022
@luke-biel luke-biel mentioned this issue Jan 28, 2022
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant