fineract-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sijo Cherian <sijo.c...@gmail.com>
Subject fineract-CN running Tests?
Date Mon, 02 Oct 2017 17:28:29 GMT
Hi All,

I am able to run tests in say core/api but not in non-core projects.
What is the right way to run fineract-CN Tests in higher level projects?
Are there some precondition /startup needed?

Running test in deposit-account-management/component-test
*On running from IDE  *TestAccrual.shouldAccrueInterest
...
spring boot seem to starup fine
After
13:10:28.097 [async-processor-1] INFO  o.f.core.internal.command.DbMigrate
- Migrating schema `cleopatra178961652` to version 4 - add unique
constraint charges
...

13:10:57.370 [main] INFO  event-recorder-logger -* Waited 30004
milliseconds*, and event initialize with payload 1 wasn't observed

java.lang.IllegalStateException: Initialize didn't complete.
at
io.mifos.anubis.test.v1.TenantApplicationSecurityEnvironmentTestRule.before(TenantApplicationSecurityEnvironmentTestRule.java:86)


and *How to run test from Terminal*
cd deposit-account-management/component-test
gradle -Dtest.single=TestAccrual test
  doesn't seem to find the test since code is in src/main/java


Any pointers on event initialize or how command-logger works, or how
embedded Cassandra/Mysql starts up in Test
is much appreciated.

Many thanks
/sijo

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message