Re: Testing applications

From: Justin Deutsch (justin.deutsc..elevance.com.au)
Date: Thu Nov 25 2004 - 16:32:19 EST

  • Next message: Bryan Lewis: "Re: mostly shared model"

    The particular case I want to test is if the database is modified under
    the Cayenne object so that a unique constraint is no longer implemented.

    Perhaps I'm probably being too petty in attempting to test this, but hey
    I work in a small office where anything can happen.

    I will have a look at DBUnit and see if I can get it to work.

    Thanks for the advice.

    On 26/11/2004 4:47 AM, Mike Kienenberger wrote:
    <snip>

    > Is there a reason you want to test at that level?
    > I test all of my cayenne-based code using DBUnit, and that works fine.
    >
    > My tests don't care how things go through cayenne (which is treated as a
    > black box), only what they look like in the database afterward.
    >

    -- 
    Justin Deutsch
    

    Relevance... because results count

    Relevance Phone: +61 (0)2 6241 6400 A.B.N. 86 063 403 690 Fax: +61 (0)2 6241 6422 Unit 11, Mobile: +61 (0)40 246 55 88 Cnr Brookes & Heffernan Sts, E-mail: Justin.Deutsc..elevance.com.au Mitchell ACT 2911 Web: http://www.relevance.com.au



    This archive was generated by hypermail 2.0.0 : Thu Nov 25 2004 - 16:32:38 EST