First init

This commit is contained in:
2022-04-03 21:51:35 +02:00
commit e15056159f
20 changed files with 1511 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
package com.covas;
import io.quarkus.test.junit.QuarkusTest;
import org.junit.jupiter.api.Test;
import static io.restassured.RestAssured.given;
import static org.hamcrest.CoreMatchers.is;
@QuarkusTest
public class GreetingResourceTest {
@Test
public void testHelloEndpoint() {
given()
.when().get("/hello")
.then()
.statusCode(200)
.body(is("Hello RESTEasy"));
}
}

View File

@@ -0,0 +1,9 @@
package com.covas;
import io.quarkus.test.junit.NativeImageTest;
@NativeImageTest
public class NativeGreetingResourceIT extends GreetingResourceTest {
// Execute the same tests but in native mode.
}