-
## Scenario
In my VS2022 test project, I have `Moq V4.16.1` installed.
I do not have NSubstitude installed.
I discovered that my test project does reference a package [Teststack.Dossier](https://gi…
-
**Describe the bug**
I'm trying to test memory leaks on my library, but NSubstitute retains reference to call arguments (even after `ClearReceivedCalls`).
This makes it impossible to test memory l…
-
**Describe the bug**
It seems nsubstitute records all calls by reference rather than cloning the object.
**To Reproduce**
Run the XUnit test below.
**Expected behaviour**
All tests should pas…
-
**Question**
I have an ordinary Test project in my solution, targeting .Net Framework 4.6.2. When I added a Nuget reference to NSubstitute.Analyzers.CSharp, I got several warnings like this:
> An …
-
**Describe the bug**
I am suspecting that something is not working well with argument matchers that matches structs with a field with non-default value initializer. Maybe I am doing something wrong -…
-
Like the title mentions the NSubstitute.Analyzers.CSharp crashes Visual Studio.
Visual Studio Version: 17.0 Preview (17.0 build 4729)
NSubstitute.Analyzers.CSharp 1.0.15
-
**Describe the bug**
I get the following exception, the expected does not fit my argument definition:
```
NSubstitute.Exceptions.ReceivedCallsException : Expected to receive exactly 1 call ma…
-
Setting a Returns() within a Returns() leads to global LastCallRouter being incorrect. May need to look at using a stack for LastCallRouter so we can handle this.
Example of bug:
sub.SomeCall(…
-
[Recent events](https://github.com/moq/moq/issues/1372) related to the [Moq .NET test mock library](https://github.com/moq/moq) have exposed potential privacy concerns. While versions of the library r…
-
**Describe the bug**
When I add AutoSubstitute folder to the project, the Unity throws the following error:
`Assets\Plugins\Zenject\OptionalExtras\TestFramework\Editor\AutoSubstitute\ZenjectNSubsti…