Skip to content

Commit 94accd0

Browse files
committed
LCOV and Coverxygen Installation Added
1 parent 9c43719 commit 94accd0

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

4-install-coverxygen.bat

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@echo off
2+
@setlocal enableextensions
3+
@cd /d "%~dp0"
4+
echo Installing converxygen doxygen XML parser
5+
pip install coverxygen

4-install-lcov.bat

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@echo off
2+
@setlocal enableextensions
3+
@cd /d "%~dp0"
4+
echo Installing Report Generator...
5+
choco install lcov -y
6+
echo lcov and genhtml located on C:\ProgramData\chocolatey\lib\lcov\tools\bin\
7+
pause
8+

README.md

+30
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,36 @@ doxygen -g
270270

271271
This will create Doxyfile for us to modify. Use Doxywizard to modify file. Be sure that your output directory should be **./docs** and all warnings should be opened and warnings stop operations.
272272

273+
#
274+
275+
#### coverxygen Setup
276+
277+
We are parsing doxygen XML output with coverxygen and generate info file for LCOV. This tool generate output that LCOV use and generate HTML document coverage report
278+
279+
To install coverxygen you need python and pip
280+
281+
```bash
282+
@echo off
283+
@setlocal enableextensions
284+
@cd /d "%~dp0"
285+
echo Installing converxygen doxygen XML parser
286+
pip install coverxygen
287+
```
288+
289+
#### LCOV Setup
290+
291+
LCOV is use to generate HTML document coverage tool in this project, but it can be used for different purposes. You can use choco package manager to install application as follow
292+
293+
```bash
294+
@echo off
295+
@setlocal enableextensions
296+
@cd /d "%~dp0"
297+
echo Installing Report Generator...
298+
choco install lcov -y
299+
echo lcov and genhtml located on C:\ProgramData\chocolatey\lib\lcov\tools\bin\
300+
pause
301+
```
302+
273303
#### ReportGenerator Setup
274304

275305
We need to install [reportgenerator](https://reportgenerator.io/) for creation of HTML test reports, we will use choco to install visit package manager web site [Chocolatey Software | ReportGenerator (Portable) - Generates reports for various code coverage tools 5.1.20](https://community.chocolatey.org/packages/reportgenerator.portable)

0 commit comments

Comments
 (0)