Skip to content

.git/hooks/post-commit - if test case not found error message #44

@BradleyA

Description

@BradleyA

Describe the incident:
if test case not found error message. Need to add code to prevent and give WARNning
To reproduce the incident:
Steps to reproduce the behavior:

  1. edit

    hooks/bin/TEST/git-TEST-cases.sh/FVT-setup.sh sh
    hooks/bin/git-TEST-cases.sh sh

  2. markit

Actual results:
Test case ---> git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-add-001 git-TEST-cases.sh 0 - No difference with expected output - PASS - PASS
Test case ---> git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-all-001 git-TEST-cases.sh 0 - Test file w/ test cases found - PASS - PASS
Test case ---> git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-all-002 git-TEST-cases.sh 0 - Test file w/ test cases found - PASS - PASS
Test case ---> git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-all-hooks-001 git-TEST-cases.sh 0 - Test file w/ test cases found in hooks directory - PASS - PASS
Test case ---> git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-all-hooks-002 git-TEST-cases.sh 0 - Test file w/ test cases found in hooks directory - PASS - PASS
Test case ---> git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-clean-001 git-TEST-cases.sh 0 - No difference with expected output - PASS - PASS
Test case ---> git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-clean-002 git-TEST-cases.sh 0 - No difference with expected output - PASS - PASS
Test case ---> git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-clean-hooks-001 git-TEST-cases.sh 0 - No difference with expected output - PASS - PASS
.git/hooks/post-commit: line 168: /home/uadmin/github/BradleyA/git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-clean-hooks-002: No such file or directory
.git/hooks/post-commit: line 168: /home/uadmin/github/BradleyA/git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-clean-hooks-003: No such file or directory
.git/hooks/post-commit: line 168: /home/uadmin/github/BradleyA/git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-clean-hooks-004: No such file or directory
.git/hooks/post-commit: line 168: /home/uadmin/github/BradleyA/git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-filename-001: No such file or directory
.git/hooks/post-commit: line 168: /home/uadmin/github/BradleyA/git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-filename-002: No such file or directory
.git/hooks/post-commit: line 168: /home/uadmin/github/BradleyA/git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-filename-003: No such file or directory
.git/hooks/post-commit: line 168: /home/uadmin/github/BradleyA/git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-filename-004: No such file or directory
.git/hooks/post-commit: line 168: /home/uadmin/github/BradleyA/git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-filename-005: No such file or directory
.git/hooks/post-commit: line 168: /home/uadmin/github/BradleyA/git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-filename-006: No such file or directory
.git/hooks/post-commit: line 168: /home/uadmin/github/BradleyA/git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-filename-hooks-001: No such file or directory
.git/hooks/post-commit: line 168: /home/uadmin/github/BradleyA/git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-filename-hooks-002: No such file or directory
.git/hooks/post-commit: line 168: /home/uadmin/github/BradleyA/git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-filename-hooks-003: No such file or directory
.git/hooks/post-commit: line 168: /home/uadmin/github/BradleyA/git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-filename-hooks-004: No such file or directory
.git/hooks/post-commit: line 168: /home/uadmin/github/BradleyA/git-TEST-commit-automation/hooks/bin/TEST/git-TEST-cases.sh/FVT-option-help-001: No such file or directory

 FVT: git-TEST-cases.sh 

Number of test cases = 22
Number of test cases pass = 8
Number of test cases fail = 0
Number of test cases error = 14
14 127

Expected results:
warning file not found check ./FVT-setup

Version:

Screenshots:
If applicable, add screenshots to help explain your incident.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working, an incident requiring resources for assessment and resolution.needs investigationWhat? How?

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions