6/12/2023 0 Comments Rspec allow raise errorIt helps you make sure your code is producing the results you expect When you are doing TDD you get a feedback loop that tells you what to focus on next, useful if you get distracted easily. Your tests describe what your application should be doing. …having tests increases your confidence! It helps document your code If you don’t have a test suite then you don’t want to touch your code, because of the fear of something breaking… Here’s why: It builds a safety net against errors (especially useful for refactoring) 6 How to Run Code Before All Your Tests.1.0.4 It helps you make sure your code is producing the results you expect. 1.0.1 It builds a safety net against errors (especially useful for refactoring).
0 Comments
Leave a Reply. |