Skip to content

Include and Exclude properties #32

Description

@christopherlebond

I receive a build exception when attempting to define include and exclude parameters for a custom NUnit task (plugin version 1.8, gradle version 2.12).

No such property: exclude for class: com.ullink.gradle.nunit.NUnit_Decorated

I assume the runner is defaulting to NUnit2Mixins as I'm not specifiying a version or NUNIT_HOME variable.

Example task

task testTask (type: NUnit) {
    testAssemblies = ["${buildDir}/tests/TestFramework/SystemTests.dll"]
    exclude = 'failures,disabled'
    include = 'winners'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions