Attribute Macro tag

Source
#[tag]
Expand description

A procedural macro for the tag attribute.

The attribute can be used to associate one or more tags with a test. The attribute should be placed before the eventual #[test] attribute.

§Example

Specify the attribute on a per-test basis:

use test_tag::tag;

#[tag(tag1, tag2)]
#[test]
fn test1() {
  assert_eq!(2 + 2, 4);
}