-
We've been facting strange issues when running tests that invokes multiple tasks (to simulate multithreaded environment). I found that the issue is related to AutoConfiguredNSubstituteCustomization bu…
-
Hey, I am the main dev of https://github.com/btcpayserver/btcpayserver a self hosted payment server which run your own node and support multiple shitcoin on top of bitcoin.
I want to use your API t…
-
**Bug:** When NSubstitute integration resolves value for mock's property, it performs `Type` request rather than `PropertyInfo` request. Because of that some features (like `[Frozen(Matching.PropertyN…
-
In .NET Core not working this code. But same code working on full .NET.
`HttpWebRequest webRequestMock = Substitute.For();`
**Error message:**
Parent does not have a default constructor. The defaul…
-
When I'm writing this code:
`_smsService.Received(1).SendMessage(Arg.Any(), "message");`
It is kind of clear that I expect string as first parameter, but when I run test, I get that NSubstitute …
-
http://stackoverflow.com/questions/4600825/does-nsubstitute-support-the-idea-of-partial-mocks
http://www.ayende.com/wiki/Rhino+Mocks+Partial+Mocks.ashx
-
While browsing octokit source found [`FixProjectFiles`](https://github.com/octokit/octokit.net/blob/4808941c5309ed736ede1cf52809605b6e6b4a22/build.fsx#L79) in [FAKE for syncing projects](https://githu…
-
Consider the following code sample:
``` csharp
public interface ITestInterface
{
bool GetResult(string key, out string result);
}
[Fact]
public void ReturnFixedResult()
{
//arrange
var fixture…
-
In moving from Moq to NSubstitute, I found that a diagnostic was missing if I illegally try to call Received or DidNotReceive on a non-virtual function. It would be nice if it would complain, rather t…
-
* AutoMapper from 6.1.1 to 6.2.0.
* EntityFramework from 6.1.3 to 6.2.0.
* EntityFramework.DynamicFilters from 2.10.0 to 3.0.1.
* MailKit from 1.18.1.1 to 1.20.0.
* IdentityServer4 from 2.0.1 to 2…