v4.2.2 (2020-06-13)
Fixed bugs:
- Mocked out parameter value is stuck inspite of calling CallRouter.Clear(ClearOptions.All) #589
Closed issues:
- Is there a way to specify receive times for same function with different argument? #620
- DidNotReceive() and Received() results True if property is sring[] #618
- Substitute.ForPartsOf() usage -- or Alternative? #608
- Exceptions by NSubstitute affect the next test #605
- Calling .Returns with the return value of a previously-configured substitute results in default value instead #603
- Setting returnvalue to a substitute, previously configured in a AutoFixture.Register() call - throws CouldNotSetReturnDueToNoLastCallException #602
- Intermittent ArgumentNullException thrown in AutoTaskProvider #600
- Improve project structure (csproj) #593
- An unmocked method leaves its out parameter value untouched #590
- Can we have an aditonal overload of Received() #588
- Building on Mac/Linux with net45/net46 targets #335
Merged pull requests:
- Update rake to 13.0.1 #611 (dtchepak)
- Doc fixes #606 (dtchepak)
- Fix thread-safety issue in AutoValueProvidersFactory #601 (zvirja)
- Improve organization in csproj files #594 (joaopgrassi)
- Make dotnet build work without having NetFX installed #592 (joaopgrassi)
v4.2.1 (2019-07-15)
Fixed bugs:
- Assigning out arg can throw when using inheritance #577
Closed issues:
- Nsubstitute mock method with any arguments is not working .net core #580
- Method Save() not found on Interface Microsoft.Office.Interop.Outlook.AppointmentItem when used in different project #575
- [SOLVED] Checking a specific Received Call when method is called multiple times but with different parameters. #574
- Raise.Event() is not thread-safe, or is subject to race condition #573
- Calling InOrder is causing the next test to error out. #572
- Received.InOrder invokes "returnThis" callback for substitute methods when it shouldn't(?) #569
- Build doesn't run if working directory is
build
folder #568 - Remove NuGet binary from repo #562
- Unable to compile project without manually adding entry with System.Runtime to *.csproj file #501
- Investigate moving build to FAKE 5 #440
Merged pull requests:
- Do not invoke configured result in query #579 (zvirja)
- Fix by ref value might be not re-assigned #578 (zvirja)
- Minor tweaking of build script #571 (zvirja)
- Use absolute path for the solution and project files #570 (alexandrnikitin)
- Update to FAKE 5 #490 (alexandrnikitin)
v4.2.0 (2019-05-19)
Fixed bugs:
- Error raising Action<T> events when T is an array of a reference type #560
Closed issues:
- Received range of calls #558
Merged pull requests:
- Add NSubstitute.Analyzers recommendation to bug report template #566 (dtchepak)
- Add Quantity.Within(min, max) (#558) #564 (dtchepak)
- Fix event params ambiguity and add thread-safety #563 (zvirja)
- Use
default
keyword when AnyArg is used #559 (zvirja) - Post 4.1 prep #557 (dtchepak)
v4.1.0 (2019-05-04)
Fixed bugs:
- Internal Exception #533
- ArgumentOutOfRangeException when Arg matcher is used with class nested in generic class #515
- It's a library #545 (dtchepak)
Closed issues:
- Received().Property do not return a value mocked by Returns() method #548
- Where is
any Boolean
coming from. #544 - How to verify function calls with params keyword #539
- Using both DateTimeOffset and DateTimeOffset? in an interface gives unexpected error #538
- Setting out and ref args documentation #535
- NS2003 triggers a warning when InternalsVisibleTo using strong name #522
- Mock a void method without out/ref parameters #517
- Please change the link of the repo to HTTPS and enforce https on nsubstitute.github.io #505
- Docs: Document reason we don't support non-virtual members #502
- Upgrade to 4.0 causes event not to work #500
- Docs: mention limitations of
internal
members #498 - Migrate from
licenceUrl
tolicense
element in nuspec #495 - Docs: Update website to de-emphasise discussion group #485
- Search documentation #35
Merged pull requests:
- Remove redundant argument specs cleanup #556 (zvirja)
- Rethrow exception wrapped in task #555 (zvirja)
- Use license expression instead of file #554 (zvirja)
- Add ability to decorate existing registrations #553 (zvirja)
- Rephrase to avoid potential confusion #552 (zvirja)
- Fix Travis CI build #550 (dtchepak)
- Update arg matcher misuse docs #549 (dtchepak)
- Eliminate unnecessary allocations and improve performance #547 (zvirja)
- Test auto-subbed Tasks are completed (#541) #543 (dtchepak)
- Improve return configuration #542 (zvirja)
- Doc updates #540 (dtchepak)
- Use Castle to generate delegate proxies #537 (zvirja)
- Improve NSubstitute performance #536 (zvirja)
- Added Nuget badge for README #531 (304NotModified)
- Improve Code fences #530 (304NotModified)
- Correctly format nested generic type name #527 (zvirja)
- Code fences in docs #526 (dtchepak)
- Corrected to non-virtual instead of virtual #516 (MNF)
- Only instantiate relatedCalls if required #514 (dtchepak)
- Fix customizations might be ignored by NSubContainer #513 (zvirja)
- Http links to https, updated dead links #512 (304NotModified)
- Include website artifact in appveyor build #511 (dtchepak)
- Switch website and code references to https #509 (dtchepak)
- Links to https in readme #504 (304NotModified)
v4.0.0 (2019-01-29)
Closed issues:
- Using Arg.Any<T>() to conditionally check derived types causes return callback to run #491
- Documentation: Configure() extension method not yet in production #486
Merged pull requests:
- Update CHANGELOG.md for 4.0.0 release #494 (dtchepak)
- Docs: Configure() only available in 4.0 and above (#486) #487 (dtchepak)
v4.0.0-rc1 (2018-11-19)
Fixed bugs:
- Calling When on partial substitute fails for async methods #467
- The type is marked as eligible for type equivalence #431
- RobustThreadLocal leads to the failure due to null value #381
- Interface same name of methods problem #372
- Arg.Any restriction fails for null reference #291
- .Returns() with multiple return values does not work correctly the first time it's called #225
Closed issues:
- Callback not fired for void when Arg.Any passed #484
- Docs: update Analyzer docs #474
- Docs: update changelog with full change list for 4.0 #473
- Docs: Clarify [Obsolete] messages #472
- Documentation: document breaking change CS8153 when going to 4.0 #471
- Upgrade jekyll #464
- Consider enabling GitHub dependency analysis for NSubstitute repository #463
- Remove default, parameterless constructor constraint on virtual concrete mocks #461
- Recieved() not recognizing matching call #460
- Cannot validate mock of method with out parameter received a call. #459
- Cleanup redundant interfaces (e.g. IMixedArgumentSpecificationsFactory) #456
- Does not match if mock out parameter name matches out parameter name in outer method #455
- Matching calls is acting weird when same argument is used but different properties between the calls #454
- Intermittent failure of DidNotReceive with
Expected to receive a call matching
#453 - Return from async function #451
- Support netstandard 2.0 directly #446
- Received.InOrder Missing Calls #443
- Using Substitute for a method that continuous caller won't invoke the Returns that was specified. #441
- Add function to reset SubstitionContext #439
- Custom Matchers problem explanation #438
- Documentation: add
virtual
requirement to Getting Started and readme #437 - DidNotReceive()/Receive() with specific parameters check ignore the params #436
- Substitute returning null with AutoMapper #430
- Now that TypeScript 3 is out, I made this NSubstitute port #428
- Disabled interception in constructors lead to very confusing behavior #423
- CI: Test release only #422
- Castle.DynamicProxy TypeLoadException 'Foo' does not have an implementation #414
- Update CI builds to also run tests from the documentation #413
- Docs: Update docs to include NSubstitute.Analyzers info #411
- Docs: Update non-virtual members warning #409
- Add API to call base method for non-partial proxy #405
- Replacing Return values/callbacks doesn't always work #402
- Add support for the
out
andref
parameters matchers #401 - Improve ambiguous args message #400
- Document out parameters & arg matchers #399
- Feature request for Returns Extension. #397
- Improve interface proxy generation performance #394
- Argument matcher of received call does not match object state during call #392
- Checking a received call for a string argument value fails for identical strings #384
- Unable to mock interfaces that consume value types by reference #378
- Update documentation to suggest Configure() method #377
- [Unity3d] Expression-bodied members is a problem for Unity3d #360
- Remove NSubstitute.Experimental.Received in v4 #351
- Add ability to use the specifying route for methods without args #350
- Please expose
sub.Received\(quantity\)
#348 - Publish XML documentation with nuget package #345
- Update footer on the main doc page #342
- Add back .NET 4.0 target to NSub 3.x #341
- Mocking of the nested property call #340
- Subscribes automatically to events #337
- Consider removing the Extensions.Zip() method or make it internal #336
- Arg.Out, ReturnsLate feature request #333
- Look at restoring pre-NET46 targets for 3.x #329
- Code analyzers feature #328
- Add test for signing #327
- Should throw on unused arg matchers #279
- Add
Arg.IsNot
(was "Can't replace aReturn
that throws") #254 - Substitute.For delegate much slower than for interfaces and classes #248
- Ability to set current SubstitutionContext in a thread-safe manner #220
- Substitute operation definition with overlapping cases #177
- Allow direct use of SubstituteFactory #150
- Don't execute Returns actions while configuring a call #146
- Additional Args on stack should throw good exception #89
Merged pull requests:
- Document arg matchers in expression trees #483 (dtchepak)
- Change link to Travis CI #481 (zvirja)
- Add a few important entries to the change log #479 (zvirja)
- Clarify obsolete messages in SubstitutionContext #478 (dtchepak)
- Add support for custom IArgumentMatcher<T> #477 (zvirja)
- Doc updates v4 #476 (dtchepak)
- Add CompatArgInstance for aiding migration to v4.0 #475 (dtchepak)
- Improve version calculation in build scripts #470 (zvirja)
- Add When() extensions for async methods #468 (zvirja)
- Publish NuGet package as build artifact #466 (zvirja)
- Jekyll upgrade #465 (dtchepak)
- Make next route configuration thread local #462 (zvirja)
- Remove non used code and close internal extensions #458 (zvirja)
- Reorganize ArgumentSpecification factories to simplify tree #457 (zvirja)
- Docs: out/ref arg matchers, CompatArg, non-virtuals warning #452 (dtchepak)
- Add feature to call base for the specified methods #449 (zvirja)
- Add dependency injection to easily customize NSubstitute #448 (zvirja)
- Support .NET Standard 2.0 directly #447 (zvirja)
- Reuse CallResults implementation for type results #435 (zvirja)
- Remove SequenceNumberGenerator from SubstituteState #434 (zvirja)
- Add issue templates #432 (dtchepak)
- Fail if base call configuration is illegal #429 (zvirja)
- Always generate delegate containers in unique scope #427 (zvirja)
- Call base members before proxy is fully initialized #425 (zvirja)
- Run only Release build on CI #424 (zvirja)
- Use statically defined IsReadOnlyAttribute type #421 (zvirja)
- Ensure parameters with 'in' modifier cannot be modified #420 (zvirja)
- Allow to configure "Call Base" feature at runtime #419 (zvirja)
- Remove obsolete build scripts from solution #418 (zvirja)
- Improve build scripts #417 (zvirja)
- Ignore generated doc site and VIM tmp files #416 (zvirja)
- Add analyser links to readme, and updated support options #415 (dtchepak)
- Updating docs with Configure() and analysers info #412 (dtchepak)
- Docs: Update non-virtual members warning #410 (dtchepak)
- Update to Castle.Core 4.3.0 #408 (dtchepak)
- Update NUnit to correctly report explicit tests #406 (zvirja)
- Support argument matchers for by ref args #404 (zvirja)
- Improve ambiguous exception diagnostics capabilities #403 (zvirja)
- Adding benchmarks build target #398 (dtchepak)
- Add project with common benchmarks #396 (zvirja)
- Optimize array allocation to boost the proxy activation performance #395 (zvirja)
- Add quick test whether method is event/property part #391 (zvirja)
- Minor performance improvements #390 (zvirja)
- Create IAutoValueProvider factory with all supported providers #389 (zvirja)
- Cleanup SubstituteState from members not related to state #388 (zvirja)
- Remove non-used PendingSpecificationInfo property #387 (zvirja)
- Allow to run arbitrary queries on ThreadLocalContext #386 (zvirja)
- Verify assembly is always signed #385 (zvirja)
- Refactor SubstituteContext to decouple the thread local context #383 (zvirja)
- Fix ArgumentNullException on the finalizer thread #382 (zvirja)
- Improve delegate proxy generation #380 (zvirja)
- Introduce proxy id to simplify identification #379 (zvirja)
- Add synchronization to delegate wrapper builder #376 (zvirja)
- Use original arguments when modified value is not required #375 (zvirja)
- Limit Castle Core to 4.2.1 which has fix for #372 #374 (alexandrnikitin)
- Add EditorConfig file #370 (zvirja)
- Swap params #369 (jiimaho)
- Add tests for substituted properties that used as argument matchers #367 (alexandrnikitin)
- Doc update 4x #366 (dtchepak)
- Refactor CallRouter for better readability #364 (zvirja)
- Refactor primary type lookup logic for better readability #363 (zvirja)
- Rework delegate proxy generation approach to improve performance #362 (zvirja)
- Improve pending specifications diagnostics #361 (zvirja)
- Expose sub.Received(Quantity) extension method (#348) #359 (dtchepak)
- Refactor ICall creation and argument matchers queue usage #356 (zvirja)
- Optimize CallResults to perform single lookup for result instead of two #355 (zvirja)
- Improve MatchArg debug display #354 (zvirja)
- Fix one configuration could prevent from other configuration #347 (zvirja)
- Fix Travis CI build #343 (alexandrnikitin)
- Fix broken link #339 (ChrisMaddock)
- Doc: Sample for event invocation check #338 (jsbed)
v3.1.0 (2017-10-27)
Fixed bugs:
- Could not load file or assembly NSubstitute #332
Closed issues:
- Calling stubbed methods with out params only works once #334
- upgrading v2 -> v3 adds lots of noise to my csproj and config files #331
- Fix travis-ci build -- signing #326
- [Critical] NSubstitute 3.0 is not signed #324
- NSubstitue with Received isn't working correctly in .Net Core 2 #321
Merged pull requests:
- Adding support for net45 to 3.x (#329) #330 (dtchepak)
- Support for returning ValueTask<T> results. #325 (KrzysztofBranicki)
v3.0.1 (2017-10-08)
Closed issues:
- Update build after migration to netstandard-1.3 #319
- I just upgraded to Castle Core v4.2.0 and I am getting an assembly binding error #317
- Using Arg.Any<Func<in T, out TResult>> in Received throws NullReferenceException #312
- Clearing
DoNotCallBase
#309 - System.Reflection.ReflectionTypeLoadException on parallelized NUnit tests #307
- Fake db context which is invoked inside query handler #285
- Checking if method received with Arg.Any<string>() parameter, NSubstitute expects <null> #278
- Add info to AmbiguousArgumentsException #262
- How to get ICallSpecification from ReceivedCalls() / ICall #253
- Implicitly implement substituted interfaces #250
- DynamicProxyGenAssembly2 hardcoded name #249
- .NET Core - HttpWebRequest #245
- Issue Generating Generic Substitute where the generic doesn't have a specific definition #240
- Portable Class Library support #236
- Issue using NSubstitute with AutoFixture and parallel tests execution #227
- Unexpected behaviour with public non-virtual method that uses a protected virtual method #223
- Is it possible to fake a protected virtual method? #222
- Received() fails if values of output arguments are not right #221
- Unable to return value from another substitute #217
- Configuring return values for a substitute created with ForPartsOf registers a received call #213
- Initial mock creation takes long time #206
- ForPartsOf<T> doesn't run real code in constructor #188
- Introdce a ReturnsMany() extension method to be able to substitute an IEnumerable of an interface #184
- Substitute.For(typesToProxy, constructorArguments) throws ArrayTypeMismatchException on Mono #174
- Argument matchers cause side effects when used for nothing #167
- Non virtual methods on a class automatically pass in testing framework .Received().XXX is called. #166
- Better support for delegates would be nice #131
- Raising event on substituted class fails #121
- ArgumentNullException while mocking a large interface in a unit test project #120
- Clearing Out All Substitutions #106
- Generate diagnostic when trying to call Received on a non-virtual method #105
- Exception should be thrown when trying to apply Returns on something that isn't a substitute #104
- If one interface implements another interface and both contains the same property the property is not set on the original object that implements the first interface #95
- Conflicting Castle reference #86
- Add extension point for substitute initialization #85
- .Net 4.5 assembly / Windows 8 apps #82
- OOM with large Interop's #74
Merged pull requests:
- Change .txt to md files for better visualization #322 (StefanKert)
v3.0.0 (2017-10-06)
Closed issues:
- Upgrade Castle.Core to 4.1.0 #315
- Convenient method to get arguments by which a call is made #313
- System.ComponentModel.TypeConverter 4.0.1 was not found #310
- Mocking async methods in partial mocks throws NullReferenceException #308
- out arguments not working in 2.0.3 #305
- .NET Core support #301
- Redundant dependencies for .NET 4.6.2 projects #295
- Received Calls doesn't work #284
- Sync netcore and .NET projects #246
- Extension methods don't work for dynamic returns #144
Merged pull requests:
- 3.0 prep #320 (dtchepak)
- Fixes warning System.ComponentModel.TypeConverter 4.0.1 was not found #311 (StefanKert)
- Refactor .NET Core support #306 (alexandrnikitin)
v2.0.3 (2017-04-25)
Closed issues:
- Mono:Update to latest version and getting this error on the build. #299
- Update to latest version and getting this error on the build. #298
- Integration with Autofac (or other container) #292
- requiredcodeblock not displaying on Docs website #290
- does a mock by example feature exist? #289
- IOrderedEnumerable<Generic> argument gives AmbiguousArgumentsException #288
- The type initializer for 'NSubstitute.Core.SubstitutionContext' threw an exception. #287
- 2.0.1 release #286
- Issue with returning multiple values for Async Methods #282
- UWP Support #303
Merged pull requests:
- changing to netstandard 1.3 #304 (ipjohnson)
- Fix AppVeyor CI #297 (alexandrnikitin)
- Thread-safe implementation of ReturnMultipleValues. #294 (jbialobr)
- Update notice on recursive substitutes and classes #293 (dsolovay)
v2.0.2 (2017-02-27)
Closed issues:
- NSubstitute + AppVeyor + XUnit error : some predicates not called ? #281
- Unexpected behavior of .Received(). #280
- Delegate substitute does not set out parameter values #271
- NullReferenceException when using ReturnsNull on an method returning a Task #270
- .Returns fires all delegates registered previously on Substitute #268
- Intermittent AmbiguousArgumentsException when running tests in parallel #260
Merged pull requests:
- Add ReturnsNull support for methods returning tasks #277 (michael-wolfenden)
- Fix a typo (secenarios) in callbacks doc #274 (christianrondeau)
- Fixes delegates out/ref parameters #273 (alexandrnikitin)
rc2.0.1 (2016-12-17)
Closed issues:
- Returns with matching arguments does not work when debugging test or during isolated execution #267
- Possibility to provide a setup action in Substitute.For #266
- Question: Why default route is recreated for each time? #263
- Cannot check received when mock is called from method with out parameter #258
- Substitute for method with Expression<Func<T,>> parameters won't work #257
- Threading issue with CallRouter. #256
- Use newer NUnit version #255
- Does a Substitute with Return needs a recieved definition also when confirming the call?? #252
- CallInfo caller #251
- Abstract class substitution testing Received with Arg.Any on an interface with parameters #247
- How to build NSubstitute.csproj for local testing purpose? #244
- Support for .NET Core #192
- Remove build dependency on Rake #180
Merged pull requests:
- Fix Travis CI OSX build #265 (alexandrnikitin)
- Castlecore 4.0.0 beta002 #261 (dtchepak)
- Add extensibility point for custom auto providers #259 (zvirja)
rc2.0.0 (2016-08-07)
Closed issues:
- Oddness with IList<T> mocks. #241
- Received InOrder breaks other tests when an error occurs #237
- can't clear Arg.Do<T>(() => {}) #235
- Framework 4.6.1 support #232
- Received() doesn't fail if argument used is returned by substitute itself #230
- Out parameter requires resetting before subsequent calls will match 'Returns' argument matcher. #229
- NSubstitute .Received() does not failed when checking extension method call #228
- Support returning empty collections for new collection interfaces in 4.5 #154
- Ability to use add reason for a check #108
- Verifying event subscriptions #107
Merged pull requests:
- Resolve issue 237 by wrapping method callsin try finally. #238 (m3zercat)
- Document that the position for ArgAt is zero-based #231 (asbjornu)
- .NET Core support #197 (alexandrnikitin)
v1.10.0 (2016-03-30)
Closed issues:
- Does NSubstitute Support Strict Mode or going to? #219
- IDisposable mocking #218
- Received and Arg.Is<object> #216
- Bug Set_out_argument_via_returns when out arg not null #215
- Params arguments not formatting for values types like
params int\[\]
#214 - Reseting substitutes between tests #212
- CallSequenceNotFoundException should list details of params arguments #211
- Auto-mocking an IObservable pushes a value #210
- Problem with parallel substituting for delegates #205
- Auto-subbing from IQueryable #67
Merged pull requests:
v1.9.2 (2015-10-22)
Closed issues:
- Substitutes set up to throw exception for methods with return type Task<T> cause compilation error #208
- Random CouldNotSetReturnDueToTypeMismatchException #204
Merged pull requests:
v1.9.1 (2015-09-30)
Closed issues:
- ReturnsForAll<T> documentation #199
v1.9.0 (2015-09-28)
Closed issues:
- ReturnsForAll<T> #196
- NSubstitute in Unity Testing Tool and partial mocks #194
- Return non-null when using Received() with async method #190
- Add ReturnsTaskResult for async methods #189
- Faking a call to an array for a particular index raises an exception #187
- Subsequent argument matchers return null when passed to CallInfo #186
- Extend CallInfo to have information about generics type on the call #185
- Returns() not working as expected with Substitute.ForPartsOf<T>() #159
Merged pull requests:
v1.8.2 (2015-05-29)
Fixed bugs:
- Checking received calls on base of partial sub #173
Closed issues:
- Argument matcher as variable causes false positive test #183
- NSubstitute throws when substituted type contains virtual event or is interface with event #182
- Make easy and safe to get typed parameter from CallInfo #175
- Proxy to target, or easy reset #157
- Easy way to return null #87
v1.8.1 (2014-12-26)
Closed issues:
- Can't create a substitute for a method returning multidimensional array #170
- Allow passing multiple functions in WhenCalled.Do #169
Merged pull requests:
- Fixes Issue #170 (multidimensional array bug) #171 (alexandrnikitin)
v1.8.0 (2014-11-11)
Closed issues:
- Optional arguments in constructor #165
- Using Arg.Any<>() in .Returns() causes unexpected behavior #149
- IEnumerable should return an empty array #148
- MSBuild All The Things #117
- Does not work with members that use dynamic #75
- Support for Partial Mocks #41
Merged pull requests:
- Added more convenient setup of throwing exceptions. #158 (geirsagberg)
- Added a passing test for args passed by ref within #129 #147 (alexandrnikitin)
v1.7.2 (2014-03-03)
Closed issues:
- Bug when using out parameter in an inline method call #142
- AmbiguousArgumentsException with int out/ref arg #134
- Ambiguous args with out/ref arg #129
Merged pull requests:
- Issue 75 Does not work with members that use dynamic #141 (alexandrnikitin)
- IObservable<T> should never return null #137 (anaisbetts)
- Add .NET 4.5 Build #135 (anaisbetts)
v1.7.1 (2014-01-16)
Closed issues:
- DidNotReceive with Count #130
- Actually received no matching calls #109
- Partial mocking when unit testing a virtual method that calls another virtual method #93
Merged pull requests:
- #129 Ambiguous args with out/ref arg #132 (alexandrnikitin)
v1.7.0 (2014-01-03)
Closed issues:
- BeCloseTo for timespan #128
- NSubstitute throws exception setting up return value when it's a sealed class with no public method #125
- Improve error message #124
- Mocking concrete classes with a public static method breaks the substitutes #118
- List parameters doesn´t detect received calls #115
- Args matches with optional parameters broken #114
- Args matches with out/ref broken #111
- NSubstitute can't produce proxys in Mono (as requested) #76
Merged pull requests:
- Fix for Issue 118 #119 (robdmoore)
- Possible issue with check of optional parameters #113 (alexandrnikitin)
v1.6.1 (2013-06-30)
Closed issues:
- SerializationException thrown on user exception in Raise.EventWith() #110
- Allow chaining a callback method before the Returns call. #98
v1.6.0 (2013-04-19)
Closed issues:
- TypeLoadException when debugging #96
- Automock Task/Task<T> #90
- Run tests over multiple framework version as part of build #29
- Out and ref parameters #21
- Query model for received calls #18
- Silverlight compatibility #17
- Ordered mocks #12
Merged pull requests:
- BUGFIX: Fixed handling of value-type params array parameters #102 (eric-winkler)
- Adding UIPermissionAttribute to AttributesToAvoidReplicating used with Castle Dynamic Proxy. #101 (appel1)
v1.5.0 (2013-01-25)
Closed issues:
- Return multiple results from collection of Funcs #99
- Argument matchers in class that overwrites Equals #77
Merged pull requests:
v1.4.3 (2012-08-15)
Closed issues:
- Calls to generic methods with struct constraint #83
- ReturnsForAnyArgs seems to nolonger work for optional parameters #81
v1.4.2 (2012-07-01)
v1.4.1 (2012-06-28)
Closed issues:
- Nullable args broken #78
v1.4.0 (2012-05-04)
Fixed bugs:
- Exception substituting for internal types of a friend assembly #69
Closed issues:
- Losing items from IEnumerable<T> #70
- Received() should keep a copy arguments to the call #66
- ReceivedCallsException should list details of params arguments #65
- Race condition between checking received calls #64
- Auto-subbing from Func delegates #52
v1.3.0 (2011-11-19)
Fixed bugs:
- Multi-threaded calls to a substitute #62
Closed issues:
- Documentation (ongoing) #30
v1.2.1 (2011-10-10)
Fixed bugs:
- Arg.Any<subclass>() not overridden properly by ReturnsForAnyArgs() #55
- Stub any string and pass null throws null ref from NSub (1.2) #61
- Avoid replicating ServiceContractAttribute #60
- Mixing Arg.Do with Returns for properties #59
- Setting virtual prop in ctor causes Returns to use auto-sub #57
Closed issues:
- 12 failing tests in the master branch #58
v1.2.0 (2011-09-05)
Fixed bugs:
- Property behaviour for indexers don't work #53
Closed issues:
- NSubstitute CI Build #54
- nSubstitute fails when trying to substitute Microsoft.Office.Interop.Word.Application #43
Merged pull requests:
v1.1.0 (2011-05-21)
Fixed bugs:
- Exception when using null parameter for raising events #47
- CallInfo.Arg<T>() fails for null argument #45
Closed issues:
- Received() and DidNotReceive() should have decent error msgs when called on null #46
v1.0.0 (2010-12-21)
v0.9.5 (2010-12-14)
v0.9.0 (2010-09-21)
v0.1.3 (2010-08-16)
v0.1.2 (2010-07-16)
v0.1.1 (2010-07-01)
v0.1.0 (2010-06-28)
v0.0.0 (2009-07-27)
* This Changelog was automatically generated by github_changelog_generator