ios-inventory-agent icon indicating copy to clipboard operation
ios-inventory-agent copied to clipboard

Test Report layout

Open hectorerb opened this issue 6 years ago • 5 comments

Hi, @E1matheus Could you create a layout for Test Report for iOS project sites?

After running the unit tests using fastlane scan test reports are generated in this location: ./fastlane/test_output/report.html ./fastlane/test_output/report.junit

You can use any of these files to create the layout

hectorerb avatar Jun 21 '18 22:06 hectorerb

Hi @ajsb85 @hectorerb,

I'll be working on this issue along with #157

To solve it, after previous discussion with @Gianfranco97 , we require a new plugin to create the template for the project site, here are the steps to accomplish it

Plugin test report iOS

  • [X] Create fastlane plugin
  • [X] Change the information for the project (package.json, ruby)
  • [X] Create html template
  • [x] Parse data from xml created
  • [X] Template from ERB based in step 3 and using the data from step 4
  • [ ] CI, deploy to ruby gems
  • [x] Test
  • [X] Custom template

Naylin15 avatar Sep 26 '18 14:09 Naylin15

Hi, @Naylin15 Could you propose a name of the new fastlane plugin? Here is an example: https://github.com/TECLIB/fastlane-plugin-xcov_report

ajsb85 avatar Sep 26 '18 22:09 ajsb85

Hi, @ajsb85

I was thinking fastlane-plugin-test_report

Naylin15 avatar Sep 27 '18 12:09 Naylin15

Hi, @Naylin15 Already created https://github.com/TECLIB/fastlane-plugin-test_report

ajsb85 avatar Sep 27 '18 15:09 ajsb85

Merci @ajsb85 !

Naylin15 avatar Sep 27 '18 15:09 Naylin15