Loading ...
Sorry, an error occurred while loading the content.

Re: [XP] what to test - db

Expand Messages
  • bmw0128
    very good, thanks for the help! ... altogether and simply hand the factory the data it needs, as a value object . Decouple the factory from the source of the
    Message 1 of 5 , Nov 5, 2002
    • 0 Attachment
      very good, thanks for the help!



      > Yes. The alternative is to dispense with the provider interface
      altogether and simply hand the factory the data it needs, as a "value
      object". Decouple the factory from the source of the data it uses. In
      fact, that sounds even better. Have a separate object that retrieves
      the required data from the database. No mocks required!
      >
      > J. B. Rainsberger,
      > President, Diaspar Software Services
      > Let's write software that people understand.
      > http://www.diasparsoftware.com/
      > telephone: +1 416 791-8603
      > All correspondence (c) 2002 Diaspar Software Services.
      > If you want to use it, just ask; don't steal.
    Your message has been successfully submitted and would be delivered to recipients shortly.