Re: [appfuse-user] Junit testing in Appfuse 1.9.3

2007-03-23 Thread Matt Raible
It's on our "nice to have roadmap" to replace JUnit with TestNG in AppFuse 2.0. Unfortunately, it doesn't look like it'll happen, but I hope to get it in for 2.1. Matt On 2/22/07, Jason Brice <[EMAIL PROTECTED]> wrote: Lately I've been using TestNG to run tests instead of the Ant ones that cam

Re: [appfuse-user] Junit testing

2007-03-05 Thread Jolly
Hello Matt Still that error continues Regards Jolly mraible wrote: > > I would suggest commenting out the mapping files listed in your > sessionFactory bean until you find the one that's causing the problem. If > you comment out all of them, and you still have this problem - I'm > stump

Re: [appfuse-user] Junit testing

2007-03-05 Thread Matt Raible
I would suggest commenting out the mapping files listed in your sessionFactory bean until you find the one that's causing the problem. If you comment out all of them, and you still have this problem - I'm stumped. Matt On 3/4/07, Jolly <[EMAIL PROTECTED]> wrote: Hello Matt This is for your

Re: [appfuse-user] Junit testing

2007-03-04 Thread Jolly
Hello Matt This is for your reference... Error creating bean with name 'sessionFactory' defined in file [C:\apps\appfuse-1.9.3-src\LatchiyaBaseNew\build\dao\gen\META-INF\applicationContext-hibatis.xml]: Initialization of bean failed; nested exception is org.hibernate.MappingException: Could not

Re: [appfuse-user] Junit testing

2007-03-04 Thread Jolly
Hello Matt I have checked Hibernate mapping files and added mapping resource. Again i get the same error. Regards Jolly mraible wrote: > > It looks like it may be one of your Hibernate mapping files. Have you > checked those? > > Matt > > On 3/2/07, Jolly <[EMAIL PROTECTED]> wrote: >> >>

Re: [appfuse-user] Junit testing

2007-03-02 Thread Jolly
I have checked Hibernate mapping files and added mapping resource. Again i get the same error. Regards Jolly mraible wrote: > > It looks like it may be one of your Hibernate mapping files. Have you > checked those? > > Matt > > On 3/2/07, Jolly <[EMAIL PROTECTED]> wrote: >> >> Hello Matt >>

Re: [appfuse-user] Junit testing

2007-03-01 Thread Matt Raible
It looks like it may be one of your Hibernate mapping files. Have you checked those? Matt On 3/2/07, Jolly <[EMAIL PROTECTED]> wrote: Hello Matt I checked all applicationContext-hibatis.xml in I.E but there is no error. Again i get the same error. Regards Jolly mraible wrote: > > The fol

Re: [appfuse-user] Junit testing

2007-03-01 Thread Jolly
Hello Matt I checked all applicationContext-hibatis.xml in I.E but there is no error. Again i get the same error. Regards Jolly mraible wrote: > > The following error means that you have invalid XML: > > > >> XML document structures must start and end within the same entity. >> > > I'd

Re: [appfuse-user] Junit testing

2007-02-26 Thread Matt Raible
The following error means that you have invalid XML: XML document structures must start and end within the same entity. I'd suggest using an XML editor in your IDE or opening the file in Internet Explorer to see where the error is. Matt On 2/25/07, Jolly <[EMAIL PROTECTED]> wrote: Hello Ja

Re: [appfuse-user] Junit testing

2007-02-25 Thread Jolly
Hello Jason Thanks for your reply. I followed this procedure(http://raibledesigns.com/wiki/Wiki.jsp?page=CreateDAO) But i get this error In cmd: --- test-dao: [echo] Testing dao... [junit] [LatchiyaBase] INFO [main] ImageDaoTest.loadContextLocations(133) | Loading config for: c

Re: [appfuse-user] Junit testing

2007-02-24 Thread Matt Raible
AppFuse actually does use JUnit - so if you create any tests like it shows in the tutorial, you'll be using JUnit to run them. Matt On 2/24/07, Jason Brice <[EMAIL PROTECTED]> wrote: Hi Jolly, There are many JUnit tutorials online - have you tried any of those (this one for example http://open

Re: [appfuse-user] Junit testing

2007-02-24 Thread Jason Brice
Hi Jolly, There are many JUnit tutorials online - have you tried any of those (this one for example http://open.ncsu.edu/se/tutorials/junit/)? If so, what problems did you run into or what questions do you have that are preventing you from getting started? Is there a reason you don't want to use

[appfuse-user] Junit testing

2007-02-23 Thread Jolly
Dear Friends How to work JUnit testing in appfuse 1.9.3? I want the exact procedure. Please help me ASAP. Regards, Jolly. -- View this message in context: http://www.nabble.com/Junit-testing-tf3282812s2369.html#a9131446 Sent from the AppFuse - User mailing list archive at Nabble

Re: [appfuse-user] Junit testing in Appfuse 1.9.3

2007-02-22 Thread Jason Brice
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 st

[appfuse-user] Junit testing in Appfuse 1.9.3

2007-02-22 Thread Jolly
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 dat