NSubstitute
-The NSubstitute project is possible thanks to a number of other software projects. We acknowledge their awesomeness.
+The NSubstitute project is possible thanks to a number of other software projects. We acknowledge their awesomeness.
NSubstitute logo donated by Troy Hunt.
{{ page.title }}
{{ content }} + + + Edit this page +For more in depth information start with Creating a substitute.
-If you can't find the answer you're looking for, or if you have feature requests or feedback on NSubstitute, please raise an issue on our project site. All questions are welcome via our project site, but for "how-to"-style questions you can also try StackOverflow with the [nsubstitute] tag, which often leads to very good answers from the larger programming community. StackOverflow is especially useful if your question also relates to other libraries that our team may not be as familiar with (e.g. NSubstitute with Entity Framework). You can also head on over to the NSubstitute discussion group if you prefer.
+If you can't find the answer you're looking for, or if you have feature requests or feedback on NSubstitute, please raise an issue on our project site. All questions are welcome via our project site, but for "how-to"-style questions you can also try StackOverflow with the [nsubstitute] tag, which often leads to very good answers from the larger programming community. StackOverflow is especially useful if your question also relates to other libraries that our team may not be as familiar with (e.g. NSubstitute with Entity Framework). You can also head on over to the NSubstitute discussion group if you prefer.
diff --git a/docs/help/_posts/2013-04-01-threading.markdown b/docs/help/_posts/2013-04-01-threading.markdown index 7963e2f5..1c408674 100644 --- a/docs/help/_posts/2013-04-01-threading.markdown +++ b/docs/help/_posts/2013-04-01-threading.markdown @@ -5,6 +5,6 @@ layout: post It is fairly standard for production code to call a substitute from multiple threads, but we should avoid having our test code configure or assert on a substitute while it is also be used from other threads in production code. -Although this particular issue has been mitigated by work in [#452](https://github.com/nsubstitute/NSubstitute/pull/462), issue [#256](https://github.com/nsubstitute/NSubstitute/issues/256) shows the types of problems that can occur if we're not careful with threading. +Although this particular issue has been mitigated by work in [#452]({{ site.repo }}/pull/462), issue [#256]({{ site.repo }}/issues/256) shows the types of problems that can occur if we're not careful with threading. To avoid this sort of problem, make sure your test has finished configuring its substitutes before exercising the production code, then make sure the production code has completed before your test asserts on `Received()` calls. \ No newline at end of file