File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -495,7 +495,13 @@ const retest_defaults = (
495
495
spin = true ,
496
496
)
497
497
498
- def (kw:: Symbol ) = retest_defaults[kw]
498
+ def (kw:: Symbol ) =
499
+ if isdefined (Main, :__retest_defaults__ )
500
+ # TODO : test __retest_defaults__
501
+ get (Main. __retest_defaults__, kw, retest_defaults[kw])
502
+ else
503
+ retest_defaults[kw]
504
+ end
499
505
500
506
501
507
"""
@@ -554,6 +560,10 @@ Filtering `pattern`s can be specified to run only a subset of the tests.
554
560
`Threads.nthreads()` should be greater than `1` for `spin` to take effect).
555
561
Note also that this feature slows down a bit the execution of tests.
556
562
563
+ The default values of these keywords can be overriden by defining a dictionary
564
+ or named tuple within `Main` called `__retest_defaults__`, whose keys are
565
+ symbols. E.g. `__retest_defaults__ = (verbose=Inf, spin=false)`.
566
+
557
567
558
568
### Filtering
559
569
You can’t perform that action at this time.
0 commit comments