ProjectParserExtensions.

IsNUnitTestProject(CustomProjectParserResult) Method

Summary

Checks if the project is an NUnit test compatible project

Syntax

public static bool IsNUnitTestProject(this CustomProjectParserResult projectParserResult)

Examples

Check if a parsed project is an NUnit test compatible project
CustomParseProjectResult project = ParseProject(new FilePath("test.csproj"), "Release");
if (project.IsNUnitTestProject()) { ... }

Parameters

Name Type Description
projectParserResult CustomProjectParserResult the parsed project

Return Value

Type Description
bool true if the project is an NUnit test compatible project