Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in mocking

Behavior vs. State Based Testing

unit-testing mocking

Convert linq.Xelement to stream for XMLTextReader

vb.net unit-testing mocking

How do I mock an object in this case? no obvious way to replace object with mock

When to mock database access

Throw an exception from a grails mock method

Assert call to method using Mock python

python mocking

Mocking a method with conditional arguments using Moq

c# unit-testing mocking moq

Ruby Mock a file with StringIO

ruby file-io mocking stringio

is there a preferred way to test callbacks with pytest?

Mock for line in open(file):

python unit-testing mocking

Mock a static method with mockito

FakeItEasy sometimes fails to create a fake when tests are run in parallel

How to create a file to populate HttpContext.Current.Request.Files?

Mocking assert_called_with in Python

python unit-testing mocking

PowerMock test passes then fails

How does NSubstitute .Returns<T>() work?

c# mocking nsubstitute

Mock method with Consumer

java lambda mocking

Avoiding dispose of underlying stream

.net file mocking

How would I go about unit testing this?

Mocking up WifiManager for Android Unit Testing