-
Notifications
You must be signed in to change notification settings - Fork 6k
Clarified where to make the test folder #17112
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
Conversation
If you make the `test` folder in the `src` folder then the paths are wrong in the xml
|
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.
@meeple142 Thanks for this correction -- please click the CLA "sign now" link so we can merge this PR, and take a look at my suggested change.
@@ -97,7 +97,25 @@ Optional exercise: You can add a new pet type, such as a `Bird`, by extending th | |||
|
|||
The `NewTypes` project is in place, and you've organized it by keeping the pets-related types in a folder. Next, create your test project and start writing tests with the [xUnit](https://xunit.github.io/) test framework. Unit testing allows you to automatically check the behavior of your pet types to confirm that they're operating properly. | |||
|
|||
Navigate back to the *src* folder and create a *test* folder with a *NewTypesTests* folder within it. At a command prompt from the *NewTypesTests* folder, execute `dotnet new xunit`. This produces two files: *NewTypesTests.csproj* and *UnitTest1.cs*. | |||
Navigate back to the *root* folder and create a *test* folder with a *NewTypesTests* folder within it. |
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.
Navigate back to the *root* folder and create a *test* folder with a *NewTypesTests* folder within it. | |
Navigate back to the *NewTypes* folder and create a *test* folder with a *NewTypesTests* folder within it. |
@meeple142 please click the CLA "sign now" link so we can merge this PR. |
closing due to lack of response. @meeple142 If you want us to merge this, please re-open, sign the CLA, and respond to the review suggestions. |
Summary
If you make the
test
folder in thesrc
folder then the paths are wrong in the xml.This is linked to #11866
I think they updated the paths but not the directions.