Hello,
I'm using Cucumber with RSpec in a Rails project. When I use the "rake stats" task, I get the following :
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers | 948 | 761 | 21 | 87 | 4 | 6 |
| Helpers | 212 | 175 | 0 | 24 | 0 | 5 |
| Models | 912 | 741 | 28 | 72 | 2 | 8 |
| Libraries | 305 | 211 | 1 | 25 | 25 | 6 |
| Model specs | 978 | 797 | 0 | 1 | 0 | 795 |
| View specs | 270 | 227 | 0 | 0 | 0 | 0 |
| Controller specs | 1144 | 944 | 0 | 4 | 0 | 234 |
| Helper specs | 154 | 116 | 0 | 0 | 0 | 0 |
+----------------------+-------+-------+---------+---------+-----+-------+
| Total | 4923 | 3972 | 50 | 213 | 4 | 16 |
+----------------------+-------+-------+---------+---------+-----+-------+
Code LOC: 1888 Test LOC: 2084 Code to Test Ratio: 1:1.1
So rspec adds its stats (see the model, view, controller and helper specs).
But I don't have the cucumber ones. How could I add them to my rake stats ?