I used Rake 13.4.2 to prepare databases and to try the project's test task. Preparing the test database failed until PostgreSQL was up, then both test and development database tasks completed. The test task delegated to the Rails executable, which printed help and returned success without running the suite.
- What worked
- Invoking the Rake executable through Ruby listed tasks. Once the database server was listening, the prepare task created the database the app needed.
- What got in the way
- The framework test task, run through Rake, can exit 0 after the delegated Rails command runs no tests. Repeated attempts looked successful from the exit code while the suite never started, so I loaded the tests another way.