Skip to content

Commit 5869223

Browse files
committed
split up some long sentences for the linter
1 parent 4f9f8bb commit 5869223

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docs/guides/modules/test/pages/adaptive-testing.adoc

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ The two most common causes for this:
268268
* The tests were run with a different job name, in this case, rerunning the job should find timing data.
269269
* The `<< outputs.junit >>` template variable is not set up correctly. Ensure that the run command uses the template variable and the `store_test_results` step provides a path to a directory so that all batches of `<< outputs.junit >>` are stored.
270270

271-
If the tests are still slower, the test runner being used might have initial start up time when running tests, this can cause significant slow down using the dynamic batching as each batch needs to do that initial start up.
271+
If the tests are still slower, the test runner being used might have initial start up time when running tests. Test runner start up time can cause significant slow down using the dynamic batching as each batch needs to do that initial start up.
272272

273273
Add the `dynamic-batching: false` option to `.circleci/test-suites.yml` to disable dynamic batching.
274274

@@ -294,7 +294,11 @@ The goal of this section is to enable adaptive testing for your test suite.
294294

295295
=== 2.1 Update the test suites file
296296

297-
When using adaptive testing for test impact analysis, the `discover` command discovers all tests in a test suite, the `run` command runs only impacted tests and a new command, the `analysis` command, analyzes each test impacted.
297+
When using adaptive testing for test impact analysis the following commands are used:
298+
299+
* The `discover` command discovers all tests in a test suite.
300+
* The `run` command runs only impacted tests and a new command.
301+
* The `analysis` command analyzes each test impacted.
298302

299303
. Update the `.circleci/test-suites.yml` file to include a stubbed analysis command.
300304
. Update the `.circleci/test-suites.yml` file to include the option `adaptive-testing: true`.
@@ -328,7 +332,7 @@ Supported coverage template variables:
328332
* `<< outputs.lcov >>`: Coverage data in LCOV format.
329333
* `<< outputs.go-coverage >>`: Coverage data in Go coverage format.
330334

331-
The coverage location does not need to be set in the outputs map, a temporary file will be created and used during analysis with the template variable from the analysis command.
335+
The coverage location does not need to be set in the outputs map. A temporary file will be created and used during analysis with the template variable from the analysis command.
332336

333337
. Update your `.circleci/test-suites.yml` file with the analysis command.
334338

@@ -859,4 +863,4 @@ Adaptive testing is runner-agnostic. We provide default configurations for the f
859863
* Cypress (E2E testing)
860864
* Vitest
861865

862-
The key requirement is that your test runner can generate coverage data in a parsable format (currently, we suppport LCOV and Go's "legacy coverage" format).
866+
The key requirement is that your test runner can generate coverage data in a parsable format (currently, we support LCOV and Go's "legacy coverage" format).

0 commit comments

Comments
 (0)