Skip to content

Commit

Permalink
Edited comment to rerun tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rnapoles-rh committed Mar 9, 2022
1 parent 2225212 commit a9431f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/helper/helper_generic.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ func CommonBeforeEach() CommonVar {

// CommonAfterEach is common function that cleans up after every test Spec (It)
func CommonAfterEach(commonVar CommonVar) {
// Get details, including test result for each test spec and adds it to local testResults.txt file
// Get details, including test filename, test case name, test result, and test duration for each test spec and adds it to local testResults.txt file
// Ginkgo test related variables
commonVar.testFileName = strings.Replace(CurrentGinkgoTestDescription().FileName[strings.LastIndex(CurrentGinkgoTestDescription().FileName, "/")+1:strings.LastIndex(CurrentGinkgoTestDescription().FileName, ".")], "_", "-", -1) + ".go"
commonVar.testCase = CurrentGinkgoTestDescription().FullTestText
Expand Down

0 comments on commit a9431f8

Please sign in to comment.