Skip to content

Single Page Automation Report Template with AngularJS (aka When you want to report your own way: SAY IT LOUD: This is "Sparta")

Notifications You must be signed in to change notification settings

yourfrienddhruv/SPARTA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPARTA: Single Page Automation Report Template with AngularJS

aka When you want to report your own way! SAY IT LOUD: This is "Sparta"

LIVE EXAMPLE

http://yourfrienddhruv.github.io/

WHY

  • So you can share it easily.
  • If you want technology independent easy reporting of your test executions in SINGLE HTML PAGE.

WHAT's Different & Restriction

  • Strictly Self contained single HTML file. No more messing around with folder's and zip.

Does it look sexy?

Sample

Detailed

Failed

HOW TO

  • Run/Execute all of your test cases with your existing tools (Shell script is also fine :-) )
  • Option 1
    • Have your all test "Features" -> "Scenarios" -> "Cases" defined in JSON inside TestReport.html
    • Keep "status" placeholders for each scenarios & cases and update/replace them as per actual execution status.
  • Option 2
    • Generate JSON block inside TestReport.html file entirely from your test suite

TODO

  • Show failure reason details
  • Allow embedded images (img source data attributes)
  • Replace AngularJS with ReactJS to allow server-side rendering and export to PDF/IMG

CREDITS

Special Thanks to https://github.com/hkpesala for data structure Special Thanks to https://github.com/priyankshah217

LICENCE

http://www.wtfpl.net/

Still reading? Reach me for more interesting stuff

https://twitter.com/yourfrienddhruv

About

Single Page Automation Report Template with AngularJS (aka When you want to report your own way: SAY IT LOUD: This is "Sparta")

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published