Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8d2dd2e

Browse filesBrowse files
tsonevnmanoldonev
authored andcommitted
docs: add test report info in the contribution guidelines (#8116)
1 parent defb4f8 commit 8d2dd2e
Copy full SHA for 8d2dd2e

File tree

1 file changed

+18
-0
lines changed
Filter options

1 file changed

+18
-0
lines changed

‎CONTRIBUTING.md

Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+18Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Here are some guides on how to do that:
77
- [Reporting Bugs](#bugs)
88
- [Requesting New Features](#features)
99
- [Submitting a PR](#pr)
10+
- [Check test report](#test-report)
1011
- [Commit Message Guidelines](#commit-messages)
1112
- [Releasing new versions](#release)
1213

@@ -82,6 +83,23 @@ It's our turn from there on! We will review the PR and discuss changes you might
8283

8384
>Note: Sometimes you will see someone from the contributors team writing strange comments like: `test` or `test branch_functional_tests#css-gradients-tests branch_widgets#vultix/css-gradients` - don't worry about it, these are just phrases that trigger the internal CI builds.
8485
86+
## <a name="test-report"></a> Check test report
87+
88+
The purpose of the test report view is to show the tests' results for the PRs for the external contributors. When a NativeScript team member triggers the tests, you can review the result by selecting the `Details` button next to the `ci/jenkins/core-modules-tests` task.
89+
90+
> Note: the `Details` button will be available when the execution of the test completes and there is at least one failing test.
91+
92+
When you click on the button, you will be redirected to the report page. On the left pane you can find a list of all failed jobs.
93+
94+
> Note: Each item name consists of the application name, type of device and platform version: `pr-e2e-tests-[application-name]-[device-type]-[platform-version]`. Usually, the test applications, that are executed for PRs are part of NativeScript repository.
95+
96+
Based on the executed suite, one of the following or all of the following files will be generated: `mochawesome.html` | `index.html` | `unit-tests.log`. Some of the reports also might include `*.png`, `*.logs` or `[page source].xml` files that can help in understanding where is the problem.
97+
98+
For example:
99+
1. When you select the `index.html` page, an additional `TestNG Results` sidebar will be displayed. There you can find a list of all failures.
100+
2. When you select one of them, you will see on the right side all tests, that have been executed. The problematic ones will be coloured in red.
101+
3. If you click on one of them, detailed info or error log will be displayed. As we've mentioned above in some of the test reports, you will also find screenshots, that demonstrates the problem visually. Those images can be found below the info/ error log.
102+
85103
## <a name="commit-messages"></a> Commit Message Guidelines
86104

87105
Please follow the git commit message format described below when committing your changes or submitting a PR. That allows us to use the commit messages to generate a change log for every new release.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.