Chapter 5
- We should use the
%test.quarkus.hibernate-orm.sql-load-script
configuration property and SQL scripts in theresources
folder to add data to the testing environment database. - You can automatically create a test suite class in IntelliJ by right-clicking on a production class declaration and clicking on the Go To Test menu.
- When you run a Quarkus test, Quarkus starts your application in the background.
- The
@TestSecurity
annotation overrides the application’s security context when the test is run.