-
I use both Webmock and VCR. In some cases, I don't use VCR and I just use Webmock.
When I do something like this:
```ruby
stub_request(:post, 'https://api.github.com')
```
but my request does
…
-
**Channel**
C++Weekly
**Topics**
What, when and how should I use mocking in my tests ?
Should I refactor my whole code just to add dependency injection for mocking to be possible ?
**Len…
-
I have tried to run a simple test-case with Mockk https://mockk.io/, but it doesn't work.
````
class PitMockkDepUseCaseTest {
@Test
fun test() {
mockkConstructor(PitProvider::…
-
Normally, Moq uses generic APIs which is a great thing for ensure strong-typed, refactor-friendly mocking API. However, when the scenario is that we need to mock a runtime type, we can descend into a …
-
JIRA Issue: [KIEKER-1702] Testing readers and writers
Original Reporter: Reiner Jung
***
Presently, we have many unit tests which are used to perform integration tests, which is not the best idea an…
-
We are using unittest as our main framework currently. However, as we move to data platform workflows, we can get a lot of advantages moving it to pytest instead.
One important point raised by @ca…
-
## Situation
- Unittest require a lot of mocking to be done.
- Most of the mocking is easy to write but it take too much time.
## Expectation
- A solution that consume a class/file then generate…
-
[fflib_ApexMock](https://github.com/financialforcedev/fflib-apex-mocks/blob/master/src/classes/fflib_ApexMocks.cls) has a potential bug: `static String extractTypeName(Object mockInstance)` only work…
-
`MockitoBean` is designed to replace the now-deprecated `MockBean` annotation. `MockBean` could target either a field or a type. Currently, `MockitoBean` can only target a field. This issue propos…
-
### Checks
- [X] I understand project setup issues should be asked on [StackOverflow](https://stackoverflow.com/questions/tagged/http-proxy-middleware) or in [GitHub Discussions](https://github.com/c…