Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
3052d3b
feat: implement --shard option #6270
marionebl Mar 3, 2022
9a02991
fix: remove unneeded optional chain
marionebl Mar 4, 2022
1bdab88
fix: validate shard option in runJest too
marionebl Mar 4, 2022
edcd51b
fix: simplify .shard control flow
marionebl Mar 4, 2022
8a6d66f
test: add shard e2e test
marionebl Mar 4, 2022
fc7574d
ci: try dogfooding on circleci
marionebl Mar 4, 2022
d524ecf
test: fix failing test
marionebl Mar 4, 2022
392f2f2
docs: add changelog entry
marionebl Mar 4, 2022
d507ae5
ci: simplify circleci config
marionebl Mar 4, 2022
002e9d5
Apply formatting suggestion
marionebl Mar 5, 2022
17a2f41
Grammar fix
marionebl Mar 5, 2022
c2cc758
fix: validate only once
marionebl Mar 5, 2022
9136939
test: cover negative number validation
marionebl Mar 5, 2022
0e27779
test: add clarifying comment
marionebl Mar 5, 2022
abe7806
test: throw if sharding on non-shardin test sequencer
marionebl Mar 5, 2022
a205153
ci: use actions matrix
marionebl Mar 5, 2022
6f1631d
docs: x-reference between shard and testSequencer
marionebl Mar 5, 2022
f558cd9
feat: use jump consistent hashing
marionebl Mar 5, 2022
1effb45
docs: fix typo
marionebl Mar 5, 2022
3f38e3a
docs: contract
marionebl Mar 5, 2022
61536d8
docs: no relative marker
marionebl Mar 5, 2022
d0366ef
docs: fix typo
marionebl Mar 5, 2022
e598dad
fix: remove unneeded guard
marionebl Mar 5, 2022
e045336
fix: clean up debris
marionebl Mar 5, 2022
1ef0f95
fix: apply format
marionebl Mar 5, 2022
42f5276
style: apply formatting
marionebl Mar 5, 2022
4cc8728
feat: use sha1 for test spreading
marionebl Mar 5, 2022
d8e69b4
test: relax assertions regarding ordering
marionebl Mar 5, 2022
d3cebc4
ci: use matrix parameter
marionebl Mar 5, 2022
6f2a633
ci: chard correct execution
marionebl Mar 5, 2022
2986f1d
feat: replace hardcoded shard config
marionebl Mar 5, 2022
2a08e13
fix: remove snapshot checkins
marionebl Mar 5, 2022
8b60f60
docs: add missing copyright headers
marionebl Mar 5, 2022
dcb6706
Merge branch 'main' into 6270
SimenB Mar 5, 2022
2aed48b
move changelog
SimenB Mar 5, 2022
1b61239
rename
SimenB Mar 5, 2022
9316f6f
doc tweaks
SimenB Mar 5, 2022
2ba718e
tweak test
SimenB Mar 5, 2022
fe1eb34
tweak spacing in cli args descriptions
SimenB Mar 5, 2022
734748e
strings, not regex, in test
SimenB Mar 5, 2022
8fbace8
remove inferred type annotation
SimenB Mar 5, 2022
a542b82
Update docs/CLI.md
SimenB Mar 5, 2022
0d4fb3f
Update docs/Configuration.md
SimenB Mar 5, 2022
062a80c
use relative path in hash
SimenB Mar 5, 2022
3362237
lockfile
SimenB Mar 5, 2022
74b1a0c
localeCompare, not number conversion
SimenB Mar 5, 2022
798fd40
unit test
SimenB Mar 5, 2022
128047f
type errors in test
SimenB Mar 5, 2022
6facf86
oops
SimenB Mar 5, 2022
be17873
move docs and mention in troubleshooting
SimenB Mar 5, 2022
70d073f
maybe?
SimenB Mar 5, 2022
3748808
compare manually
SimenB Mar 5, 2022
75014e9
maybe
SimenB Mar 6, 2022
a2bb729
shard coverage run
SimenB Mar 6, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docs/Configuration.md
  • Loading branch information
SimenB authored Mar 5, 2022
commit 0d4fb3f8022d10fa66280c65c40cc0dc6c07da61
2 changes: 1 addition & 1 deletion docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ The test suite shard to execute in a format of `(?<shardIndex>\d+)/(?<shardCount

`shardIndex` and `shardCount` have to be 1-based, positive numbers, and `shardIndex` has to be lower than or equal to `shardCount`.

When `shard` is specified the used [testSquencer](#testsequencer-string) implementation has to implement a `shard` method.
When `shard` is specified the configured [`testSquencer`](#testsequencer-string) implementation has to implement a `shard` method.

Refer to [`testSquencer`](#testsequencer-string) on how to override the default sharding implementation.

Expand Down