heisenbug-2019:Heisenbug 2019的示例

时间:2021-01-30 04:43:02
【文件属性】:
文件名称:heisenbug-2019:Heisenbug 2019的示例
文件大小:30KB
文件格式:ZIP
更新时间:2021-01-30 04:43:02
python testing mutation-testing conference talk Heisenbug 2019 演示应用程序,展示了我们如何有效使用突变测试。 内容 missing_assert.py 这是什么都不做的非常基本的测试示例。 因为我们错过了我们的assert偶然被注释掉的信息! ⠙ 2/2 :party_popper: 0 :alarm_clock: 0 :thinking_face: 0 :slightly_frowning_face: 2 要解决此问题,只需在取消对assert的 simple.py 该示例用于说明最简单的用例。 我们只有一个函数带有一个语句。 该语句将被变异,我们的变异测试将抓住这一点。 ⠼ 1/1 :party_popper: 0 :alarm_clock: 0 :thinking_face: 0 :slightly_frowning_face: 1 这种情况的解决方案可在此处找到: constants.py 使用相同的常量进行测试和生产实际上不会测试任何内容。 ⠇ 6/6 :party_popper: 2 :alarm_clock: 0 :thinking_face: 1 :slight
【文件预览】:
heisenbug-2019-master
----.travis.yml(713B)
----poetry.lock(33KB)
----pyproject.toml(511B)
----heisenbug()
--------constants.py(224B)
--------flask_app.py(1KB)
--------simple.py(137B)
--------missing_assert.py(110B)
--------__init__.py(24B)
--------opensource_disl_case.ipynb(13KB)
--------algorithm.py(680B)
----tests()
--------test_flask.py(909B)
--------test_algorithm.py(934B)
--------test_missing_assert.py(443B)
--------test_constants.py(743B)
--------test_simple.py(288B)
----html()
--------heisenbug()
--------index.html(297B)
----setup.cfg(2KB)
----.gitignore(3KB)
----README.md(5KB)
----.editorconfig(273B)

网友评论