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

Make suggestions of assertions at the end of the test

Open regis1512 opened this issue 10 years ago • 1 comments

Suppose that the developer using assertJ-DB is writing a test. The DAO is already written. The developer check the result in the test database after the first test run.

The idea is to have a static method like : suggestAssertionsOn(table); and assertj-DB write in the console an example of assertions with the state of the database.

The example can be copy in the test by the developer like base to finish to write the test.

regis1512 avatar Jun 06 '15 13:06 regis1512

It is an idea for a next release. For the moment, the goal is to make the first.

regis1512 avatar Jun 06 '15 13:06 regis1512