Skip to content

CodeCoverage.exe does not call the unit test exe file #34

@MHumm

Description

@MHumm

Am I am doing anything wrong?
CodeCoverage.exe (newest version from a few days ago) no longer calls the exe of the unit test.
Here's the contents of the batch file used to run it:

"D:\Projekte\DelphiCodeCoverageWizardNew\Binaries\CodeCoverage.exe" -e "D:\Projekte\DECGitMaster\Compiled\BIN_IDE22.0_Win32_Debug\DECDUnitXTestSuite.exe" -m "D:\Projekte\DECGitMaster\Compiled\BIN_IDE22.0_Win32_Debug\DECDUnitXTestSuite.map" -sd "D:\Projekte\DECGitMaster\Source" -ife -uf "D:\Projekte\DECGitMaster\Unit Tests\CodeCoverage\DECCodeCoverage_dcov_units.lst" -spf "D:\Projekte\DECGitMaster\Unit Tests\CodeCoverage\DECCodeCoverage_dcov_paths.lst" -od "D:\Projekte\DECGitMaster\Unit Tests\CodeCoverage\Output" -v -lt "D:\Projekte\DECGitMaster\Unit Tests\CodeCoverage\Output\DECCodeCoverage_DelphiCodeCoverageDebug.log" -html

The log file reads (among other messages):
"Trying to start D:\Projekte\DECGitMaster\Compiled\BIN_IDE22.0_Win32_Debug\DECDUnitXTestSuite.exe with the Parameters :
Started successfully" But I never see any window running my DUnitX tests. In earlier attempts it was displayed.

If you need more data please tell me.
Another thing: it would be nice if CodeCoverage.exe had version info in it (project options -> there's a checkbox to include version info) and would be able (if necessary I can give you code to do so) to write that version number into the log file, so it gets easier when analyzing log files to search for bugs which version has been used.

How to get in touch to make CodeCoverage.exe work again for my project?
Ironically it works when I use it with the DUnit test project (GUI test runner) of the very same project (I have all test cases there in both ways: DUnit and DUnitX).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions