Will this keep the data in the database after the tests have finished? I've run the tests in debug mode and can see the data being added but I think it's deleted after the tests finish.
Currently /conference/current gives me System.Data.SqlClient.SqlException: Invalid object name 'Conferences'.
on line 46 of C:\Code\Codecampserver\src\DataAccess\Impl\ConferenceRepository.cs while executing:
On Thu, May 8, 2008 at 9:22 PM, Matt Hinze <mhi...@gmail.com> wrote: > There is a data loader - ZDataLoader.cs and the test it contains - that > will automatically run during the build.
> On Thu, May 8, 2008 at 6:18 AM, Jonathan Parker < > jonathanparkerem...@gmail.com> wrote:
> > The pleasure's all mine.
> > Hey I'm now at the point of wanting to test out the site. How do I get > > some sample data that I can work with.
> > On Thu, May 8, 2008 at 2:30 PM, Andrew Browne <brow...@brownie.com.au> > > wrote:
> > > Welcome Jonathan,
> > > Good to be working with you again.
> > > cheers > > > Brownie
> > > On Wed, May 7, 2008 at 11:51 PM, Jonathan Parker < > > > jonathanparkerem...@gmail.com> wrote:
> > > > Hi all,
> > > > I thought I would introduce myself as I've just joined.
> > > > Anyway I've got a patch for a bug I found last night.
> > > > The UnitTests project is referencing MvcContrib.StructureMap.dll > > > > which has was deleted in revision 213.
> > > > Once I removed the reference the tests all passed so here's the > > > > patch.
jonathanparkerem...@gmail.com> wrote: > Will this keep the data in the database after the tests have finished? > I've run the tests in debug mode and can see the data being added but I > think it's deleted after the tests finish.
> Currently /conference/current gives me System.Data.SqlClient.SqlException: > Invalid object name 'Conferences'.
> on line 46 of > C:\Code\Codecampserver\src\DataAccess\Impl\ConferenceRepository.cs > while executing:
Yes, it should stay in the database after the build is finished. Make sure you run the build and not just the tests. It's important that the ZDataLoader test runs last.
jonathanparkerem...@gmail.com> wrote: > Will this keep the data in the database after the tests have finished? > I've run the tests in debug mode and can see the data being added but I > think it's deleted after the tests finish.
> Currently /conference/current gives me System.Data.SqlClient.SqlException: > Invalid object name 'Conferences'.
> on line 46 of > C:\Code\Codecampserver\src\DataAccess\Impl\ConferenceRepository.cs > while executing:
On Thu, May 8, 2008 at 9:46 PM, Matt Hinze <mhi...@gmail.com> wrote: > Yes, it should stay in the database after the build is finished. Make > sure you run the build and not just the tests. It's important that the > ZDataLoader test runs last.
> On Thu, May 8, 2008 at 6:36 AM, Jonathan Parker < > jonathanparkerem...@gmail.com> wrote:
> > Will this keep the data in the database after the tests have finished? > > I've run the tests in debug mode and can see the data being added but I > > think it's deleted after the tests finish.
> > Currently /conference/current gives me > > System.Data.SqlClient.SqlException: Invalid object name 'Conferences'.
> > on line 46 of > > C:\Code\Codecampserver\src\DataAccess\Impl\ConferenceRepository.cs > > while executing:
> I can upload a patch if people think its a good idea to include this > section.
> On Thu, May 8, 2008 at 9:46 PM, Matt Hinze <mhi...@gmail.com> wrote:
> > Yes, it should stay in the database after the build is finished. Make > > sure you run the build and not just the tests. It's important that the > > ZDataLoader test runs last.
> > On Thu, May 8, 2008 at 6:36 AM, Jonathan Parker < > > jonathanparkerem...@gmail.com> wrote:
> > > Will this keep the data in the database after the tests have finished? > > > I've run the tests in debug mode and can see the data being added but > > > I think it's deleted after the tests finish.
> > > Currently /conference/current gives me > > > System.Data.SqlClient.SqlException: Invalid object name 'Conferences'.
> > > on line 46 of > > > C:\Code\Codecampserver\src\DataAccess\Impl\ConferenceRepository.cs > > > while executing:
On Thu, May 8, 2008 at 11:53 PM, Ben Scheirman <subdigi...@gmail.com> wrote: > Yes, that section won't be read in IIS6, so it won't affect anyone else. > A patch would be nice.
> On Thu, May 8, 2008 at 7:48 AM, Jonathan Parker < > jonathanparkerem...@gmail.com> wrote:
> > I can upload a patch if people think its a good idea to include this > > section.
> > On Thu, May 8, 2008 at 9:46 PM, Matt Hinze <mhi...@gmail.com> wrote:
> > > Yes, it should stay in the database after the build is finished. Make > > > sure you run the build and not just the tests. It's important that the > > > ZDataLoader test runs last.
> > > On Thu, May 8, 2008 at 6:36 AM, Jonathan Parker < > > > jonathanparkerem...@gmail.com> wrote:
> > > > Will this keep the data in the database after the tests have > > > > finished? > > > > I've run the tests in debug mode and can see the data being added > > > > but I think it's deleted after the tests finish.
> > > > Currently /conference/current gives me > > > > System.Data.SqlClient.SqlException: Invalid object name 'Conferences'.
> > > > on line 46 of > > > > C:\Code\Codecampserver\src\DataAccess\Impl\ConferenceRepository.cs > > > > while executing: