-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QE-11002 better reports part 2 (#325)
HTML scenario report 1. add variable resolution to output ![image](https://user-images.githubusercontent.com/95940265/234357886-bf34daeb-545c-4d51-bf72-731215545d46.png) 2. add comment "step" to report ![image](https://user-images.githubusercontent.com/95940265/234358389-d75630c8-b451-4abb-ab14-beb655586450.png) 3. add Flat link ![image](https://user-images.githubusercontent.com/95940265/234357808-2eed3a4d-2a0a-402f-8127-094c8a7d041c.png) 5. disable recording env vars by default in run_details.json ![image](https://user-images.githubusercontent.com/95940265/234701469-1dccdd4c-64a6-426b-b2cf-81895b48a3f7.png) 6. use dark theme for log colors since we are using Behave's builtin colors ![image](https://user-images.githubusercontent.com/95940265/234358520-88fc5e9c-ba17-4920-bc51-e219dff973f7.png) 7. tighten up vertical spacing
- Loading branch information
1 parent
75071cd
commit 6771089
Showing
16 changed files
with
153 additions
and
35 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 |
---|---|---|
|
@@ -3,7 +3,6 @@ dist | |
.coverage.* | ||
.DS_Store | ||
*.egg-info | ||
cucurc.yml | ||
htmlcov | ||
.nox | ||
terraform.tfstate | ||
|
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
CUCU_SECRETS: MY_SECRET |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Feature: Feature with comments | ||
|
||
Scenario: Scenario with comments | ||
* # First comment | ||
Given I set the variable "FOO" to "bar" | ||
And I echo "{FOO}" | ||
Then I echo the following | ||
""" | ||
This is a multiline text that | ||
can go on for a few lines | ||
and print variables like FOO={FOO} | ||
""" | ||
|
||
* # Second comment about | ||
When I set the variable "MY_SECRET" to "buzz" | ||
* # Comment about {MY_SECRET} | ||
Then I echo "{MY_SECRET}" |
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
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,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "cucu" | ||
version = "0.126.0" | ||
version = "0.127.0" | ||
license = "MIT" | ||
description = "" | ||
authors = ["Rodney Gomes <[email protected]>"] | ||
|
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from behave import use_step_matcher | ||
|
||
from cucu import step | ||
|
||
use_step_matcher("re") # use regex to match comments | ||
|
||
|
||
@step("#.*") | ||
def comment_step(ctx): | ||
""" | ||
A no-op step so that we can see "comments" in results and report. | ||
Usage: add `* #` to the line you want to show up. | ||
""" | ||
pass | ||
|
||
|
||
use_step_matcher("parse") # set this back to cucu's default matcher parser |