Skip to content

Unify on a single test helper#43957

Merged
22 commits merged intodotnet:masterfrom
CyrusNajmabadi:testHelpers
May 4, 2020
Merged

Unify on a single test helper#43957
22 commits merged intodotnet:masterfrom
CyrusNajmabadi:testHelpers

Conversation

@CyrusNajmabadi
Copy link
Contributor

@CyrusNajmabadi CyrusNajmabadi commented May 4, 2020

Intent here is to be much more consistent in ttests so that i can then write tools to bulk convert some of our tests over to the new code-style testing library.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner May 4, 2020 18:59
public async Task InlineVariable1()
{
await TestInRegularAndScriptAsync(
await TestInRegularAndScript1Async(
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it possible to rename TestInRegularAndScript1Async to TestInRegularAndScriptAsync, so it is just an overload? I always wonder why we have TestInRegularAndScript1Async method...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

not currently because it will be ambiguous. once TestInRegularAndScriptAsync is entirely gone, we can rename TestInRegularAndScript1Async to TestInRegularAndScriptAsync

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Auto-approval

@ghost ghost merged commit 5ea23e5 into dotnet:master May 4, 2020
@CyrusNajmabadi CyrusNajmabadi deleted the testHelpers branch May 20, 2020 20:56
This pull request was closed.
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.

2 participants