Skip to content

Documentation of how to use tags #197

@r-weisser

Description

@r-weisser

Hi, first of all - I really like exploring and diving deeper to nspec.

I'm filtering my testcases with tags which is working fine.
Right now for most cases it works to add tags in fluent description

void do_test()
{
    it["do some stuff", "label"] = () => testCase1();

    context["then something else", ""longperformancetest"] = () => 
    {
        it["testcase 2.1"] = () => case21();
        it["testcase 2.2"] = () => case22();
        it["testcase 2.3"] = () => case23();
        ...
    };
}

But I'm missing the way to associate filter tags directly to a test method.
The documentation doesn't mention tags or restrictions to them.

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