Gets the total number of test cases that were run.

Namespace:  Gallio.MSBuildTasks
Assembly:  Gallio.MSBuildTasks (in Gallio.MSBuildTasks.dll) Version: 3.3.0.0 (3.3.459.0)

Syntax

C#
public int RunCount { get; private set; }
Visual Basic (Declaration)
Public Property RunCount As Integer

Examples

To use this property, you need to include an Output tag within the Gallio tag to specify a name to reference it:
CopyC#
<Gallio>
     <!-- This tells MSBuild that the task's RunCount output property will
          be made available as a property called RunCount in the project
          after the tests have been run: -->
    <Output TaskParameter="RunCount" PropertyName="RunCount" />
</Gallio>
<!-- After execution the number of tests run can be retrieved like this: -->
<Message Text="$(RunCount) tests were run." />

See Also