Group: Selman
Sort by:Popular

Database-agnostic domain model (captured queries, statement types, bind parameters) and the SQL normalization pipeline shared by every other persistence-test module. Depends on nothing but JSqlParser - no Hibernate, no Spring, no JDBC ...
Last Release on Jul 26, 2026

3.Query Capture4 usages

li.selman » query-capture Apache

Captures every SQL statement executed through a DataSource by wrapping it with datasource-proxy, independent of whether the caller is Spring Data JPA, Hibernate, JdbcTemplate, or plain JDBC. Includes a JUnit 5 extension that resets ...
Last Release on Jul 26, 2026

4.Null Markeder1 usages

li.selman » null-markeder Apache

A library and ArchUnit-based test to ensure that every package in a Java project contains a package-info.java file annotated with JSpecify's @NullMarked annotation.
Last Release on Aug 2, 2026

5.Query Analysis1 usages

li.selman » query-analysis Apache

Reusable analyzers over captured queries: statistics, duplicate-query detection, repeated-query-shape/N+1 detection, and accessed tables. Depends only on persistence-test-core, so these are usable independently of the query-assertions ...
Last Release on Jul 26, 2026
Maven archetype for a Java library set up to publish to Maven Central: Error Prone/NullAway, Spotless, Checkstyle, a 100% JaCoCo coverage gate, GitHub Actions CI/release/Pages workflows, JReleaser, and the usual community-health files ...
Last Release on Jul 26, 2026

7.Hibernate Support

li.selman » hibernate-support Apache

Optional Hibernate integration: resolves a JPA entity class to its mapped table name via a live EntityManagerFactory, and entity-aware query assertions (containsSelect(Customer.class) style) built on top of that. The only module in ...
Last Release on Jul 26, 2026
Documents a Spring Modulith application as Docusaurus-flavoured Markdown with Mermaid diagrams, carrying the same semantic information as Spring Modulith's built-in Documenter (AsciiDoc + PlantUML), verified by a semantic parity test ...
Last Release on Jul 22, 2026

9.Persistence Test

li.selman » persistence-test Apache

JUnit 5 library that detects persistence regressions - N+1 queries, query-count drift, missing indexes, unexpected ORM behavior - in Spring Boot integration tests, by capturing SQL at the JDBC layer instead of parsing Hibernate logs.
Last Release on Jul 26, 2026

10.Plan Assertions

li.selman » plan-assertions Apache

Execution-plan assertions backed by a database SPI, implemented first for PostgreSQL via EXPLAIN (ANALYZE, BUFFERS, FORMAT JSON) run inside a rolled-back transaction (ANALYZE executes the statement, including any side-effecting DML). ...
Last Release on Jul 26, 2026

11.Query Assertions

li.selman » query-assertions Apache

Fluent AssertJ-style DSL over captured queries: assertThatQueries() reads from the ambient QueryCaptureContext and provides count/table/N+1/duplicate assertions with actionable failure messages, plus query filtering to ignore ...
Last Release on Jul 26, 2026

12.Snapshot Testing

li.selman » snapshot-testing Apache

Deterministic, structured snapshots of captured queries (statement type, tables, normalized SQL, occurrence count) - never raw SQL strings. Generates the snapshot representation only; storage, diffing, and approval are delegated to ...
Last Release on Jul 26, 2026
Spring Boot 4 auto-configuration: wraps the application's DataSource bean(s) with QueryCapture automatically, and registers a TestExecutionListener that resets QueryCaptureContext before every test method - so @SpringBootTest works ...
Last Release on Jul 26, 2026