Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated README.md and folder structure
- Loading branch information
1 parent
bf58290
commit b32af31
Showing
5 changed files
with
47 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
include README.md LICENSE | ||
include automation-report/* | ||
include automation_report/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,34 @@ | ||
# automation-report | ||
# automation-report | ||
|
||
Python package to generate HTML report of your automation cases and its steps with its valid status. | ||
|
||
|
||
### Installation | ||
``` | ||
$ pip install automation-report | ||
``` | ||
|
||
### Code Example | ||
``` | ||
# Importing package | ||
from automation_report import report | ||
# Use starttest() method to start a new case with its name given as parameter | ||
report.starttest("CASE 0001: Test the screen") | ||
# Populate the various steps status with info(), success(), fail() methods for particular case | ||
report.info("Page is opened") | ||
report.success("It works") | ||
report.fail("Well, it didn't worked.") | ||
# End above started case | ||
report.endtest() | ||
# Create yet another case as following | ||
report.starttest("CASE 0002: Another case") | ||
report.info("DOnet screen") | ||
report.success("It works") | ||
report.endtest() | ||
# User close method to finally complete whole report generation | ||
report.close() | ||
``` |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters