-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Labels
next releaseIssues that are meant to release with next minor/major releaseIssues that are meant to release with next minor/major release
Description
This is a tracking issue for test_case roadmap beyond 1.x.
Features are waiting to be implemented or are being currently implemented. 2.0.0 is coming with major codebase rewrite, thus it will be released as rc first to test stability and portability from 1.x versions.
# 2.0.0
removal ofinconclusivewithin description (currently deprecated)removal ofhamcrest_assertionsin favor of custom solutionisanditmodifiers have to be first class citizens #75#[test_case(args => with |x: T| assert!(...))]for inline custom assertions Add possibility to replaceassert_eq!with custom assertion #31#[test_case(args => using $path)]for custom assertion reuse Add possibility to replaceassert_eq!with custom assertion #31leave tested fn item in place where it's written Leave annotated item outside test module #77default#[test_case]with no return type matching supportResult<(), E> where E: Errorsimilar to#[test]macro Result::Err is not interpreted as a failure #50
beyond
- custom assertions can be applied to multiple
test_casesvia#[test_case_handler($path)]attribute Allow replacement of test-case assertion on per-fn scale #83 - override test case method names
#[test_case(args as function_name)],#[test_case(args => result as function_name)]and#[test_case(args => result ; "description" as function_name)]Bad custom test names should not fail silently #72 -
with |val| {body}can skip type annotation on closure #95 - generate test case per file in directory Generate a test per file in a directory #78
research needed
-
with |val: T| -> bool {body}is allowed withoutassertionwithin body - test case name is accessible from within
test_caseblock Access test case name from test case body #37 - PoC how
test_casecould look aftercustom_test_frameworksare stabilized: https://github.com/luke-biel/interrogate
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
next releaseIssues that are meant to release with next minor/major releaseIssues that are meant to release with next minor/major release