kenherring / ablunit-test-runner

VSCode Extension to integrate OpenEdge ABLUnit tests via the native API
MIT License
3 stars 3 forks source link

Blank progressIni not respectd #163

Open PeterJudgeZA opened 1 week ago

PeterJudgeZA commented 1 week ago

The comments for the progressIni property in ablunit-test-profile.json (from test_projects/proj0/.vscode/ablunit-test-profile-verbose.json) say

                ////# Notes:
                ////#   * When the value provided resolves to an existing file it will be copied
                ////#     to the "tempDir" before test execution.
                ////#   * If no value is provided or the file does not exist the extension will
                ////#     attempt to create a default progress.ini file in the "tempDir".
                ////#   * A blank value will remove the related args from the command line.
                "progressIni": "",

However, specifying a blank value results in a runtime failure

Command failed: c:/Progress117/OpenEdge/bin/_progres -b -p c:/Users/pjudge/.vscode/extensions/kherring.ablunit-test-runner-0.2.1/resources/ABLUnitCore-wrapper.p -basekey INI -ininame <project-path> -T ./temp -pf temp/dbconn.pf -profile temp/profile.options -param "CFG=temp/ablunit.json" 2>&1

There are also errors when a null value is used.