Hey Isaac,

service is only allowed to import the API module.

Introducing such dependency as you mentioned would introduce a circular
dependency, and component-test is a separate module just consuming API and
service.

Cheers

Markus

.::Yagni likes a DRY KISS::.

On Wed, Apr 18, 2018 at 12:21 PM Isaac Kamga <isaac.ka...@mifos.org> wrote:

> Hello everyone,
>
> I've a question about testing in Apache Fineract CN.
>
> Is there a way to write tests in service
> <https://github.com/apache/fineract-cn-customer/tree/develop/service
> >/src/test/java
> which extend the tests in the component-test
> <
> https://github.com/apache/fineract-cn-customer/tree/develop/component-test
> >
> module ( such as TestCustomer.java
> <
> https://github.com/apache/fineract-cn-customer/blob/develop/component-test/src/main/java/org/apache/fineract/cn/customer/TestCustomer.java
> >
> ) ?
> I've added component-test in the service's build.gradle
> <
> https://github.com/apache/fineract-cn-customer/blob/develop/service/build.gradle
> >
> test scope and it's unable to import tests from the component-test module.
>
> At Your Service,
> Isaac Kamga.
>

Reply via email to