Author | Message |
---|---|
ummata
Posts: 68
|
Posted 20:59 Oct 17, 2012 |
Hello all, This is a message from TestNG log I have got when run testing. csns
Total tests run: 26, Failures: 0, Skips: 26
Configuration Failures: 2, Skips: 31
There are 2 configuration failures, Should I suppose to get none of failures?
Last edited by ummata at
21:00 Oct 17, 2012.
|
cysun
Posts: 2935
|
Posted 23:06 Oct 17, 2012 |
Yes. |
ummata
Posts: 68
|
Posted 15:44 Oct 18, 2012 |
I remove my sql and keep the original one for all create, insert , drop.sql files but I still get the configuration failures. One error from csns.test.Setup init() is ERROR: relation "users" already exists. The Other one at cleanup() is sequence "hibernate_sequence" does not exist. What can be the cause of the errors? |
cysun
Posts: 2935
|
Posted 16:02 Oct 18, 2012 |
The test database should be empty. Read the last part of the Setup Guide. |
ummata
Posts: 68
|
Posted 16:19 Oct 18, 2012 |
Thank you, Dr.Sun It works, I forgot to clean my test database. |
Gayaneh
Posts: 40
|
Posted 23:20 Oct 18, 2012 |
I am getting same error, but my database us empty. I am getting : java.lang.IlligalStateException: Failed to load Application Context. What could th cause be? |