-
### 🚀 Feature Request
Currently, `Route.fulfill` only accepts `string|Buffer` as body type. Add nodejs type [`ReadableStream`](https://nodejs.org/api/stream.html#readable-streams) to permit streamed …
-
Stub suggestion sometimes gets cut off
```r
some_fun_call()
Error: Real HTTP connections are disabled.
Unregistered request:
POST: https://something.com xxxxxx
You can stub this reques…
-
The stub `with` presently expects arguments that are `Protobuf::MessageExts` or a hash (where the hash syntax supports constants, regexes, and rspec matchers).
This allows for fine-grained stubbing…
-
_Disclaimer: I will note that this is an "advanced" use case which may not be solvable, but I wanted to have a discussion first._
Hello @wojtekmach, thank you for your amazing library, I love Req!
…
-
**Problem Description**
When attempting to stub a function with a verified function contract using `kani::stub_verified`, a compilation error occurs if the function's return value is a pointer.
**…
-
**Is your feature request related to a problem? Please describe.**
We have a large nodejs code base full of fonction expressions such as
```
export const myFunction = () => {
return true
}
…
forty updated
1 month ago
-
Opening this issue to begin discussion on how we should handle testing with v2. Currently the unit tests return mocked data and integration tests require containerlab to be spun up.
I propose the …
-
Right now, we do not support stubbing methods declared in traits. Consider this example:
```rust
trait A {
fn foo(&self) -> u32;
fn bar(&self) -> u32;
}
trait B {
fn bar(&self…
-
### 🚀 Feature Proposal
I would like to complete the mocking/stubbing picture with an easy way to create a stub instance of an class.
This feature should be similar to Sinon's [`createStubInstance`…
-
**Is your feature request related to a problem? Please describe.**
Currently the mocking tool doesn't support stubbing getter/setter properties. It only allows stubbing functions. Other mocking too…