Skip to content

Commit 5f29301

Browse files
committed
Adding project options allowing some tests to be excluded on the CI machine
1 parent 6fb6bc9 commit 5f29301

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

WebJobs.Script.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
<Output TaskParameter="TargetOutputs" ItemName="UnitTestAssemblies"/>
112112
</MSBuild>
113113

114-
<xunit Assemblies="@(UnitTestAssemblies)"/>
114+
<xunit Assemblies="@(UnitTestAssemblies)" ExcludeTraits="$(ExcludedTestTraits)"/>
115115
</Target>
116116

117117
<Target Name="Clean" DependsOnTargets="GetBinplace">

test/WebJobs.Script.Tests/EndToEndTestsBase.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
namespace WebJobs.Script.Tests
1414
{
15+
[Trait("Category", "E2E")]
1516
public abstract class EndToEndTestsBase<TTestFixture> :
1617
IClassFixture<TTestFixture> where TTestFixture : EndToEndTestFixture, new()
1718
{

test/WebJobs.Script.Tests/FunctionGeneratorTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
namespace WebJobs.Script.Tests
1414
{
15+
[Trait("Category", "E2E")]
1516
public class FunctionGeneratorTests
1617
{
1718
[Fact]

0 commit comments

Comments
 (0)