Replacing system tests with unit testsSystem testing in Rails has been declared a failure due to slow, brittle, and uninformative test suites relying too much on end-to-end testing.