A habit tracking application built with Test-Driven Development
This is a Ruby on Rails application for tracking daily habits.
- Ruby version: 3.x
- Rails 7.x
- SQLite3 (for development)
- Clone the repository
- Run
bundle install
to install dependencies - Run
rails db:create db:migrate
to set up the database - Run
rails server
to start the development server
This project follows Test-Driven Development (TDD) practices:
# Run all tests
rails test
# Run specific test files
rails test test/models/
rails test test/controllers/
rails test test/system/
- Check
tasks.md
for the next task - Write tests first (TDD approach)
- Implement the minimum code to make tests pass
- Refactor while keeping tests green
- Mark task as complete in
tasks.md