Skip to content

Commit

Permalink
[docs] Fix docs on Batch.PER_CLASS
Browse files Browse the repository at this point in the history
Docs-only change. See here
https://source.chromium.org/chromium/chromium/src/+/main:base/test/android/javatests/src/org/chromium/base/test/util/Batch.java;l=39;drc=e4622aaeccea84652488d1822c28c78b7115684f

Change-Id: I1832b8899d8453a3c08d2a6eef31ea23c88d9689
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5366924
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Auto-Submit: Victor Vianna <victorvianna@google.com>
Cr-Commit-Position: refs/heads/main@{#1271705}
  • Loading branch information
Victor Vianna authored and Chromium LUCI CQ committed Mar 12, 2024
1 parent 4d98ede commit d7fe65c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/testing/batching_instrumentation_tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ All on-device tests would ideally be annotated with one of:

* `@Batch(Batch.UNIT_TESTS)`: For tests the do not rely on global application
state.
* `@Batch(Batch.PER_CLASS)`: For test classes where the process does need to be
restarted between `@Test`s within the class.
* `@Batch(Batch.PER_CLASS)`: For test classes where the process does not need
to be restarted between `@Test`s within the class, but should be restarted
before and after the suite runs.
* `@DoNotBatch(reason="..."`: For tests classes that require the process to be
restarted for each test or are infeasible to batch.

Expand Down

0 comments on commit d7fe65c

Please sign in to comment.