-
Some of Desktop's vMix tests use `MOCK_VMIX` which uses strong-mock to mock the vMix client. This isn't great for a few reasons:
1. The user experience from Playwright tests isn't great, as you need …
-
- Will include creating mocks and stubs for functions,
- Add tests for individual functions
https://github.com/nginxinc/kubernetes-ingress/blob/main/internal/k8s/controller.go
To generate mocks:
…
-
Pretty much the question above, there's a very similar SO issue with no known solution
'm creating my `mocks.ts` file with the current plugin config
```ts
{
plugins: [
{
add: { con…
-
I'm working on creating a generator that collects all the necessary mocks to initialize a class. These mocks are generated using Sourcery, and it appears that the only way to include them in the sourc…
-
Just a heads up that the next version of httpmock will require some small changes.
I see one error and a deprecation
```
error[E0615]: attempted to take value of method `query_params` on type `…
-
Please read this:
https://docs.python.org/3/library/unittest.mock.html
-
Sometimes, it's unavoidable that a mock needs to have side-effects.
I think a pretty light-weight and satisfying solution would be something like this:
```
void my_callback(void *);
some_type *…
-
Hi,
I am trying to get this test runner working on Linux (WSL to be precise) and we use CMake.
To do the build I do:
cd {projectpath}\build\cpputests_tests
cmake ../../
make
and that runs …
-
[https://www.npmjs.com/package/mocks-server-lite](https://www.npmjs.com/package/mocks-server-lite)
Firstly to the author, feel free to close/delete if you want. Im only posting this here as this pr…
-
gmloose improved the test coverage of `slurm.py` by using snapshots of outputs of the results of the Slurm command line tools to improve tests coverage without requiring that Slurm be installed
https…