Skip to content

Commit ffc8b82

Browse files
FredrikMeyerChristoph Büscher
authored and
Christoph Büscher
committed
[Docs] Use capital letters in section headings (#31678)
Section headings should start with capital letters.
1 parent 2a3a86b commit ffc8b82

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/reference/testing/testing-framework.asciidoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -54,22 +54,22 @@ If your test is a well isolated unit test which doesn't need a running Elasticse
5454

5555

5656
[[integration-tests]]
57-
=== integration tests
57+
=== Integration tests
5858

5959
These kind of tests require firing up a whole cluster of nodes, before the tests can actually be run. Compared to unit tests they are obviously way more time consuming, but the test infrastructure tries to minimize the time cost by only restarting the whole cluster, if this is configured explicitly.
6060

6161
The class your tests have to inherit from is `ESIntegTestCase`. By inheriting from this class, you will no longer need to start Elasticsearch nodes manually in your test, although you might need to ensure that at least a certain number of nodes are up. The integration test behaviour can be configured heavily by specifying different system properties on test runs. See the `TESTING.asciidoc` documentation in the https://github.com/elastic/elasticsearch/blob/master/TESTING.asciidoc[source repository] for more information.
6262

6363

6464
[[number-of-shards]]
65-
==== number of shards
65+
==== Number of shards
6666

6767
The number of shards used for indices created during integration tests is randomized between `1` and `10` unless overwritten upon index creation via index settings.
6868
The rule of thumb is not to specify the number of shards unless needed, so that each test will use a different one all the time. Alternatively you can override the `numberOfShards()` method. The same applies to the `numberOfReplicas()` method.
6969

7070

7171
[[helper-methods]]
72-
==== generic helper methods
72+
==== Generic helper methods
7373

7474
There are a couple of helper methods in `ESIntegTestCase`, which will make your tests shorter and more concise.
7575

@@ -88,7 +88,7 @@ There are a couple of helper methods in `ESIntegTestCase`, which will make your
8888

8989

9090
[[test-cluster-methods]]
91-
==== test cluster methods
91+
==== Test cluster methods
9292

9393
The `InternalTestCluster` class is the heart of the cluster functionality in a randomized test and allows you to configure a specific setting or replay certain types of outages to check, how your custom code reacts.
9494

0 commit comments

Comments
 (0)