-
### Expected Behaviour
We should use a well maintained library for mocking time in tests.
### Current Behaviour
The project introduced the https://github.com/benbjohnson/clock library for moc…
-
For mocking unit tests, we are currently using the Java library `org.mockito:mockito`.
In order that the tests for platform-independent application logic can be executed on any supported platform, …
-
### Is your feature request related to a problem? Please describe.
Will a library ever be implemented, similar to `Moto` for aws `boto3` that developers can use to mock out the box-sdk for unit testi…
-
### Description
I am struggling to find a way to combine the modern Redis v4 client with the jest test framework.
This is my production code:
```
import redis from 'redis';
import config from…
-
Instead of mocking stuff, there are Test... classes. Would be nice to get rid of these.
Current weapon of choice is FakeItEasy
-
ex: https://github.com/defi-wonderland/smock
-
Something like webmock.cr, but for the local file system. It would be very useful for testing. Ruby has something called FakeFS, so it should be entirely possible.
-
I have a structure with a field that is a map[string]interface{}, that is matching here is the diff.
```
map[string]interface {}=map[KEY:30]) != (map[string]interface {}=map[KEY:30]
```
Howev…
-
**Description**
We need to implement unit tests for the library to ensure code quality and functionality. The unit tests should cover various aspects of the library's functionality and should be wr…
-
``` js
// request-foo.js
import {mock} from 'mocktail';
import foo from 'foo'; // foo is a third-party dependency that makes and io operation
class Request {
...
}
export default mock(Request);
``…