Tracking issue for eRFC 2318, Custom test frameworks #50297
Open
Description
opened on Apr 28, 2018
This is tracking the #[bench]
and #[test_case]
attributes and the custom_test_frameworks
lang item as well as the libtest crate. There is currently no plan/RFC for stabilizing them.
Old issue description.
This is a tracking issue for the eRFC "Custom test frameworks" (rust-lang/rfcs#2318).
Documentation:
- Implementation proposal: https://www.jrenner.net/rust/testing/2018/08/06/custom-test-framework-prop.html
- https://doc.rust-lang.org/nightly/unstable-book/language-features/custom-test-frameworks.html
Steps:
- Implement the RFC (cc @rust-lang/dev-tools @rust-lang/cargo -- can anyone write up mentoring instructions?)
- Adjust documentation (see instructions on forge)
- Stabilization PR (see instructions on forge)
Unresolved questions:
- Integration with doctests
- Standardizing the output
- Namespacing
- Runtime dependencies and flags
- Naming
- Bencher
- Cargo integration
Notes:
- Destabilization of
#[bench]
: [1.38]#[bench]
accepted on stable but not beta #63798 (comment)
Implementation history:
- Initial implementation: Introduce Custom Test Frameworks #53410
Metadata
Assignees
Labels
Area: `#[test]` / the `test` libraryBlocker: Approved by a merged RFC but not yet implemented.Category: An issue tracking the progress of sth. like the implementation of an RFC`#![feature(custom_test_frameworks)]`Status: There are blocking design concerns.Relevant to the cargo team, which will review and decide on the PR/issue.Relevant to the dev-tools subteam, which will review and decide on the PR/issue.Relevant to the language team, which will review and decide on the PR/issue.Working group: Embedded systems
Activity