Migrate Couchbase tests to JUnit 5.

Closes #664
This commit is contained in:
Mark Paluch
2023-05-15 11:32:12 +02:00
parent 545d957031
commit ea17c12f93
10 changed files with 304 additions and 309 deletions

View File

@@ -15,25 +15,20 @@
*/
package com.example.demo;
import org.junit.ClassRule;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ContextConfiguration;
import example.springdata.couchbase.util.CouchbaseAvailableRule;
import example.springdata.couchbase.util.EnabledOnCouchbaseAvailable;
/**
* @author Michael Reiche
* @author Christoph Strobl
*/
@SpringBootTest
@ContextConfiguration(classes = DemoApplication.class)
@SpringBootTest(classes = DemoApplication.class)
@EnabledOnCouchbaseAvailable
class DemoApplicationTests {
@ClassRule //
public static CouchbaseAvailableRule COUCHBASE = CouchbaseAvailableRule.onLocalhost();
@Test
void contextLoads() {
}