Skip to content

Add DatabaseTestUtils

Compare
Choose a tag to compare
@Julien-R44 Julien-R44 released this 29 Jan 12:03
· 38 commits to develop since this release

This release adds the DatabaseTestUtils class, which includes some helpers for writing tests that interacts your database, such as migration/seeding/truncating and global transactions to keep a clean state between each test.

See full documentation here : https://docs.adonisjs.com/guides/database-tests

Commits

  • feat: add DatabaseTestUtils (#988) 9c845f6
  • feat: add @adonisjs/lucid/migration submodule 629ca32

Full Changelog: v20.0.0...v20.1.0