-
camel-quarkus seems to be lacking a way for dealing with mocks for external endpoints in tests: we have Camel routes and use them in Quarkus. For testing, @QuarkusTest works really well and provides u…
-
When trying to mock a module import using jest.mock, the mock is not utilized.
-
I'm trying to do the following
1. Get a fixture to return a server error (500)
2. Use retry(3) on the superagent
3. See that the fixture is called 3 times, and the get request ultimately fails.
…
-
```
What steps will reproduce the problem?
1. Create interface with virtual operator (e.g. operator==())
2. Create mock class implementing interface
3. Create instance of mock class
What is the expec…
-
```
I was wondering whether JsTestDriver supports mocking AJAX/jQuery calls?
I'm currently testing against an environment which I cannot get access to,
so the only way to do so is to mock up the AJA…
-
```
The test case below can pass with mockito 1.8.5 but failed with mockito 1.9.5.
MethodNotFoundException occurs.
@Test
public void test_mock_object_with_multiple_interfaces() throws Except…
-
```
The test case below can pass with mockito 1.8.5 but failed with mockito 1.9.5.
MethodNotFoundException occurs.
@Test
public void test_mock_object_with_multiple_interfaces() throws Except…
-
```
I was wondering whether JsTestDriver supports mocking AJAX/jQuery calls?
I'm currently testing against an environment which I cannot get access to,
so the only way to do so is to mock up the AJA…
-
```
What steps will reproduce the problem?
1. Unzip the eclipse project attached to the issue
2. Run the unit test.
What is the expected output? What do you see instead?
Expected the test to pass b…
-
```
I have a clas with the following constructor
public Struct(NameValue[] nameValueArray)
{
_nvs = nameValueArray;
}
that I want to mock. Problem is that I get Unexpected const…