Less than 200 Models
100 Controllers
I'm creating an application that's about .
The test tools are FactoryGirl and RSpec.
I create test data with FactoryGirl every time, but the relationship is quite large, and it takes a lot of time to create test data even if I use mock/stub.
Please tell me how to create your test data efficiently.
ruby-on-rails rspec
It may be a little off the subject, but if you want to speed up the test, why don't you consider parallelizing the test run?For your information, I think the following libraries (gem) are popular for parallelization.
© 2024 OneMinuteCode. All rights reserved.