-
## RNTL Cookbook
RNTL is feature-complete, so the next big frontier is documenting and sharing best practices so our users can get the most out of using RNTL. Specifically, we could have a signific…
-
I'm testing groovy file that uses a function from a shared library
foo.groovy
```groovy
def call(branch) {
if (!git.fetch(branch)) {
error "Error fetching ${branch}"
}
}
```
I wan…
-
**Is your feature request related to a problem? Please describe.**
When writing a web application that makes many API calls, it is often challenging to get good code coverage without mocking the API.…
-
### Description
While using `wp-scripts` to run unit tests of a block, I've encountered an issue with mocking `@wordpress/data` dependencies. For instance I would expect the following to allow me t…
-
I'm trying to do some slightly more complex mocking by using the '@imposter-js/types' library in a built index.js file but am finding that I don't have access to the `context.operation` object under t…
-
-
### Environment information
```plain text
System:
OS: macOS 14.5
CPU: (8) arm64 Apple M1
Memory: 168.66 MB / 16.00 GB
Shell: /opt/homebrew/bin/fish
Binaries:
Node: 20.11.1 - ~/.local/…
-
## `do_not_use_mockito`
## Description
Do not use `package:mockito`.
## Details
Mocking, or creating short-lived proxy objects that pretend to implement a type can be useful when testing c…
-
I'm currently using this library for mocking functionality on an Unreal Engine project, but the problem I'm running into is that to use this library I need to enable RTTI, however, Unreal Engine prefe…
-
Last time I was trying to port [MockK](mockk.io) to Kotlin JS, the problem was in Kotlin JS reflection. Just've trapped on a post in discuss about your plugin and thinking if I can give a second try t…