Results 1 to 5 of 5

Thread: Please help! Unit testing code for JPetStore

  1. #1
    Join Date
    Dec 2004
    Posts
    19

    Default Please help! Unit testing code for JPetStore

    I posted the question on web forum before and someone told me that there's no unit testing code for JPetStore. I am really surprised. In his great book J2ee development without EJB, Rod emphasized how important unit testing is. A JPetStore sample application without unit testing code is not complete, for my understanding. Please someone from Spring tell me where's the testing code, inside cvs tree? If there's none, how did you or have you guys ever tested it?

    "I downloaded the JPetStore sample application from wrox, there's no unit testing code inside. I also checked the 1.13 release, JPetStore sample application also does not include any testing code.

    Where can I find the unit testing code? Are they inside the cvs tree? It would be nice to include it inside the source code zip."

  2. #2
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,104

    Default

    There are test examples in the Petclinic sample from the distribution - these should get you started.

  3. #3
    Join Date
    Dec 2004
    Posts
    19

    Default thanks, but

    Thanks! So there's no test for JPetStore?

    Guess it's not made based on the test driven approach. lol

  4. #4
    Join Date
    Aug 2004
    Location
    Denver
    Posts
    249

    Default

    You could take a look at the Equinox (http://equinox.dev.java.net) sample app - it has tests for all the different layers. It's a bit simpler than JPetstore, but it might have what you're looking for.

    Matt

  5. #5
    Join Date
    Dec 2004
    Posts
    19

    Default

    Thanks! Will take a look.

Similar Threads

  1. Replies: 13
    Last Post: Oct 24th, 2007, 10:55 AM
  2. Replies: 4
    Last Post: Jun 20th, 2007, 11:06 AM
  3. Unit testing with JOTM and JtaTransactionManager
    By lalle in forum Architecture
    Replies: 1
    Last Post: Oct 15th, 2005, 09:05 AM
  4. Replies: 1
    Last Post: Jul 26th, 2005, 05:35 PM
  5. Replies: 2
    Last Post: Jan 6th, 2005, 02:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •