Skip to content
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

Tagging VB/C# Ioperation tests #21310

Merged
merged 2 commits into from
Aug 8, 2017
Merged

Conversation

jinujoseph
Copy link
Contributor

@jinujoseph jinujoseph commented Aug 3, 2017

fixes #20652

@jcouv , @dotnet/analyzer-ioperation

@@ -12,6 +12,7 @@ namespace Microsoft.CodeAnalysis.CSharp.UnitTests
{
public partial class IOperationTests : SemanticModelTestBase
{
[CompilerTrait(CompilerFeature.IOperation)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For tuple tests, I opted to put the trait on the class rather than individual tests, where possible. I'd suggest the same here, since the whole file is dedicated to IOperations tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is true for most of the files here, tomorrow if you add more tests for other scenario will we go remember to split it ?

Copy link
Contributor

@heejaechang heejaechang Aug 3, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't seen trait on class. I think majority of roslyn tests' traits are on each test methods.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Up to you. Doesn't seem like like this file would contain tests other than IOperation...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer traits per unit tests

using Roslyn.Test.Utilities;
using Xunit;

namespace Microsoft.CodeAnalysis.CSharp.UnitTests
{
public partial class IOperationTests : SemanticModelTestBase
{
[CompilerTrait(CompilerFeature.Determinism)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why determinism? Copy & paste error?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes , thatz a copy paste error ..will fix

@jinujoseph
Copy link
Contributor Author

test this please

1 similar comment
@jinujoseph
Copy link
Contributor Author

test this please

Copy link
Member

@jcouv jcouv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jinujoseph
Copy link
Contributor Author

test this please

@jinujoseph jinujoseph merged commit f7b0555 into dotnet:features/ioperation Aug 8, 2017
333fred added a commit to 333fred/roslyn that referenced this pull request Aug 8, 2017
…sion-expression-rewrite

* dotnet/features/ioperation:
  Tagging VB/C# Ioperation tests (dotnet#21310)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants