Closed Genki-S closed 9 years ago
Current limitation:
Coverage.start
and Coverage.result
)This is caused by these limitation of Ruby coverage library:
Coverage.start
or coverage won't be tracked at all (meaning you
cannot do Coverage.start
multiple times effectively, e.g. in test setup)Coverage.result
is called, all the coverage results stored are
lost (i.e. calling Coverage.result
twice, second call returns nothing)
Due to ruby coverage library's limitation, to produce code-to-test mapping one should run tests file by file. Writing the detail about this might be good to get ideas from others.