-
### Feature request
I really appreciated https://docs.bentoml.com/en/latest/guides/testing.html#unit-tests. It would be helpful to include also docs on mocking the bentoml decorated API methods.
…
smidm updated
1 month ago
-
### Prerequisites
Please answer the following questions for yourself before submitting an issue.
- [x] I am running the latest version
- [x] I checked the documentation and found no answer
- […
-
Sorry to keep pestering
-
I wanted to mock System.currentTimeMillis(), but it results in a Stackoverflow error.
```
@Test
fun `System`(){
mockkStatic(System::class)
every { System.currentTimeMi…
-
- [x] I am running the latest version
- [x] I checked the documentation and found no answer
- [x] I checked to make sure that this issue has not already been filed
### Expected Behavior
Can mo…
-
It would be very useful to mock internal/private functions.
I have a public/external function that calls a bunch of internal functions and I would like to change those internal functions behaviour.
-
- [ ] The mockito message in the stacktrace have useful information, but it didn't help
- [ ] The problematic code (if that's possible) is copied here;
Note that some configuration are impo…
-
**Is your feature request related to a problem? Please describe.**
- I'm working on a FastAPI project that uses the `supabase-py` client.
- I am writing tests focused on API interaction (payload va…
-
### 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/…
-
```
What steps will reproduce the problem?
1. Run the code attached
2. Observe the stacktrace
What is the expected output? What do you see instead?
Expected: No java.lang.StackOverflowError
Observe…