@@ -24,88 +24,8 @@ bench:
2424
2525.PHONY : example
2626example :
27- ./run_example.sh 3 TestPanic
28- go run . aggregate-results \
29- --results-path ./example_results \
30- --output-path ./example_results \
31- --repo-url " https://github.com/smartcontractkit/chainlink-testing-framework" \
32- --branch-name " example-branch" \
33- --base-sha " abc" \
34- --head-sha " xyz" \
35- --github-workflow-name " ExampleWorkflowName" \
36- --github-workflow-run-url " https://github.com/example/repo/actions/runs/1" \
37- --splunk-url " https://splunk.example.com" \
38- --splunk-token " splunk-token" \
39- --splunk-event " example-splunk-event"
40- GITHUB_TOKEN=" EXAMPLE_GITHUB_TOKEN" go run . generate-report \
41- --aggregated-results-path ./example_results/all-test-results.json \
42- --output-path ./example_results \
43- --github-repository " smartcontractkit/chainlink-testing-framework" \
44- --github-run-id " 1" \
45- --failed-tests-artifact-name " failed-test-results-with-logs.json" \
46- --base-branch " exampleBaseBranch" \
47- --current-branch " exampleCurrentBranch" \
48- --current-commit-sha " abc" \
49- --repo-url " https://github.com/smartcontractkit/chainlink-testing-framework" \
50- --action-run-id " 1" \
51- --max-pass-ratio " 1.0"
27+ ./run_example.sh 3 Panic,Timeout
5228
5329.PHONY : example_flaky_panic
5430example_flaky_panic :
5531 ./run_example.sh 3 TestPanic
56- go run . aggregate-results \
57- --results-path ./example_results \
58- --output-path ./example_results \
59- --repo-url " https://github.com/smartcontractkit/chainlink-testing-framework" \
60- --branch-name " example-branch" \
61- --base-sha " abc" \
62- --head-sha " xyz" \
63- --github-workflow-name " ExampleWorkflowName" \
64- --github-workflow-run-url " https://github.com/example/repo/actions/runs/1" \
65- --splunk-url " https://splunk.example.com" \
66- --splunk-token " splunk-token" \
67- --splunk-event " example-splunk-event"
68- GITHUB_TOKEN=" EXAMPLE_GITHUB_TOKEN" go run . generate-report \
69- --aggregated-results-path ./example_results/all-test-results.json \
70- --output-path ./example_results \
71- --github-repository " smartcontractkit/chainlink-testing-framework" \
72- --github-run-id " 1" \
73- --failed-tests-artifact-name " failed-test-results-with-logs.json" \
74- --base-branch " exampleBaseBranch" \
75- --current-branch " exampleCurrentBranch" \
76- --current-commit-sha " abc" \
77- --repo-url " https://github.com/smartcontractkit/chainlink-testing-framework" \
78- --action-run-id " 1" \
79- --max-pass-ratio " 1.0"
80-
81- .PHONY : example_timeout
82- example_timeout :
83- rm -rf example_results
84- mkdir -p example_results
85- - go run . run --project-path=./runner --test-packages=./example_test_package --run-count=5 --select-tests=TestTimeout --timeout=1s --max-pass-ratio=1 --race=false --output-json=example_results/example_run_1.json
86- - go run . run --project-path=./runner --test-packages=./example_test_package --run-count=5 --select-tests=TestTimeout --timeout=1s --max-pass-ratio=1 --race=false --output-json=example_results/example_run_2.json
87- - go run . run --project-path=./runner --test-packages=./example_test_package --run-count=5 --select-tests=TestTimeout --timeout=1s --max-pass-ratio=1 --race=false --output-json=example_results/example_run_3.json
88- go run . aggregate-results \
89- --results-path ./example_results \
90- --output-path ./example_results \
91- --repo-url " https://github.com/smartcontractkit/chainlink-testing-framework" \
92- --branch-name " example-branch" \
93- --base-sha " abc" \
94- --head-sha " xyz" \
95- --github-workflow-name " ExampleWorkflowName" \
96- --github-workflow-run-url " https://github.com/example/repo/actions/runs/1" \
97- --splunk-url " https://splunk.example.com" \
98- --splunk-token " splunk-token" \
99- --splunk-event " example-splunk-event"
100- GITHUB_TOKEN=" EXAMPLE_GITHUB_TOKEN" go run . generate-report \
101- --aggregated-results-path ./example_results/all-test-results.json \
102- --output-path ./example_results \
103- --github-repository " smartcontractkit/chainlink-testing-framework" \
104- --github-run-id " 1" \
105- --failed-tests-artifact-name " failed-test-results-with-logs.json" \
106- --base-branch " exampleBaseBranch" \
107- --current-branch " exampleCurrentBranch" \
108- --current-commit-sha " abc" \
109- --repo-url " https://github.com/smartcontractkit/chainlink-testing-framework" \
110- --action-run-id " 1" \
111- --max-pass-ratio " 1.0"
0 commit comments