Skip to content

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

Closed
wants to merge 1 commit into from

Conversation

meeple142
Copy link

Summary

If you make the test folder in the src folder then the paths are wrong in the xml.

This is linked to #11866
I think they updated the paths but not the directions.

If you make the `test` folder in the `src` folder then the paths are wrong in the xml
@dnfclas
Copy link

dnfclas commented Feb 17, 2020

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

❌ meeple142 sign now
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Contributor

@tdykstra tdykstra left a 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.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
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.

@BillWagner BillWagner modified the milestones: February 2020, March 2020 Mar 3, 2020
@Thraka Thraka added the ✨ 1st-time docs contributor! Indicates PRs from new contributors to the docs repository label Mar 6, 2020
@tdykstra
Copy link
Contributor

@meeple142 please click the CLA "sign now" link so we can merge this PR.

@BillWagner
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ 1st-time docs contributor! Indicates PRs from new contributors to the docs repository
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants