assertj-db icon indicating copy to clipboard operation
assertj-db copied to clipboard

Incorrect documentation

Open RaraAvis8 opened this issue 1 month ago • 1 comments

I've noticed a couple of issues in documentation: https://assertj.github.io/doc/#assertj-db

  1. The "Add the assertj-db dependency to your project" chapter says to add version 2.0.2 but then the first example uses classes that are missing in 2.0.2 but present in 3.0.0.
import org.assertj.db.type.AssertDbConnection;
import org.assertj.db.type.AssertDbConnectionFactory;
  1. The line below
Table table = assertDbConnection.table("members");

doesn't compile (in 3.0.0) because table() returns a Table.Builder not a Table.

RaraAvis8 avatar Jan 01 '26 11:01 RaraAvis8