modern-rails-template icon indicating copy to clipboard operation
modern-rails-template copied to clipboard

Add test configuration

Open damienlethiec opened this issue 7 years ago • 5 comments

It would be awesome to have the template generating a great configuration for tests out of the box. In my opinion, the best would be to include but I am super open to new options:

  • Rspec
  • Capybara
  • Factory Bot
  • Cucumber?

damienlethiec avatar Feb 13 '18 09:02 damienlethiec

first feedback : no cucumber 😉

db0sch avatar Feb 13 '18 15:02 db0sch

Ahah, any bad experience? I am curious ;)

damienlethiec avatar Feb 13 '18 16:02 damienlethiec

no weird language to learn. it was made to allow product managers to write the specs... i wouldn't touch that if I were you

A combo : rspec / capybara / chrome headless is lit

db0sch avatar Feb 13 '18 17:02 db0sch

Ahah got it.

I also read somewhere (but cannot find it anymore) that we don't need database cleaner anymore with Rails 5.2. Have you heard about this?

damienlethiec avatar Feb 13 '18 17:02 damienlethiec

yes. didn't try it though

db0sch avatar Feb 13 '18 18:02 db0sch