-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
80 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
using Xunit.Abstractions; | ||
|
||
namespace KiBoards.Tests | ||
{ | ||
|
||
public class UnitTest3 : IClassFixture<TestContextFixture> | ||
{ | ||
|
||
public UnitTest3(TestContextFixture testContextFixture, ITestOutputHelper outputHelper) | ||
{ | ||
// This is how to get messageBus | ||
|
||
testContextFixture.SetContext(new { Version = "1234" }); | ||
|
||
outputHelper.WriteLine("HELLO WORLD MESSAGE BUS"); | ||
} | ||
|
||
[Fact(Timeout = 1000)] | ||
public void Test5() | ||
{ | ||
Thread.Sleep(5000); | ||
|
||
|
||
} | ||
|
||
[Theory] | ||
[InlineData(1, 2)] | ||
[InlineData(2, 2)] | ||
[InlineData(3, 3)] | ||
public void Test6(int a, int b) | ||
{ | ||
Assert.Equal(a, b); | ||
} | ||
|
||
|
||
[Fact] | ||
public void Test7() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
[Fact(Skip = "Not required.")] | ||
public void Test8() | ||
{ | ||
|
||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters