@@ -59,6 +59,38 @@ try {
|
||||
$environment['COMMON_BUDGET_PATH'] = 'C:/laragon/www/sgf-tempo/packages/budget-control';
|
||||
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/ImportLandedCostPlanTest.php', 'tests/Feature/ImportLandedCostsTest.php', 'tests/Feature/BudgetLandedCostsContractTest.php',
|
||||
'tests/Feature/SupplyPlanningTest.php', 'tests/Feature/BudgetDistributionContractTest.php', 'tests/Feature/BudgetOrderPartsContractTest.php', 'tests/Feature/BudgetTest.php', 'tests/Feature/BudgetReinforcementTest.php', 'tests/Feature/InvoiceTest.php', 'tests/Feature/OperationalHealthTest.php']];
|
||||
if (in_array('--estimate-focused', $argv, true)) {
|
||||
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/ImportEstimatePlanTest.php', 'tests/Feature/ImportEstimatesTest.php',
|
||||
'tests/Feature/BudgetLandedCostsContractTest.php', 'tests/Feature/InternalRequisitionCandidateTest.php', 'tests/Feature/RequisitionApprovalLevelsTest.php']];
|
||||
}
|
||||
if (in_array('--estimate-concurrency', $argv, true)) {
|
||||
$commands = [[PHP_BINARY, 'tests/Concurrency/quotation-exchange-worker.php', $database, 'migrate'],
|
||||
[PHP_BINARY, 'tests/Concurrency/budget-landed-cost-worker.php', $database, 'race-estimate']];
|
||||
}
|
||||
if (in_array('--estimate-reconciliation-concurrency', $argv, true)) {
|
||||
$commands = [[PHP_BINARY, 'tests/Concurrency/quotation-exchange-worker.php', $database, 'migrate'],
|
||||
[PHP_BINARY, 'tests/Concurrency/budget-landed-cost-worker.php', $database, 'race-estimate-reconcile']];
|
||||
}
|
||||
if (in_array('--estimate-native-only', $argv, true)) {
|
||||
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/ImportEstimatesTest.php']];
|
||||
}
|
||||
if (in_array('--estimate-contract-only', $argv, true)) {
|
||||
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/ImportEstimatePlanTest.php', 'tests/Feature/BudgetLandedCostsContractTest.php']];
|
||||
}
|
||||
if (in_array('--estimate-regression-only', $argv, true)) {
|
||||
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/InternalRequisitionCandidateTest.php', 'tests/Feature/RequisitionApprovalLevelsTest.php']];
|
||||
}
|
||||
if (in_array('--dossier-focused', $argv, true)) {
|
||||
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/ImportDossierTest.php', 'tests/Feature/ImportLandedCostsTest.php', 'tests/Feature/OperationalHealthTest.php', 'tests/Feature/SupplyPlanningTest.php']];
|
||||
}
|
||||
if (in_array('--dossier-concurrency', $argv, true)) {
|
||||
$commands = [[PHP_BINARY, 'tests/Concurrency/quotation-exchange-worker.php', $database, 'migrate'],
|
||||
[PHP_BINARY, 'tests/Concurrency/import-dossier-worker.php', $database, 'race-dossier']];
|
||||
}
|
||||
if (in_array('--party-concurrency', $argv, true)) {
|
||||
$commands = [[PHP_BINARY, 'tests/Concurrency/quotation-exchange-worker.php', $database, 'migrate'],
|
||||
[PHP_BINARY, 'tests/Concurrency/import-dossier-worker.php', $database, 'race-party']];
|
||||
}
|
||||
if (in_array('--native-financial-focused', $argv, true)) {
|
||||
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/ImportLandedCostsTest.php', '--filter=native independently reviewed cost plan']];
|
||||
}
|
||||
@@ -82,6 +114,10 @@ try {
|
||||
$commands = [[PHP_BINARY, 'tests/Concurrency/quotation-exchange-worker.php', $database, 'migrate'],
|
||||
[PHP_BINARY, 'tests/Concurrency/budget-distribution-recovery-worker.php', $database, 'landed-costs']];
|
||||
}
|
||||
if (in_array('--estimate-recovery', $argv, true)) {
|
||||
$commands = [[PHP_BINARY, 'tests/Concurrency/quotation-exchange-worker.php', $database, 'migrate'],
|
||||
[PHP_BINARY, 'tests/Concurrency/budget-distribution-recovery-worker.php', $database, 'import-estimates']];
|
||||
}
|
||||
}
|
||||
if ($orderPartsMode) {
|
||||
$environment['COMMON_BUDGET_PATH'] = 'C:/laragon/www/sgf-tempo/packages/budget-control';
|
||||
@@ -99,6 +135,14 @@ try {
|
||||
$commands = [[PHP_BINARY, 'tests/Concurrency/quotation-exchange-worker.php', $database, 'migrate'],
|
||||
[PHP_BINARY, 'tests/Concurrency/budget-order-parts-worker.php', $database, 'race']];
|
||||
}
|
||||
if (in_array('--order-parts-amendment-concurrency', $argv, true)) {
|
||||
$commands = [[PHP_BINARY, 'tests/Concurrency/quotation-exchange-worker.php', $database, 'migrate'],
|
||||
[PHP_BINARY, 'tests/Concurrency/budget-order-parts-worker.php', $database, 'race-amend']];
|
||||
}
|
||||
if (in_array('--order-parts-amendment-recovery', $argv, true)) {
|
||||
$commands = [[PHP_BINARY, 'tests/Concurrency/quotation-exchange-worker.php', $database, 'migrate'],
|
||||
[PHP_BINARY, 'tests/Concurrency/budget-distribution-recovery-worker.php', $database, 'order-parts-amendment']];
|
||||
}
|
||||
}
|
||||
if ($categoryApprovalsMode) {
|
||||
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/RequisitionApprovalLevelsTest.php', 'tests/Feature/RequisitionCategoriesTest.php']];
|
||||
|
||||
Reference in New Issue
Block a user