Here are some points I think seamtest need to be improved: 
1. Error message/report need to be improved. 
2. Configuration need to simplified.
3. Need to more fault tolerant.

Here is what happend to us when using SeamTest:
We copied everything from seam booking example to our project and added in our 
code. Everything worked fine in jboss app server but not in seamtest. The error 
message it gave didn't make any sense to us. we had to use cvs diff to compare 
every single file to make sure our project is exactly same as seam booking 
example. we finally got it working after a couple of hours code analysing. We 
thought that was the end of the trouble but it's not. 

After a few days, we've added in some of our code. SeamTest stopped working 
again. The error message was "comp is not bound". The generated xml report 
didn't have any useful information. We had to revert our project to the initial 
state and repeat our changes one by one. It took us 2 days to find out the 
problem was caused by one of the jboss config xml under embedded-ejb/conf 
folder.

It worked fine for a few days and it stopped working again one day morning. 
This didn't make any sense to us because it worked on the previous day. The 
error message was still "Comp is not bound". We spent another 2 days to get it 
working again. Still don't know what the problem was, but at least it worked.

After a few days, it stopped working again("Comp is not bound"). we spent 
another 2 days to find out it was caused by a incorret annotation used in one 
of our entities.

It's so much trouble to use SeamTest and we finally had to stop using seamtest. 
We now use junit for small unit test and manually test our app in browser for 
integration test.

I guess the first thing seamtest need to improve is the error message. the most 
common error we got is "comp not bound", or "NullPointerException". It would 
save us a lot of time if the error was something like "ABC component is not 
bound, please check your jboss-xxx.xml".

BTW: by the time I'm writting on this thread, tried to run seamtest which i 
stopped using it for a month. still get "comp not bound".


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933310#3933310

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933310


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to