In Rails 5.1, you can run bin/rails testto run regular tests and bin/rails test:system. What is Rails an authorized way to run both at the same time?
bin/rails test
bin/rails test:system
bin/rails test:system test
Task test:systemto testwill run both system and regular tests. However, the opposite order will only perform normal tests.
test:system
test
At least from the official guide on guides, there seems to be no way to do this:
, bin/rails . , bin/rails: .
:
If someone else is looking for an answer:
bin/rails test test/*
If you intend to run it using only $ rakeor $rake test, you can add a Rakefile to your file:
$ rake
$rake test
task test: 'test:system'
This will make "test: system" mandatory for the test task.
Source: https://habr.com/ru/post/1684122/More articles:Using GridSearchCV with a set of multiple counter errors - pythonstrange behavior of fscanf function - matlabHaskell Stack Setup - Unable to recognize CPP program - c ++Safe and general serialization in Python - jsonInstant segue, перед представлением - swiftMySQL stack stack - mysqlОшибка таймаута. При запуске script на браузере Chrome без хронометра с помощью Selenium Webdriver с Python - pythonPython's preferred way to reset a class - pythonCss blur effect on live background - javascriptЗамена NA между двумя строками с одинаковыми значениями в определенном столбце - rAll Articles