You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: content/en/continuous_integration/intelligent_test_runner/_index.md
+10-7
Original file line number
Diff line number
Diff line change
@@ -79,8 +79,10 @@ After setting these environment variables, run your tests as you normally do:
79
79
NODE_OPTIONS="-r dd-trace/ci/init" DD_ENV=ci DD_SERVICE=my-javascript-app DD_CIVISIBILITY_AGENTLESS_ENABLED=true DD_API_KEY=$API_KEY DD_CIVISIBILITY_GIT_UPLOAD_ENABLED=true DD_CIVISIBILITY_ITR_ENABLED=true yarn test
80
80
{{< /code-block >}}
81
81
82
+
**Important**: It is possible for Intelligent Test Runner to skip every test. By default, `jest` fails if there are no tests to run. To prevent `jest` from failing, pass [`--passWithNoTests`][5] to `jest`.
83
+
82
84
#### UI activation
83
-
In addition to setting the environment variables above, you need to activate the Intelligent Test Runner on the [Test Service Settings][5] page.
85
+
In addition to setting the environment variables, you or a user in your organization with admin permissions must activate the Intelligent Test Runner on the [Test Service Settings][6] page.
84
86
85
87
#### Compatibility
86
88
@@ -118,7 +120,7 @@ To enable Intelligent Test Runner, the version of the `dd-trace` tool must be >=
118
120
**Default**: `false`<br/>
119
121
**Note**: Required only during Beta
120
122
121
-
After setting these environment variables, run your tests as you normally do by using [dotnet test][6] or [VSTest.Console.exe][7]:
123
+
After setting these environment variables, run your tests as you normally do by using [dotnet test][7] or [VSTest.Console.exe][8]:
122
124
123
125
{{< tabs >}}
124
126
@@ -144,7 +146,7 @@ dd-trace ci run --dd-service=my-dotnet-app --dd-env=ci -- VSTest.Console.exe {te
144
146
145
147
#### UI activation
146
148
147
-
In addition to setting the environment variables above, you need to activate the Intelligent Test Runner on the [Test Service Settings][5] page.
149
+
In addition to setting the environment variables, you or a user in your organization with admin permissions must activate the Intelligent Test Runner on the [Test Service Settings][6] page.
148
150
149
151
### Swift
150
152
@@ -172,7 +174,7 @@ The following environment variables must also be set:
172
174
173
175
#### UI activation
174
176
175
-
In addition to setting the environment variables above, you need to activate the Intelligent Test Runner on the [Test Service Settings][5] page.
177
+
In addition to setting the environment variables, you or a user in your organization with admin permissions must activate the Intelligent Test Runner on the [Test Service Settings][6] page.
176
178
177
179
## Setup CI Job
178
180
@@ -195,6 +197,7 @@ The default branch is automatically excluded from having Intelligent Test Runner
0 commit comments