File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 4343 fi
4444 if [[ " 1" == " $phpUnitIterativeMode " ]]
4545 then
46+ echo
47+ echo " Uniterate Mode - Iterative Testing with Fast Failure"
48+ echo " ----------------------------------------------------"
49+ echo
4650 extraConfigs+=( --order-by=depends,defects )
4751 extraConfigs+=( --stop-on-failure --stop-on-error --stop-on-defect --stop-on-warning )
4852 fi
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ function usage {
2828 echo " stan|phpstan phpstan"
2929 echo " ann|phpunitAnnotations phpunitAnnotations"
3030 echo " unit|phpunit phpunit"
31+ echo " uniterate phpunit iterative mode - prioritise broken tests and fail on error"
3132 echo " infect|infection infection"
3233 echo " md|messdetector php mess detector"
3334 echo " ml|markdown markdown validation"
6364 stan | phpstan ) singleToolToRun=" phpstan" ;;
6465 ann | phpunitAnnotations ) singleToolToRun=" phpunitAnnotations" ;;
6566 unit | phpunit ) singleToolToRun=" phpunit" ;;
67+ uniterate ) singleToolToRun=" phpunit" ; phpUnitIterativeMode=1;;
6668 infect | infection ) singleToolToRun=" infection" ;;
6769 md | messdetector ) singleToolToRun=" messDetector" ;;
6870 ml | markdown ) singleToolToRun=" markdownLinks" ;;
You can’t perform that action at this time.
0 commit comments