-
Notifications
You must be signed in to change notification settings - Fork 3
Writing Tests
Peeyush Goyal edited this page Sep 2, 2021
·
6 revisions
Testing all worst case possibilities is good before we are staging to Production.
We have used rspec-rails
, factory_bot_rails
and faker
to setup our basic tests.
For running integration tests use these commands: sudo service postgresql start rails db:reset RAILS_ENV=test bundle exec rspec
📌 Arike