Open abhinavtripathy opened 4 years ago
Sure, start with model unit testing.
Probably open up a few more issues something more specific like 'Write test for X Model' or 'Improve Integrate Test for Hardware Loan'?
Check out shoulda-matchers
it will considerably help you with writing the simple test cases quick.
https://guides.railsgirls.com/testing-shoulda-matchers
https://github.com/thoughtbot/shoulda-matchers
Once you've written test cases you can integrate it into your CI very smoothly and refactor your code far more confidently.
Writing tests would improve our codebase as whole and we will lead to lesser bugs.