Skip to content

Commit 31b226b

Browse files
committed
use pytest-html to self generate the report
1 parent b9ffd9e commit 31b226b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@ if (BUILD_TESTING)
627627
pytest
628628
-x -n=1 --maxfail=1 --reruns=0 --cache-clear -rpfsq
629629
--junitxml=report_integ-${test_target}.xml
630+
--html=${test_target}_report.html --self-contained-html
630631
-o log_cli=true --log-cli-level=DEBUG --provider-version=$ENV{S2N_LIBCRYPTO}
631632
--provider-criterion=off --fips-mode=0 --no-pq=0 ${test_file_path}
632633
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests/integrationv2

nix/pyenv.nix

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ in pkgs.python310.withPackages (ps:
3737
[
3838
ps.pep8
3939
ps.pytest
40+
ps.pytest-html
4041
ps.pytest-xdist
4142
ps.pytest-rerunfailures
4243
ps.typing-extensions

0 commit comments

Comments
 (0)