openMF / fineract-pentaho

Pentaho Reporting Plugin for Apache Fineract
Mozilla Public License 2.0
26 stars 45 forks source link

Add integration test #10

Closed vorburger closed 3 years ago

vorburger commented 3 years ago

I already how to test this thing.. it's described in the README - but there really should be an integration test.

vorburger commented 3 years ago

This can use the runExpectedPaymentsPentahoReport() from fineract/integration-tests/src/test/java/org/apache/fineract/integrationtests/client/ReportsTest.java.

Getting that to run as a real integration test, including firing up fineract, is probably more work than is worth here. What I'll do here instead, for now, is just create a PentahoReportsTest that is @Disabled in git, so as not to break the build, and which contributors can un-disable to test locally.

@francisguchie FYI

francisguchie commented 3 years ago

@vorburger thanks for this information