vidakovic commented on a change in pull request #2137:
URL: https://github.com/apache/fineract/pull/2137#discussion_r824886888



##########
File path: fineract-provider/src/test/java/org/apache/fineract/TestSuite.java
##########
@@ -16,23 +16,19 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.fineract.infrastructure.core.boot.tests;
+package org.apache.fineract;
 
-import org.apache.fineract.ServerWithMariaDB4jApplication;
+import io.cucumber.spring.CucumberContextConfiguration;
 import org.junit.jupiter.api.extension.ExtendWith;
-import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.test.context.ContextConfiguration;
 import org.springframework.test.context.TestPropertySource;
 import org.springframework.test.context.junit.jupiter.SpringExtension;
 import org.springframework.test.context.web.WebAppConfiguration;
 
+@CucumberContextConfiguration
 @ExtendWith(SpringExtension.class)
-@SpringBootTest(classes = ServerWithMariaDB4jApplication.Configuration.class)
 @TestPropertySource("classpath:application-test.properties")
 @WebAppConfiguration
-public abstract class AbstractSpringBootWithMariaDB4jIntegrationTest {
-
-    // do NOT put any helper methods here!
-    // it's much better to use composition instead of inheritance
-    // so write a test util ("fixture") and use it as a field in your test
-
-}
+@ContextConfiguration(classes = TestConfiguration.class)
+// @SpringBootTest(classes = TestConfiguration.class)

Review comment:
       Sure, we can later decide if we need full blown Spring Boot tests




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to