Ruby on Rails framework has great automated testing tools for unit, integration testing and others as well. this post will not discuss these tools, you should be familiar with them already.
I’m sharing here a task to help you prepare your test environment and run Rspec task without the need to run every command to run your test