Skip to content

Commit

Permalink
Add native tests to Spring Data JPA quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand committed Nov 4, 2019
1 parent a713456 commit 92cab20
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ quarkus.datasource.password=quarkus_test
quarkus.datasource.max-size=8
quarkus.datasource.min-size=2
quarkus.hibernate-orm.database.generation=drop-and-create
quarkus.hibernate-orm.sql-load-script=import.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package org.acme.spring.data.jpa;

import io.quarkus.test.junit.NativeImageTest;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.junit.SubstrateTest;
import org.junit.jupiter.api.Test;

import static io.restassured.RestAssured.given;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.notNullValue;
import static org.hamcrest.core.IsNot.not;

@NativeImageTest
class FruitResourceIT extends FruitResourceTest{

}

0 comments on commit 92cab20

Please sign in to comment.