• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Unit testing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unit testing


  • Subject: Unit testing
  • From: Logi Helguson <email@hidden>
  • Date: Fri, 10 Oct 2008 11:05:25 +0000
  • Thread-topic: Unit testing

Hi all,

   I want to perform a unit test against my development database.  I'm
configuring my database connection by setting the connection dictionary of
my model manually( model.setConnectionDictionary ) and adding the model to
the EOModelGroup.defaultGroup.

   When I fetch objects from my editing context( ERXEC.newEditingContext )
the model is connected to the deployment database( as set in the default
connection properties of the model ) but not my development database as I
set manually :(

   Any ideas what's the proper way to set the connection correctly?

With well-being and veneration,
Logi Helgu

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Unit testing
      • From: Stefan Klein <email@hidden>
  • Prev by Date: Re: MySQL and Generate SQL, and inline bindings problems
  • Next by Date: Re: Unit testing
  • Previous by thread: Re: Unit testing
  • Next by thread: Re: Unit testing
  • Index(es):
    • Date
    • Thread