Ticket #1815 (new defect)

Opened 4 months ago

Last modified 3 hours ago

Repair tests of the 20min Wiki

Reported by: StevenMohr Assigned to: anonymous
Priority: high Milestone: 1.1 beta 1
Component: Tests Version: 1.0.4.4
Severity: normal Keywords:
Cc:

Description (Last modified by Chris Arndt)

The tests in the 20min wiki are defect. A setup and teardown function should be created which take care of the initialization of the test database. It would be also nice to extend the tests to show people how easy it is to write tests with nosetests.

Change History

05/06/08 20:51:59 changed by Chris Arndt

  • priority changed from low to normal.
  • severity changed from minor to normal.
  • version set to 1.0.4.4.
  • description changed.
  • milestone set to 1.1.

Yes, I totally agree.

Remember, we have to do the database initialization / cleanup stuff in setUp / tearDown for both SQLObject and SQLAlchemy. We could generate different code in the quickstart project depending on the chosen database, or we could make the code in the test case detect which ORM is used. I think I would prefer the former for simplicity's sake.

06/06/08 03:40:07 changed by faide

I keep this one for the 1.1 milestone since I'd like to have proper tests in a quick started project too :)

08/22/08 10:04:20 changed by Chris Arndt

  • priority changed from normal to high.

08/24/08 10:26:59 changed by faide

  • milestone changed from 1.5 to 1.1.

08/28/08 15:44:23 changed by Chris Arndt

  • milestone changed from 1.1 to 1.1 beta 1.