Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
NSubstitute
Conversations
About
NSubstitute
Contact owners and managers
1–30 of 317
ⓘ
This group is now read-only. Please head over to our GitHub project for discussions and support:
https://github.com/
nsubstitute/NSubstitute/issues
Mark all as read
Report group
0 selected
Justin Chase
,
David Tchepak
2
Apr 30
Show actual calls when expected call is missing?
Hi Justin, If there are actual calls to that member the actual value should be displayed. For example
unread,
Show actual calls when expected call is missing?
Hi Justin, If there are actual calls to that member the actual value should be displayed. For example
Apr 30
David Tchepak
9/11/23
[ANN] NSubstitute 5.1.0 released
Hi all, We've released NSubstitute v5.1.0! See full release notes here: https://github.com/
unread,
[ANN] NSubstitute 5.1.0 released
Hi all, We've released NSubstitute v5.1.0! See full release notes here: https://github.com/
9/11/23
David Tchepak
2/12/23
[ANN] NSubstitute 5.0.0 released
Hi all, We've released NSubstitute v5.0.0. This release updates our target frameworks to the ones
unread,
[ANN] NSubstitute 5.0.0 released
Hi all, We've released NSubstitute v5.0.0. This release updates our target frameworks to the ones
2/12/23
Peter Neave
, …
David Tchepak
4
1/17/23
IEnumerable<string> argument
Could you please post a reproducible example? This example works for me: ``` public interface Client
unread,
IEnumerable<string> argument
Could you please post a reproducible example? This example works for me: ``` public interface Client
1/17/23
David Tchepak
7/16/22
[ANN] NSubstitute 4.4.0 released
Hi all, We've released NSubstitute v4.4.0. This adds support for Castle Core v5, thanks to @
unread,
[ANN] NSubstitute 4.4.0 released
Hi all, We've released NSubstitute v4.4.0. This adds support for Castle Core v5, thanks to @
7/16/22
David Tchepak
1/24/22
[ANN] NSubstitute 4.3.0 released
Hi everyone, We've just released NSubstitute v4.3.0. This introduces support for .NET 5 (#636)
unread,
[ANN] NSubstitute 4.3.0 released
Hi everyone, We've just released NSubstitute v4.3.0. This introduces support for .NET 5 (#636)
1/24/22
Rik Svendsen Rose
, …
Rik Svendsen Rose
9
7/8/20
IConfiguration and IConfigurationSection mocking (Microsoft.Extensions.Configuration)
I have not tested. Moved on to something else. I Will try to find time On Wed, 8 Jul 2020 at 14.08,
unread,
IConfiguration and IConfigurationSection mocking (Microsoft.Extensions.Configuration)
I have not tested. Moved on to something else. I Will try to find time On Wed, 8 Jul 2020 at 14.08,
7/8/20
David Tchepak
6/13/20
[ANN] NSubstitute 4.2.2 released
Hi everyone, We've just released NSubstitute 4.2.2. This patch release fixes a thread-safety
unread,
[ANN] NSubstitute 4.2.2 released
Hi everyone, We've just released NSubstitute 4.2.2. This patch release fixes a thread-safety
6/13/20
Bruno Silva
,
David Tchepak
5
1/8/20
NSubstitute and Structs that implements Equals
David, thank you a lot for your prompt answer. We are overpass this problem with ReturnsForAnyArgs.
unread,
NSubstitute and Structs that implements Equals
David, thank you a lot for your prompt answer. We are overpass this problem with ReturnsForAnyArgs.
1/8/20
David Tchepak
7/15/19
[ANN] NSubstitute 4.2.1 released
Hi everyone, We've just released NSubstitute 4.2.1. This fixes an issue where assigning a subtype
unread,
[ANN] NSubstitute 4.2.1 released
Hi everyone, We've just released NSubstitute 4.2.1. This fixes an issue where assigning a subtype
7/15/19
David Tchepak
5/19/19
[ANN] NSubstitute 4.2.0 released
Hi everyone, We've just released NSubstitute 4.2.0. This is a small update from 4.1.0 that fixes
unread,
[ANN] NSubstitute 4.2.0 released
Hi everyone, We've just released NSubstitute 4.2.0. This is a small update from 4.1.0 that fixes
5/19/19
David Tchepak
5/4/19
[ANN] NSubstitute 4.1.0 released
Hi everyone, We've just released NSubstitute 4.1.0. The main changes in this release are a whole
unread,
[ANN] NSubstitute 4.1.0 released
Hi everyone, We've just released NSubstitute 4.1.0. The main changes in this release are a whole
5/4/19
Vatan Soni
,
David Tchepak
2
3/20/19
How to use Nsubstitute analyser.
Hi Vatan, There is no UI. If you add the package to your test project (either the C# or VB package
unread,
How to use Nsubstitute analyser.
Hi Vatan, There is no UI. If you add the package to your test project (either the C# or VB package
3/20/19
Vatan Soni
,
David Tchepak
4
3/15/19
Do we have NSubstitute docs in a pdf format. Could you please give me link or mail.
We don't have a sample project. Our test suite is here: https://github.com/nsubstitute/
unread,
Do we have NSubstitute docs in a pdf format. Could you please give me link or mail.
We don't have a sample project. Our test suite is here: https://github.com/nsubstitute/
3/15/19
anton tishchenko
,
David Tchepak
2
2/14/19
Is it good practice to use NSubstitute(or other testing frameworks that allow mocking) in the code(not in the tests)?
Hi Anton, I have previously written about this here: https://stackoverflow.com/a/53330171/906 I still
unread,
Is it good practice to use NSubstitute(or other testing frameworks that allow mocking) in the code(not in the tests)?
Hi Anton, I have previously written about this here: https://stackoverflow.com/a/53330171/906 I still
2/14/19
Dheerendra Rathor
,
David Tchepak
2
2/5/19
Partial substitution on interface with concrete implementation (like composition)
Hello, NSubstitute does not support saying "forward every call from `IB` to this instance of `
unread,
Partial substitution on interface with concrete implementation (like composition)
Hello, NSubstitute does not support saying "forward every call from `IB` to this instance of `
2/5/19
David Tchepak
1/30/19
[ANN] NSubstitute 4.0.0 released
Hi everyone, We've just released NSubstitute 4.0.0, after trials of the 4.0.0 Release Candidate 1
unread,
[ANN] NSubstitute 4.0.0 released
Hi everyone, We've just released NSubstitute 4.0.0, after trials of the 4.0.0 Release Candidate 1
1/30/19
Srinath Upadhya
, …
David Tchepak
7
1/9/19
C# Mocking a method to return a different value when called a second time using NSubstitue
When you have inter-related calls like that it gets a bit trickier. Mandatory disclaimer: if we need
unread,
C# Mocking a method to return a different value when called a second time using NSubstitue
When you have inter-related calls like that it gets a bit trickier. Mandatory disclaimer: if we need
1/9/19
Bruno Silva
,
David Tchepak
5
12/17/18
Argument Matchers and ref/out keywords
Hi, thank you for your fast answer. We had a lot of a lot of work to overcome some problems,
unread,
Argument Matchers and ref/out keywords
Hi, thank you for your fast answer. We had a lot of a lot of work to overcome some problems,
12/17/18
Dorra Bartaguiz
,
David Tchepak
3
12/7/18
UnexpectedArgumentMatcherException thrown when running all tests but no exception thrown when running class tests
Tks David, I always used Arg.Any() to ignore the value of the parameter :p I understand now the use
unread,
UnexpectedArgumentMatcherException thrown when running all tests but no exception thrown when running class tests
Tks David, I always used Arg.Any() to ignore the value of the parameter :p I understand now the use
12/7/18
David Tchepak
11/18/18
[ANN] Introducing NSubstitute.Analyzers (1.0.2)
Hi everyone, With the announcement of the NSubstitute 4.0.0 release candidate I also wanted to
unread,
[ANN] Introducing NSubstitute.Analyzers (1.0.2)
Hi everyone, With the announcement of the NSubstitute 4.0.0 release candidate I also wanted to
11/18/18
David Tchepak
11/18/18
[ANN] NSubstitute 4.0.0-rc1 release candidate
Hi everyone, We've released NSubstitute 4.0.0-rc1 to NuGet. Due to the scope of the changes in v4
unread,
[ANN] NSubstitute 4.0.0-rc1 release candidate
Hi everyone, We've released NSubstitute 4.0.0-rc1 to NuGet. Due to the scope of the changes in v4
11/18/18
Bruno Silva
,
David Tchepak
2
11/15/18
Issues with partial mock inside an another
Hello, With NSubstitute 3.x we need to make sure the base method (which throws) is not called before
unread,
Issues with partial mock inside an another
Hello, With NSubstitute 3.x we need to make sure the base method (which throws) is not called before
11/15/18
Meyrick Kirby
,
David Tchepak
3
10/25/18
Add ReturnsSelf extension method?
David, Thanks for the prompt reply. I think that helps. Meyrick
unread,
Add ReturnsSelf extension method?
David, Thanks for the prompt reply. I think that helps. Meyrick
10/25/18
laomao
,
David Tchepak
2
8/21/18
How to mock the HttpSessionStateBase with vb.NET
Hi, I am not proficient with VB, but I believe this is due to late binding as described here: https:/
unread,
How to mock the HttpSessionStateBase with vb.NET
Hi, I am not proficient with VB, but I believe this is due to late binding as described here: https:/
8/21/18
Roberto Abreu
,
David Tchepak
3
8/16/18
Are substitutes thread-safe?
Haha! Ok, thank you very much for the information! Best, Roberto On Wednesday, August 15, 2018 at 7:
unread,
Are substitutes thread-safe?
Haha! Ok, thank you very much for the information! Best, Roberto On Wednesday, August 15, 2018 at 7:
8/16/18
Nicodemus Chan
,
David Tchepak
3
8/13/18
Should I remove my mock/stub NSubstitute once my actual implementation has been developed?
Thanks. I think your answer helped to clarify my thoughts. I guess the answer is it depends on the
unread,
Should I remove my mock/stub NSubstitute once my actual implementation has been developed?
Thanks. I think your answer helped to clarify my thoughts. I guess the answer is it depends on the
8/13/18
Martin From
,
David Tchepak
3
6/21/18
How to check if any interaction with the fake has happened?
Hi David, Thanks for the quick reply. RecievedCalls().Any() works perfectly :) (don't know why I
unread,
How to check if any interaction with the fake has happened?
Hi David, Thanks for the quick reply. RecievedCalls().Any() works perfectly :) (don't know why I
6/21/18
John B
,
David Tchepak
5
5/28/18
Check if Action is called, more readably
Oh, that's what I need to know. Thanks! On Sat, May 26, 2018, 8:34 PM David Tchepak <tchepak@
unread,
Check if Action is called, more readably
Oh, that's what I need to know. Thanks! On Sat, May 26, 2018, 8:34 PM David Tchepak <tchepak@
5/28/18
John Schroeder
,
David Tchepak
4
3/28/18
Checking received calls changed after NSubstitute 1.10.0.0
Thanks for clarifying. Just checked the group and it looks like it flagged your earlier response for
unread,
Checking received calls changed after NSubstitute 1.10.0.0
Thanks for clarifying. Just checked the group and it looks like it flagged your earlier response for
3/28/18