-
Notifications
You must be signed in to change notification settings - Fork 402
move to Verify #2616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
SimonCropp
wants to merge
4
commits into
dotnet:main
Choose a base branch
from
SimonCropp:move-to-Verify
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
move to Verify #2616
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
|
@@ -153,5 +153,5 @@ TestResults/ | |
.fake | ||
.ionide | ||
|
||
# ApprovalTests | ||
# Verify | ||
*.received.txt |
This file contains hidden or 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,31 +1,27 @@ | ||
<Project> | ||
|
||
<PropertyGroup> | ||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> | ||
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled> | ||
<!-- Using multiple feeds isn't supported by Maestro: https://github.com/dotnet/arcade/issues/14155. --> | ||
<NoWarn>$(NoWarn);NU1507</NoWarn> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<!-- Roslyn dependencies --> | ||
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.0.1" /> | ||
<!-- Runtime dependencies --> | ||
<PackageVersion Include="Microsoft.Bcl.Memory" Version="9.0.6" /> | ||
<!-- external dependencies --> | ||
<PackageVersion Include="ApprovalTests" Version="7.0.0" /> | ||
<PackageVersion Include="BenchmarkDotNet" Version="0.13.1" /> | ||
<PackageVersion Include="AwesomeAssertions" Version="8.1.0" /> | ||
<PackageVersion Include="Microsoft.DotNet.PlatformAbstractions" Version="3.1.6" /> | ||
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" /> | ||
<PackageVersion Include="System.Memory" Version="4.5.5" /> | ||
<PackageVersion Include="Verify.Xunit" Version="30.4.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(DisableArcade)' == '1'"> | ||
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.1" /> | ||
<!-- The xunit version should be kept in sync with the one that Arcade promotes --> | ||
<PackageVersion Include="xunit" Version="2.9.2" /> | ||
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.2" /> | ||
<PackageVersion Include="xunit" Version="$(XUnitVersion)" /> | ||
<PackageVersion Include="xunit.runner.visualstudio" Version="$(XUnitRunnerVisualStudioVersion)" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains hidden or 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.
11 changes: 5 additions & 6 deletions
11
...ty.Tests/ApiCompatibilityApprovalTests.cs → ...patibility.Tests/ApiCompatibilityTests.cs
This file contains hidden or 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,19 +1,18 @@ | ||
// Copyright (c) .NET Foundation and contributors. All rights reserved. | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
||
using ApprovalTests; | ||
using ApprovalTests.Reporters; | ||
using System.Threading.Tasks; | ||
using VerifyXunit; | ||
using Xunit; | ||
|
||
namespace System.CommandLine.ApiCompatibility.Tests; | ||
|
||
public class ApiCompatibilityApprovalTests | ||
public class ApiCompatibilityTests | ||
{ | ||
[Fact] | ||
[UseReporter(typeof(DiffReporter))] | ||
public void System_CommandLine_api_is_not_changed() | ||
public Task System_CommandLine_api_is_not_changed() | ||
{ | ||
var contract = ApiContract.GenerateContractForAssembly(typeof(ParseResult).Assembly); | ||
Approvals.Verify(contract); | ||
return Verifier.Verify(contract); | ||
} | ||
} |
This file contains hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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,10 @@ | ||
using System.Threading.Tasks; | ||
using VerifyXunit; | ||
using Xunit; | ||
|
||
public class VerifyChecksTests | ||
{ | ||
[Fact] | ||
public Task Run() => | ||
VerifyChecks.Run(); | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does Arcade promote xunit 2.9.3 now or in the near future?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i dont know