-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[Test Controller] New test controller applied to Network #8281
Conversation
@@ -24,7 +24,6 @@ | |||
|
|||
<ItemGroup> | |||
<None Update="ScenarioTests\Data\*.*" CopyToOutputDirectory="PreserveNewest" /> | |||
<None Update="ScenarioTests\Generated\*.*" CopyToOutputDirectory="PreserveNewest" /> |
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.
Why were the generated scenario tests moved up a directory? They put them there so that only generated tests are in that folder, and they manage non-generated tests in the ScenarioTests folder.
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 agreed these changes with the Network team
src/Network/Network.Test/ScenarioTests/ExpressRouteCircuitTests.cs
Outdated
Show resolved
Hide resolved
@@ -1,6 +0,0 @@ | |||
ApplicationSecurityGroupTestsGenerated.cs 299A1E5866F1F33032F70699B1B9A1790689CD35 |
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.
Why is this file deleted? They use a generator to create some of their tests. I'm assuming this file is used by their generator.
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 agreed these changes with the Network team
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.
This captures the commit for the source script they used to generate the tests, so we should leave it, I think
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.
@EvgenyAgafonchikov Can you confirm you need the metadata?
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 discussed this offline with @EvgenyAgafonchikov:
AFAIK PS team plans to use their own cmdlets generator, so we are dropping support of ours. In this context removing of this file is okay.
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.
That doesn't apply until we are actually using a new generator.
8242a8d
to
f66c68d
Compare
@MikhailTryakhov We are applying a new test controller - could you take a look? |
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.
Left comment on module reference. Otherwise LGTM.
@MiYanni Are you ready to sign off? |
@vladimir-shcherbakov Please reassign to someone else. Thanks. |
} | ||
|
||
[Fact] | ||
[Trait(Category.RunType, Category.LiveOnly)] | ||
[Trait(Category.Owner, Category.netanalyticsdev)] | ||
public void TestFlowLog() | ||
{ | ||
NetworkResourcesController.NewInstance.RunPsTest(_logger, "Test-FlowLog"); | ||
TestRunner.RunTestScript("Test-FlowLog"); | ||
} | ||
|
||
#if NETSTANDARD |
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.
We should remove this #if
- we are awlays in NetStandard
@@ -1,6 +0,0 @@ | |||
ApplicationSecurityGroupTestsGenerated.cs 299A1E5866F1F33032F70699B1B9A1790689CD35 |
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.
This captures the commit for the source script they used to generate the tests, so we should leave it, I think
# Conflicts: # src/Network/Network.Test/NetworkResourcesController.cs
@@ -1,6 +0,0 @@ | |||
ApplicationSecurityGroupTestsGenerated.cs 299A1E5866F1F33032F70699B1B9A1790689CD35 |
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.
That doesn't apply until we are actually using a new generator.
Description
Checklist
CONTRIBUTING.md
platyPS
module