git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extending component-test's test in the service module


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.kamga@xxxxxxxxx> 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.
>


( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-fineract-developers/msg04144.html on line 109
Call Stack
#TimeMemoryFunctionLocation
10.0007358472{main}( ).../msg04144.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-fineract-developers/msg04144.html on line 109
Call Stack
#TimeMemoryFunctionLocation
10.0007358472{main}( ).../msg04144.html:0