protractor icon indicating copy to clipboard operation
protractor copied to clipboard

Option to get spec path and file name

Open fcin opened this issue 10 years ago • 3 comments

Hello, It would be great if there was a way to extract file names and paths of recently run tests. It would allow us to make reporters with pages to different tests. So for example you could run [spec1.js, spec2.js, spec3.js] in protractor and then you would get not only results for each test, but also its filename and path, and based on that you could generate list of specs that would redirect you to each individual test result. Currently I found that the only way is to create 'global' describe for each test with its filename as description, but this requires testers to follow this structure.

fcin avatar Nov 09 '16 09:11 fcin

We could probably add this to the resultJsonOutputFile without too much trouble.

heathkit avatar Dec 21 '16 00:12 heathkit

Please... with sugar?

qualityshepherd avatar Feb 10 '17 20:02 qualityshepherd

+1 here, this would be amazing

frozenbe avatar May 05 '17 20:05 frozenbe