-
-
Notifications
You must be signed in to change notification settings - Fork 985
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Verify library for approval tests (#2330)
* Used Verify library for approval tests * Removed unnecessary item group * Approval -> Verify renaming * Avoid duplication of directory name for VerifyTests * Disabled diff tool for better console experience * Renamed files after classes * Updated documentation --------- Co-authored-by: Alina Smirnova <BlueOstrich@yandex.ru>
- Loading branch information
1 parent
bed071f
commit 73f8fd1
Showing
38 changed files
with
62 additions
and
96 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
15 changes: 15 additions & 0 deletions
15
tests/BenchmarkDotNet.Tests/Builders/VerifySettingsFactory.cs
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,15 @@ | ||
using VerifyTests; | ||
|
||
namespace BenchmarkDotNet.Tests.Builders | ||
{ | ||
public static class VerifySettingsFactory | ||
{ | ||
public static VerifySettings Create() | ||
{ | ||
var result = new VerifySettings(); | ||
result.UseDirectory("VerifiedFiles"); | ||
result.DisableDiff(); | ||
return result; | ||
} | ||
} | ||
} |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
using System.Runtime.InteropServices; | ||
using ApprovalTests.Reporters; | ||
|
||
[assembly: Guid("16c47abf-43e0-4db4-8151-36ca7a4082ae")] | ||
[assembly: IgnoreLineEndings(true)] |
27 changes: 0 additions & 27 deletions
27
tests/BenchmarkDotNet.Tests/XUnit/PatchedXUnit2Reporter.cs
This file was deleted.
Oops, something went wrong.