vanderkleij/Smocks
Smocks is a library for mocking the normally unmockable. It can mock static and non-virtual methods and properties, amongst others.
C#MIT
Issues
- 1
ERROR: Method not found: 'Void System.AppDomainSetup.set_ApplicationBase(System.String)'
#44 opened by PHuhn - 6
NullReferenceException
#18 opened by msallin - 1
Another System.NullReferenceException
#37 opened by brutaldev - 3
- 1
.net core support
#41 opened by astorDev - 3
- 0
Error: System.InvalidOperationException: Illegal operation due to the current state of the object
#43 opened by dm-conti - 0
Sequence contains more than one element
#42 opened by DavidKlempfner - 0
Add support for dynamic assemblies/PowerShell
#40 opened by bdonnahue - 0
- 0
Unexpected opcode: Initobj
#38 opened by VinS101 - 0
- 1
NullReferenceException
#35 opened by krilbe - 0
- 0
- 0
- 0
- 1
- 2
- 2
Not working with entity Frame work .
#24 opened by yeswanthepuri - 20
Can't run tests
#19 opened by Selvaticus - 3
- 1
NSubstitute Arg.Any not supported
#20 opened by shellydehaven - 1
async/await support?
#22 opened by andrelmp - 2
working fine
#23 opened by yeswanthepuri - 3
Base Directory resolving issue when using NUnit
#17 opened by harigutta - 7
Progress on event support
#15 opened by Sephizor - 5
- 2
Can we mock a non-public method?
#13 opened by jeetendrajaiswal - 8
- 0
- 4
'Invalid parameter count' thrown during setup of Callback for Instance methods that return void
#11 opened by paulose - 2
private functions are unable to setup context correctly, unless same setup is declare within Smock.Run
#7 opened by HanaKana - 9
Method under the test throws "InvalidProgramException - Common Language Runtime detects invaild program" exception.
#8 opened by jeetendrajaiswal - 2
How to mock the below method
#9 opened by jeetendrajaiswal - 2
calling static method in another function does not call shim unless it is called within the smock function.
#6 opened by HanaKana - 3
Smocks doesnt support method that takes local reference variables as a parameters.
#5 opened by Karthik-Venkatesalu - 1
- 2
Does smocks support concurrency?
#4 opened by ericbrumfield - 3
Shims do not affect events
#3 opened by Stoom - 2
Unable to handle out params
#2 opened by dlosee