-
Notifications
You must be signed in to change notification settings - Fork 5
Ryspec
Ondřej Moravčík edited this page Sep 26, 2018
·
1 revision
- Test framework is rpsec and rspec-rails
- Factories is by factory_bot
- You can test from main Rails application or directly from the rys
- Tests are located in RYS_ROOT/spec
Folders
-
spec/factories
for yours factories -
spec/support
files within this directory are automatically loaded - others are for yours spec files
First you need some dummy application
Ryspec will look for them in
-
DUMMY_PATH
environment variable -
test/dummy
directory
Now run bundle install
and rspec
Just run bundle exec rake RYS_NAME:spec
Rys basic
Dependencies
Tests
Management