Lately I've been using TestNG to run tests instead of the Ant ones
that came "out of the box" (on a appfuse-1.9 for Struts app).

What I like about TestNG's Eclipse plugin:
you can select class-level / suite-level / group-level tests to run,
you get nice GUI results, and can view the individual stack trace for
any test that failed

I also like that TestNG lets you set up dependencies (e.g., so if
method B depends on method A and method A fails, it doesn't bother
running method B).

But I also wanted the nice transactional capabilities that the
Spring-based tests had. I found this article that shows you how to
combine the two so you can run Spring
AbstractTransactionalSpringContextTests from TestNG:
http://centuryminds.wordpress.com/tag/testing/

Jason



On 2/22/07, Jolly <[EMAIL PROTECTED]> wrote:

Dear Friends
                My application working in Appfuse 1.9.3 but now i want to
run junit testing.  In my application, I used many view tables while running
appgen have to add that view tables? Then, when i run ant test-reports
database(MySql) becomes corrupt for few tables. I used blob data type for
image in Database table but i get string in PersonDaoTest.java file. In that
place(string) i need byte[] how to convert in XDoclet?  Please give me the
general idea(procedure) about Junit testing.

Thanks in Advance

Jolly
--
View this message in context: 
http://www.nabble.com/Junit-testing-in-Appfuse-1.9.3-tf3272266s2369.html#a9098294
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to