-
Ruby version: 2.7.1
-
Rails version: 6.0.3.3
-
Configuration steps:
- Run
cp config/application.yml.example config/application.ymland setup values for environment variables inconfig/application.yml - Run
bundle exec rails db:create db:migrateto setup database
- Run
-
Check coverage result:
- After running your tests, open
coverage/index.htmlin the browser to view the detail report of coverage result
- After running your tests, open
-
Init database for exercise 9:
- Run
bundle exec rake init_hanoi_quest_data:createto setup database for exercise 9
- Run
-
Docker version:
- Run
docker-compose buildto build image - Run
docker-compose run web bundle exec rails db:create db:migrateto create and migrate database - Run
docker-compose run --rm web bundle exec rails init_hanoi_quest_data:createto setup database for exercise 9 - Run
docker-compose upto start application container
- Run
sun-unit-test-training/ruby-unit-test-training
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|