Code coverage tools for haml?

It seems like you can get a useful coverage report for Haml code because of its one structure with one line.

Do you know about any code coverage tools for Haml? Maybe something is at work?

+5
source share
2 answers

Code coverage usually ensures that you span all of your code paths. If you have a lot of logic, in your opinion, it is a smell. I think that logic should be ported to your helpers, controllers (to visualize another presentation) or presenters, and those that you can test with excellent coverage.

: , "" .

+3

- (, HAML) , , .

Made Easy ( ) , , .

+1

All Articles