howitzer
howitzer copied to clipboard
Integrate Simplecov to track unused page/sections dsl and regular methods
Meta
Howitzer Version: 2+
Motivation
There is a rule of thumb during working with page object pattern - concentrate on feature needs during development and do not create extra pages/sections and dsl/regular methods within them. If you have a temptation to create it for future usage, never do it. It is extra work, future will be different. But even you follow this recommendation, on big long term projects you will faced with situation, when some elements and methods are not used anymore. Such pages/sections with a lot of code lines are very difficult to support.
Solution
It will be really amazing to adopt Simplecov gem to projects based on Howitzer and implement rake task to execute all tests with integrated Simplecov. It will allow to build reports with code usage as a built-in Howitzer solution without any extra efforts.