boyka-framework icon indicating copy to clipboard operation
boyka-framework copied to clipboard

⭐ New feature: New test execution report required

Open mfaisalkhatri opened this issue 1 year ago • 0 comments

📗 Description of the new feature request?

Description

A repost should be displayed after the test execution which should show the following details

Section 1 - Summary

  • [ ] All tests count
  • [ ] Passed Test count
  • [ ] Failed Test count
  • [ ] Skipped test count
  • [ ] Test Start Date time
  • [ ] Test End Date time
  • [ ] Total time taken for all the tests

Section 2 - MetaData details

  • If tests are run on Web show
  • [ ] Browser Name
  • [ ] Browser Version
  • [ ] Browser Resolution
  • [ ] Platform Name
  • [ ] Platform Version
  • [ ] Username -Machine user name

Section 3 - Test Details

  • [ ] Test Name - should be captured from @Description parameter from @Test annotation if description is not provided, show the test method name
  • [ ] Console logs - It should show the test failure steps - Show event logs with exception details
  • [ ] Screenshot of the web page where the test failed

🚧 Scenario where this would be used?

Test Automation Engineer should have the flexibility to generate the report at his fingertips.

  • [ ] Report should be configurable from config

There are two options for generating the report

  1. Generate local report by running a command like boyka-report..etc
  2. Generate report after test execution in the boyka-report folder and provide a html file that can be viewed in any browser.

💁 Supporting information

No response

mfaisalkhatri avatar Jul 27 '24 17:07 mfaisalkhatri