You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am able to run and get coverage result using Get-CoverTSql PowerShell wrapper function.
Source has a the public string Cobertura(string packageName = "sql", Action customCoverageUpdater = null) line 315 but the method is not visible when consuming in powershell
To Reproduce
Steps to reproduce the behavior:
Run $result = Get-CoverTSql "$openCoverSourceFolder\SQLCover.dll" $connectionString $databaseName $runtSQLtTestsCmd
Try to run $result.Cobertura()
See error
Method invocation failed because [SQLCover.CoverageResult] does not contain a method named 'Cobertura'.
At line:1 char:1
Having updated it to produce a Cobertura export. I then realised the version of the dll that lives in that folder is an older version - 0.2.1 which doesn't have that method.
If you build yourself a dll from the 0.5.0 source code you should find it works
Describe the bug
I am able to run and get coverage result using Get-CoverTSql PowerShell wrapper function.
Source has a the public string Cobertura(string packageName = "sql", Action customCoverageUpdater = null) line 315 but the method is not visible when consuming in powershell
To Reproduce
Steps to reproduce the behavior:
Method invocation failed because [SQLCover.CoverageResult] does not contain a method named 'Cobertura'.
At line:1 char:1
Expected behavior
$result = Get-CoverTSql "$openCoverSourceFolder\SQLCover.dll" $connectionString $databaseName $runtSQLtTestsCmd
$result.Cobertura() | Out-File $path
$result.SaveSourceFiles($reportPath)
@GoEddie
The text was updated successfully, but these errors were encountered: