We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7900a5c commit 1e0265eCopy full SHA for 1e0265e
2 files changed
composer.json
@@ -5,8 +5,8 @@
5
"php-webdriver/webdriver": "1.14.0"
6
},
7
"scripts": {
8
- "local": "php triggerTest.php tests LocalTest.php",
9
- "test": "php triggerTest.php tests Test.php"
+ "local": "php triggerTest.php LocalTest.php",
+ "test": "php triggerTest.php Test.php"
10
11
"autoload": {
12
"classmap": ["lib/"]
triggerTest.php
@@ -1,7 +1,7 @@
1
<?php
2
// Check if an argument is provided for config_file
3
$testFileArg = $argv[1] ?? 'Test.php';
4
-$testFile = "tests" . DIRECTORY_SEPARATOR . $var2;
+$testFile = "tests" . DIRECTORY_SEPARATOR . $testFileArg;
putenv("TEST_FILE=$testFile");
putenv('CONFIG_FILE=config/test.conf.json');
// Execute the PHP script with the dynamically retrieved value
0 commit comments