65 lines
3.0 KiB
HTML
65 lines
3.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width">
|
|
<title>QUnit Pytest-HTML</title>
|
|
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.0.1.css">
|
|
</head>
|
|
<body>
|
|
<div id="qunit"></div>
|
|
<div id="qunit-fixture"></div>
|
|
<script src="https://code.jquery.com/qunit/qunit-2.0.1.js"></script>
|
|
<script src="https://raw.githubusercontent.com/alex-seville/blanket/master/dist/qunit/blanket.min.js"></script>
|
|
<script src="test.js"></script>
|
|
<script src="../src/pytest_html/resources/old_main.js" data-cover></script>
|
|
<div id="qunit-fixture">
|
|
<table id="results-table">
|
|
<thead id="results-table-head">
|
|
<tr>
|
|
<th class="sortable result initial-sort" col="result">Result</th>
|
|
<th class="sortable" col="name">Test</th>
|
|
<th class="sortable" col="duration">Duration</th>
|
|
<th class="sortable links" col="links">Links</th></tr>
|
|
<tr hidden="true" id="not-found-message">
|
|
<th colspan="5">No results found. Try to check the filters</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="rerun results-table-row">
|
|
<tr>
|
|
<td class="col-result">Rerun</td>
|
|
<td class="test-1 col-name">rerun.py::test_rexample_1</td>
|
|
<td class="col-duration">1.00</td>
|
|
<td class="col-links"><a class="url" href="http://www.google.com/" target="_blank">URL</a> </td></tr>
|
|
<tr>
|
|
<td class="extra" colspan="5">
|
|
<div class="log">@pytest.mark.flaky(reruns=5)<br/> def test_example():<br/> import random<br/>> assert random.choice([True, False])<br/><span class="error">E assert False</span><br/><span class="error">E + where False = <bound method Random.choice of <random.Random object at 0x7fe80b85f420>>([True, False])</span><br/><span class="error">E + where <bound method Random.choice of <random.Random object at 0x7fe80b85f420>> = <module 'random' from '/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/random.pyc'>.choice</span><br/><br/>rerun.py:6: AssertionError<br/></div></td></tr></tbody>
|
|
<tbody class="passed results-table-row">
|
|
<tr>
|
|
<td class="col-result">Passed</td>
|
|
<td class="test-2 col-name">rerun.py::test_example_2</td>
|
|
<td class="col-duration">0.00</td>
|
|
<td class="col-links"></td></tr>
|
|
<tr>
|
|
<td class="extra" colspan="5">
|
|
<div class="empty log">No log output captured.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
<tbody class="passed results-table-row">
|
|
<tr>
|
|
<td class="col-result">Passed</td>
|
|
<td class="test-3 col-name">rerun.py::test_example_3</td>
|
|
<td class="col-duration">0.00</td>
|
|
<td class="col-links"></td></tr>
|
|
<tr>
|
|
<td class="extra" colspan="5">
|
|
<div class="empty log">No log output captured.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</body>
|
|
</html>
|