Defines the order in which tasks will run. Default: { first: "before", last: "unique" }.
If IOrder.first === "before" && IOrder.last === "unique", each stage will run serially following the order:
before
schema
unique
However, all tests within each stage will be run in parallel.
If only IOrder.first is defined, but not IOrder.last, the other two stages will run in parallel after the first has completed. As an example, if IOrder.first === "before" and IOrder.last is undefined, then schema and unique checks will run in parallel afterbefore checks have completed.
The same also applies in reverse, when only IOrder.last is defined. As an example, if IOrder.last === "schema" and IOrder.first is undefined, both before and unique tasks would run in parallel first while schema tasks would only be run after they have completed.
If both IOrder.first and IOrder.last are undefined all tests will be run in parallel.
Defines the order in which tasks will run. Default:
{ first: "before", last: "unique" }.If
IOrder.first === "before" && IOrder.last === "unique", each stage will run serially following the order:beforeschemauniqueHowever, all tests within each stage will be run in parallel.
If only
IOrder.firstis defined, but notIOrder.last, the other two stages will run in parallel after the first has completed. As an example, ifIOrder.first === "before"andIOrder.lastisundefined, thenschemaanduniquechecks will run in parallel afterbeforechecks have completed.The same also applies in reverse, when only
IOrder.lastis defined. As an example, ifIOrder.last === "schema"andIOrder.firstisundefined, bothbeforeanduniquetasks would run in parallel first whileschematasks would only be run after they have completed.If both
IOrder.firstandIOrder.lastareundefinedall tests will be run in parallel.