apps/opik-documentation/documentation/fern/docs/opik-university/5_testing/5.1-testing-pytest-integration.mdx
This video demonstrates how to integrate Opik's PyTest functionality into your development workflow, bridging traditional software testing with LLM application testing. Using a real-world call summarizer Streamlit application example, you'll learn how to write regression tests that ensure new features don't break existing LLM functionality, while creating comprehensive datasets from your test cases for ongoing evaluation.
@llm_unit decorator to transform any PyTest function into an LLM test that automatically captures traces and sends them to Opik projects@track decorated functions and integration-wrapped clients (like track_openai) for comprehensive test coverage