Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Providing wrong password for development database causes skipping of unit tests

#1426

If you provide a wrong password for your development database in database.yml rake will skip the unit tests and jump straight to functional tests when running 'rake test' without further notice. I guess the issue appears because rake is unable to copy the structure of the development database into the testing database. This is a problem because rake might end up running tests that is written for a newer version of the database - with an old version of it.

To recreate the issue just try typing something like "sifsidofgisno" in database.yml under development, and then run 'rake test'. No error messages, rake just skips the unit tests.

Reported by ronin-35527 (at lighthouseapp) · November 21st, 2008 @ 09:38 AM

State: wontfix
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. ronin-35527 (at lighthouseapp)
    ronin-35527 (at lighthouseapp)
    • Title changed from Providing wrong password for development database causes bypassing of unit tests to Providing wrong password for development database causes skipping of unit tests

    December 15th, 2008 @ 07:11 PM

  2. Pratik
    Pratik
    • State changed from new to wontfix

    Provide a correct password or a patch :)

    Thanks.

    March 7th, 2009 @ 02:27 PM