diff --git a/config/exercise_readme.go.tmpl b/config/exercise_readme.go.tmpl deleted file mode 100644 index 01b5ee50fd..0000000000 --- a/config/exercise_readme.go.tmpl +++ /dev/null @@ -1,24 +0,0 @@ -# {{ .Spec.Name }} - -{{ .Spec.Description -}} -{{- with .Hints }} -{{ . }} -{{ end }} -## Running the tests - -To run the tests, run the command `dotnet test` from within the exercise directory. - -Initially, only the first test will be enabled. This is to encourage you to solve the exercise one step at a time. -Once you get the first test passing, remove the `Skip` property from the next test and work on getting that test passing. -Once none of the tests are skipped and they are all passing, you can submit your solution -using `exercism submit {{ .Spec.MixedCaseName }}.cs` - -## Further information - -For more detailed information about the C# track, including how to get help if -you're having trouble, please visit the exercism.io [C# language page](http://exercism.io/languages/csharp/resources). -{{ with .Spec.Credits }} -## Source - -{{ . }} -{{ end }} diff --git a/exercises/shared/.docs/cli.md b/exercises/shared/.docs/cli.md deleted file mode 100644 index ecfd8e1c6b..0000000000 --- a/exercises/shared/.docs/cli.md +++ /dev/null @@ -1,13 +0,0 @@ -# CLI - -You can run the tests by opening a command prompt in the exercise's directory, and then running the [`dotnet test` command][docs-dotnet-test]. Alternatively, most IDE's have built-in support for running tests, including [Visual Studio][docs-run-unit-tests-visual-studio], [Rider][docs-run-unit-tests-rider] and [Visual Studio code][docs-run-unit-tests-visual-studio-code]. - -Initially, only the first test will be enabled. This is to encourage you to solve the exercise one step at a time. Once you get the first test passing, remove the `Skip` property from the next test and work on getting that test passing. - -Once none of the tests are skipped and they are all passing, you can submit your solution by opening a command prompt in the exercise's directory and running the [`exercism submit` command][docs-exercism-cli]. - -[docs-dotnet-test]: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-test?tabs=netcore21 -[docs-exercism-cli]: https://exercism.io/cli -[docs-run-unit-tests-visual-studio]: https://docs.microsoft.com/en-us/visualstudio/test/run-unit-tests-with-test-explorer?view=vs-2019 -[docs-run-unit-tests-visual-studio-code]: https://github.com/OmniSharp/omnisharp-vscode/wiki/How-to-run-and-debug-unit-tests -[docs-run-unit-tests-rider]: https://www.jetbrains.com/help/rider/Unit_Testing_in_Solution.html diff --git a/exercises/shared/.docs/help.md b/exercises/shared/.docs/help.md new file mode 100644 index 0000000000..f5be77b42e --- /dev/null +++ b/exercises/shared/.docs/help.md @@ -0,0 +1,7 @@ +# Help + +To get help if you're having trouble, you can use one of the following resources: + +- [Gitter](https://gitter.im/exercism/xcsharp) is Exercism C# track's Gitter room; go here to get support and ask questions related to the C# track. +- [/r/csharp](https://www.reddit.com/r/csharp) is the C# subreddit. +- [StackOverflow](http://stackoverflow.com/questions/tagged/c%23) can be used to search for your problem and see if it has been answered already. You can also ask and answer questions. diff --git a/exercises/shared/.docs/tests.md b/exercises/shared/.docs/tests.md new file mode 100644 index 0000000000..71483fe4ed --- /dev/null +++ b/exercises/shared/.docs/tests.md @@ -0,0 +1,11 @@ +# Tests + +You can run the tests by opening a command prompt in the exercise's directory, and then running the [`dotnet test` command](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-test) +Alternatively, most IDE's have built-in support for running tests, including [Visual Studio](https://docs.microsoft.com/en-us/visualstudio/test/run-unit-tests-with-test-explorer), [Rider](https://www.jetbrains.com/help/rider/Unit_Testing_in_Solution.html) and [Visual Studio code](https://github.com/OmniSharp/omnisharp-vscode/wiki/How-to-run-and-debug-unit-tests). +See the [tests page](https://exercism.io/tracks/csharp/tests) for more information. + +## Skipped tests + +Initially, only the first test will be enabled. +This is to encourage you to solve the exercise one step at a time. +Once you get the first test passing, remove the `Skip` property from the next test and work on getting that test passing.