Skip to content

Split the current "testing" chapter #111

@japaric

Description

@japaric

The current chapter needs to be split:

  • intro: The #[test] attribute and rustc --test
  • #[should_fail]
  • conditional compilation: #[test] is kind of sugar for #[cfg(test)]
  • FUT (function under test) have their stdout silenced by default, explain how to override this
  • Disable tests using the ignore attribute
  • Execute a subset of tests using regexes

@alxgnon is working on this

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions