eval-dev-quality
eval-dev-quality copied to clipboard
Deal with dependencies requested by LLMs
Assume an LLM responds with something like
package com.eval;
import org.junit.jupiter.api.Test;
import org.mockito.InMockito;
import static org.junit.jupiter.api.Assertions.*;
class PlainTest {
@Test
void testPlain() {
InMockito.when(Plain::plain).thenReturn(null);
Plain.plain();
InMockito.verify(Plain::plain);
}
}
The test file needs mockito to run, and we need to make sure that this is available when executing the tests.
Response from custom-fireworks_accounts_fireworks_models_qwen2-72b-instruct