Package com.redis.vl.test.vcr
Annotation Interface VCRDisabled
Disables VCR functionality for a specific test method.
When applied to a test method, this annotation completely disables VCR for that test. All LLM calls will go to real APIs and nothing will be recorded or played back.
Example usage:
@VCRTest(mode = VCRMode.PLAYBACK)
class MyLLMIntegrationTest {
@Test
void usesPlayback() {
// Uses cached responses
}
@Test
@VCRDisabled
void bypassesVCR() {
// VCR is completely disabled - real API calls, no caching
}
}
- See Also: