Skip to content

Testing

Ahmed edited this page Mar 16, 2026 · 2 revisions

Testing

EventLens relies on comprehensive integration tests to ensure data is safely and accurately read from databases.

Integration Tests

Integration testing relies on Testcontainers. EventLens tests spin up ephemeral PostgreSQL and Kafka instances via Docker to run queries against real infra. You must have the Docker daemon running locally to execute the full integration suite.

Running Tests

Run all tests via Gradle in the root directory:

./gradlew test

For the UI, you can run tests directly inside the eventlens-ui directory using npm:

cd eventlens-ui
npm run test

Return Home

Clone this wiki locally