The EntitySpaces Community

Share and learn about the EntitySpaces Architecture.
Welcome to The EntitySpaces Community Sign in | Join | Help
in
Home Forums Photos

Browse by Tags

All Tags » mock
  • Re: Unit testing custom code (mocking / interfaces etc...)

    Mike.Griffin:IIf you code was going to load some data, and the mock data provider didn't return that data, how would your test pass, or would the mock data provider somehow interpret the mock requests and feed back test data? Yes, that's pretty much it. Say I wanted to test my custom code that did some logic on a list of orders for a ...
    Posted to Trial Version Support (Forum) by chrisb on September 25, 2007
  • Re: Unit testing custom code (mocking / interfaces etc...)

    PurpleFlux: Maybe even the EntitySpaces team would consider making a Test DataProvider that we could programmatically set up and use for tests (probably just really using a dataset or something). Another approach might be to use the MSAccessProvider. Set up an access db with the appropriate data and for each unit test which requires it you could ...
    Posted to Trial Version Support (Forum) by chrisb on September 24, 2007