I’m having trouble with finding the line coverage statistics using random test.
How do i get this information?
All i get is something like this
*****Seed 0
startup *choice 73#4 (line 101) #It’s not that that simple, but call me as “he”.
startup *choice 113#1 (line 114) #Nah. I got it!
*****Seed 1
startup *choice 73#4 (line 101) #It’s not that that simple, but call me as “he”.
startup *choice 113#1 (line 114) #Nah. I got it!
*****Seed 2
and so on until 9999
I`m marking the opition to show the line coverage statistics…
I just realized that the “Show line coverage statistics after test” option doesn’t work for me either. When I pick line coverage it won’t show the coverage statistics and it won’t say that randomtest passed and the time. (It seems like the “Automatically scroll to the bottom” option doesn’t work, too, but that doesn’t stop it from showing that randomtest passed or how long the test took.)
From what I can tell this is because of the recent firefox updates. I use the upload/non-node method like @Brian_Rushton did, so I’m not sure if that has anything to do with it.
This is excellent, I’d run into a problem with randomtest and line coverage and it’s helped me get it working! Do you (or anyone else reading) know how to add the option where you save the output to randomtest-output?
edit: interestingly, it seems to be working OK now (fingers crossed) so I’m not totally sure what the issue was… but good overall I think?
I’ve marked the solution for future forum divers!
edit #2 for my future self because I seem to return to this thread each time I forget how this works (or anyone else who would find it useful): to get line coverage and outputting to randomtest-output, open run-randomtest and when choosing your options, choose not to show full text, which then opens up the line coverage and output options. If you show full text, by default it doesn’t allow you to output.