How to test code coverage for Rails ERB templates?

后端 未结 2 1659
情歌与酒
情歌与酒 2020-12-15 07:59

I\'m just building a test suite for a legacy Rails app. The simplecov gem has been great for finding dark corners of the app which need test coverage (or which

2条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-15 08:28

    try rake stats

    it would generate a table having the coverage of each of the parts of the app

提交回复
热议问题