Git Plugin Detailed coverage analysis (JENKINS 50535)
Class Lacking coverage methods GitSCM readResolve, createClient(TaskListener listener, EnvVars environment, Job project, Node n, FilePath ws) (Call without credentialsID), getBySha1 SubmoduleCombinator0 码力 | 2 页 | 46.93 KB | 1 年前3Angular CLI Tutorial
................................................................... 55 19. Angular CLI — Code Coverage ............................................................................................... against. 2 --codeCoverage=true|false Output a code coverage report. Default: false 3 --codeCoverageExclude Globs to exclude from code coverage. 4 --configuration=configuration A named build target code coverage command along with an example. Syntax The syntax for code coverage command is as follows: ng test--codeCoverage=true ng test command allows to check code coverage using 0 码力 | 64 页 | 1.04 MB | 1 年前3CMake Configuration for Demo Project
# 1 turn COLLECT_CODE_COVERAGE to FALSE # 2 build and run the tests # 3 turn COLLECT_CODE_COVERAGE back to TRUE set(COLLECT_CODE_COVERAGE FALSE) if (COLLECT_CODE_COVERAGE) include(CodeCoverage) include(CodeCoverage) append_coverage_compiler_flags() set(COVERAGE_EXCLUDES "/Applications/Xcode.app/*" "/opt/local/*" "third_party/*" ) endif () add_subdirectory(shared_code) enable_testing() add_subdirectory(demos) # See https://stackoverflow.com/questions/41936659/code-coverage-warrnings-spam- output # Build this if you start getting messages like: # profiling: ..../cmake-build-debug/0 码力 | 1 页 | 1.23 KB | 5 月前3Flask Documentation (1.1.x)
Database Blueprints and Views Templates Static Files Blog Blueprint Make the Project Installable Test Coverage Deploy to Production Keep Developing! Templates Jinja Setup Standard Context Standard Filters Database Blueprints and Views Templates Static Files Blog Blueprint Make the Project Installable Test Coverage Deploy to Production Keep Developing! This tutorial will walk you through creating a basic blog write. For example, with git: .gitignore venv/ *.pyc __pycache__/ instance/ .pytest_cache/ .coverage htmlcov/ dist/ build/ *.egg-info/ Continue to Application Setup. Application Setup A Flask application0 码力 | 428 页 | 895.98 KB | 1 年前3Flask Documentation (1.1.x)
x), Release 1.1.4 Listing 2: .gitignore venv/ *.pyc __pycache__/ instance/ .pytest_cache/ .coverage htmlcov/ dist/ build/ *.egg-info/ Continue to Application Setup. 1.5.2 Application Setup A Flask you can call it from anywhere, not just the flask-tutorial directory. Continue to Test Coverage. 1.5.9 Test Coverage Writing unit tests for your application lets you check that the code you wrote works branch. The closer you get to 100% coverage, the more comfortable you can be that making a change won’t unexpectedly change other behavior. However, 100% coverage doesn’t guarantee that your application0 码力 | 291 页 | 1.25 MB | 1 年前3Flask入门教程
道程 序里有哪些代码还没有被测试?整体的测试覆盖率情况如何?我们可以使用 Coverage.py 来检查测试覆盖率,首先安装它(添加 --dev 参数将它作为开发依 赖安装): $ pipenv install coverage --dev 使用下面的命令执行测试并检查测试覆盖率: $ coverage run --source=app test_watchlist.py 因为我们只需要检查程序脚本 最后使用下面的命令查看覆盖率报告: $ coverage report Name Stmts Miss Cover ---------------------------- app.py 146 5 97% 从上面的表格可以看出,一共有 146 行代码,没测试到的代码有 5 行,测试覆盖率 为 97%。 你还可以使用 coverage html 命令获取详细的 HTML 即可查看覆盖率报告。点 击文件名可以看到具体的代码覆盖情况,如下图所示: 第 9 章:测试 102 同时在 .gitignore 文件后追加下面两行,忽略掉生成的覆盖率报告文件: htmlcov/ .coverage 本章小结 通过测试后,我们就可以准备上线程序了。结束前,让我们提交代码: $ git add . $ git commit -m "Add unit test with unittest"0 码力 | 127 页 | 7.62 MB | 1 年前3Agda User Manual v2.6.4.1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 3.6 Coverage Checking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . empty vector, since there is no possible index of type Fin 0. For more details, see the section on coverage checking. 18 Chapter 2. Getting Started Agda User Manual, Release 2.6.4.1 2.4.3 Agda as a Proof the Internal Syntax, terms are checked for safety. This safety check means termination check and coverage check for functions, and positivity check for datatypes. Type-directed operations such as instance0 码力 | 311 页 | 1.38 MB | 1 年前3Agda User Manual v2.6.4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 3.6 Coverage Checking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . empty vector, since there is no possible index of type Fin 0. For more details, see the section on coverage checking. 18 Chapter 2. Getting Started Agda User Manual, Release 2.6.4 2.4.3 Agda as a Proof the Internal Syntax, terms are checked for safety. This safety check means termination check and coverage check for functions, and positivity check for datatypes. Type-directed operations such as instance0 码力 | 313 页 | 1.38 MB | 1 年前3Agda User Manual v2.6.3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 3.6 Coverage Checking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . empty vector, since there is no possible index of type Fin 0. For more details, see the section on coverage checking. 18 Chapter 2. Getting Started Agda User Manual, Release 2.6.3 2.4.3 Agda as a Proof the Internal Syntax, terms are checked for safety. This safety check means termination check and coverage check for functions, and positivity check for datatypes. Type-directed operations such as instance0 码力 | 288 页 | 1.24 MB | 1 年前3Template-Less Meta-Programming
std::string_view, bar, void> >); // ✔ 34 / 58Value-based TMP - testing/debugging/coverage/errors Value-based TMP - testing/debugging/coverage/errors constexpr auto test(auto fn) { static_assert((fn(), true)); // run-time (debugging, coverage) }; 35 / 58Value-based TMP - testing/debugging/coverage/errors Value-based TMP - testing/debugging/coverage/errors constexpr auto test(auto fn) { static_assert((fn() true)); // compile-time (no UB, no leaks, ...) fn(); // run-time (debugging, coverage) }; int main() { test([] { // given std::vectorv; v.push_back(meta ); 0 码力 | 130 页 | 5.79 MB | 5 月前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100