Clean test api #541
test.yml
on: push
Matrix: test-java
publish-java-snapshot
1m 27s
sonarqube
1m 3s
test-report
37s
Annotations
4 errors
ITTests.testItQacoverSpring:
qacover-core/src/it/java/test4giis/qacover/it/ITTests.java#L34
There are 1 failed assertion(s)
Aggregated visual diffs at: target/diff-aggregated-testItQacoverSpring.html
Failure 1: Strings are different. First diff at line 19 column 34.
Differences comparing org.springframework.samples.petclinic.PetclinicIntegrationTests.html.
- Visual diffs at: target/diff-it-src-test-resources-spring-petclinic-main-org.springframework.samples.petclinic.PetclinicIntegrationTests.html.html
- Call Stack:
at test4giis.qacover.it.ITTests.assertFiles(ITTests.java:98)
at test4giis.qacover.it.ITTests.assertFiles(ITTests.java:91)
at test4giis.qacover.it.ITTests.testItQacoverSpring(ITTests.java:58) expected:<...{ font-size: small; [font-style: italic }
.rules-show, .rules-hide, .params-show, .params-hide { cursor: pointer; }
</style>
<script>
$(document).ready(function() {
$('.rules').show();
$('.rules-show').show();
$('.rules-hide').hide();
$('.params-show').show();
$('.params-hide').hide();
$('.rules').hide();
$('.params').hide();
$('.query br.canhide').hide();
$('.rules br.canhide').show();
if ($('#view-source').is(':checked')) { $('.method').hide(); } else { $('.method').show(); }
$('.rules-show').click(function(){ $(this).hide(); $(this).next().show(); $(this).closest('.query').next('.rules').show(); });
$('.rules-hide').click(function(){ $(this).hide(); $(this).prev().show(); $(this).closest('.query').next('.rules').hide(); });
$('.params-show').click(function(){ $(this).hide(); $(this).next().show(); $(this).closest('.query').find('.params').show(); $(this).closest('.query').next('.rules').find('.params').show(); });
$('.params-hide').click(function(){ $(this).hide(); $(this).prev().show(); $(this).closest('.query').find('.params').hide(); $(this).closest('.query').next('.rules').find('.params').hide(); });
$('#format-queries').change(function(){ if ($(this).is(':checked')) $('.query br.canhide').show(); else $('.query br.canhide').hide(); });
$('#format-rules').change(function(){ if ($(this).is(':checked')) $('.rules br.canhide').show(); else $('.rules br.canhide').hide(); });
$('#view-source').change(function() {
if ($(this).is(':checked')) { $('.line-code').show(); $('code').show(); $('.method').hide(); }
else { $('.line-code').hide(); $('code').hide(); $('.method').show(); }
}
)});
</script>
</head>
<body style='overflow-x: hidden;'>
<div class='container fill'>
<div class='sticky-md-top text-bg-light'>
<h4><a href='./index.html'>[Index]</a> org.springframework.samples.petclinic.PetclinicIntegrationTests</h4>
<div class='col-auto'>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='view-source' type='checkbox' value='' checked>
<label class='form-check-label' for='view-source'>View source</label>
</div>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='format-queries' type='checkbox' value=''>
<label class='form-check-label' for='format-queries'>Format queries</label>
</div>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='format-rules' type='checkbox' value='' checked>
<label class='form-check-label' for='format-rules'>Format rules</label>
</div>
</div>
</div>
<div>
<table class='table table-sm table-borderless'>
<thead><th style='width:1%'>Line</th><th style='width:1%'>Coverage</th><th>Source code/method, queries and rules</th></thead>
<tr class='line line-coverage'>
<td>32</td>
<td class='nowrap'><strong>66%</strong> (2/3)</td>
<td colspan='2'>
<span class='text-primary font-weight-bold '>testFindAll</span>
<code> (source code not available)</code>
</td>
</tr>
<tbody class='query'>
<tr class='query-run'>
<td></td>
<td class='nowrap'>
<span class='rules-show' title='Show rules'>▼</span><span class='rules-hide' title='Hide rules'>▲</span>
1 run(s)
<span class='params-show' title='Show run params'>▷</span><span class='params-hide' title='Hide run paramss'>◁</span> <strong></strong> (0/0)
</td>
<td colspan='2'>
<div class='params'>(run params not available)</div>
select vet0_.id as id1_5_, vet0_.first_name as first_na2_5_, vet0_.last_name as last_nam3_5_ from vets vet0_ </td>
</tr>
</tbody>
<tbody class='rules'>
<tr><td></td></tr>
</tbody>
<tbody class='query'>
<tr class='query-run'>
<td></td>
<td class='nowrap'>
<span class='rules-show' title='Show rules'>▼</span><span class='rules-hide' title='Hide rules'>▲</span>
6 run(s)
<span class='params-show' title='Show run params'>▷</span><span class='params-hide' title='Hide run paramss'>◁</span> <strong>66%</strong> (2/3)
</td>
<td colspan='2'>
<div class='params'>(run params not available)]</div>
<...> but was:<...{ font-size: small; [}
.result-vector { font-family: 'Lucida Console', 'Courier New', monospace; }
.rules-show, .rules-hide, .params-show, .params-hide { cursor: pointer; }
</style>
<script>
$(document).ready(function() {
$('.rules').show();
$('.rules-show').show();
$('.rules-hide').hide();
$('.params-show').show();
$('.params-hide').hide();
$('.rules').hide();
$('.params').hide();
$('.query br.canhide').hide();
$('.rules br.canhide').show();
if ($('#view-source').is(':checked')) { $('.method').hide(); } else { $('.method').show(); }
$('.rules-show').click(function(){ $(this).hide(); $(this).next().show(); $(this).closest('.query').next('.rules').show(); });
$('.rules-hide').click(function(){ $(this).hide(); $(this).prev().show(); $(this).closest('.query').next('.rules').hide(); });
$('.params-show').click(function(){ $(this).hide(); $(this).next().show(); $(this).closest('.query').find('.params').show(); $(this).closest('.query').next('.rules').find('.params').show(); });
$('.params-hide').click(function(){ $(this).hide(); $(this).prev().show(); $(this).closest('.query').find('.params').hide(); $(this).closest('.query').next('.rules').find('.params').hide(); });
$('#format-queries').change(function(){ if ($(this).is(':checked')) $('.query br.canhide').show(); else $('.query br.canhide').hide(); });
$('#format-rules').change(function(){ if ($(this).is(':checked')) $('.rules br.canhide').show(); else $('.rules br.canhide').hide(); });
$('#view-source').change(function() {
if ($(this).is(':checked')) { $('.line-code').show(); $('code').show(); $('.method').hide(); }
else { $('.line-code').hide(); $('code').hide(); $('.method').show(); }
}
)});
</script>
</head>
<body style='overflow-x: hidden;'>
<div class='container fill'>
<div class='sticky-md-top text-bg-light'>
<h4><a href='./index.html'>[Index]</a> org.springframework.samples.petclinic.PetclinicIntegrationTests</h4>
<div class='col-auto'>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='view-source' type='checkbox' value='' checked>
<label class='form-check-label' for='view-source'>View source</label>
</div>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='format-queries' type='checkbox' value=''>
<label class='form-check-label' for='format-queries'>Format queries</label>
</div>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='format-rules' type='checkbox' value='' checked>
<label class='form-check-label' for='format-rules'>Format rules</label>
</div>
</div>
</div>
<div>
<table class='table table-sm table-borderless'>
<thead><th style='width:1%'>Line</th><th style='width:1%'>Coverage</th><th>Source code/method, queries and rules</th></thead>
<tr class='line line-coverage'>
<td>32</td>
<td class='nowrap'><strong>66%</strong> (2/3)</td>
<td colspan='2'>
<span class='text-primary font-weight-bold '>testFindAll</span>
<code> (source code not available)</code>
</td>
</tr>
<tbody class='query'>
<tr class='query-run'>
<td></td>
<td class='nowrap'>
<span class='rules-show' title='Show rules'>▼</span><span class='rules-hide' title='Hide rules'>▲</span>
1 run(s)
<span class='params-show' title='Show eval result and params'>▷</span><span class='params-hide' title='Hide eval result and params'>◁</span> <strong></strong> (0/0)
</td>
<td colspan='2'>
<div class='params'><strong>1</strong>. Eval result: [<span class='result-vector'></span>] Params:</div>
select vet0_.id as id1_5_, vet0_.first_name as first_na2_5_, vet0_.last_name as last_nam3_5_ from vets vet0_ </td>
</tr>
</tbody>
<tbody class='rules'>
<tr><td></td></tr>
</tbody>
<tbody class='query'>
<tr class='query-run'>
<td></td>
<td class='nowrap'>
<span class='rules-show' title='Show rules'>▼</span><span class='rules-hide' title='Hide rules'>▲</span>
6 run(s)
<span class='params-show' title='Show eval result and params'>▷</span><span class='params-hide' title='Hide eval result and params'>◁</span> <strong>66%</strong> (2/3)
</td>
<td colspan='2'>
<div class='params'><strong>1</strong>. Eval result: [<span class='result-vector'>#oo</span>] Params: ?1?=6<br/><strong>2</strong>. Eval result: [<span class='result-vector'>##o</span>] Params: ?1?=5<br/><strong>3</strong>. Eval result: [<span class='result-vector'>##o</span>] Params: ?1?=4<br/><strong>4</strong>. Eval result: [<span class='result-vector'>##o</span>] Params: ?1?=3<br/><strong>5</strong>. Eval result: [<span class='result-vector'>##o</span>] Params: ?1?=2<br/><strong>6</strong>. Eval result: [<span class='result-vector'>#oo</span>] Params: ?1?=1]</div>
<...>
|
ITTests.testItQacoverUber:
qacover-core/src/it/java/test4giis/qacover/it/ITTests.java#L34
There are 1 failed assertion(s)
Aggregated visual diffs at: target/diff-aggregated-testItQacoverUber.html
Failure 1: Strings are different. First diff at line 19 column 34.
Differences comparing TestUber.html.
- Visual diffs at: target/diff-it-src-test-resources-qacover-uber-main-TestUber.html.html
- Call Stack:
at test4giis.qacover.it.ITTests.assertFiles(ITTests.java:98)
at test4giis.qacover.it.ITTests.assertFiles(ITTests.java:91)
at test4giis.qacover.it.ITTests.testItQacoverUber(ITTests.java:70) expected:<...{ font-size: small; [font-style: italic }
.rules-show, .rules-hide, .params-show, .params-hide { cursor: pointer; }
</style>
<script>
$(document).ready(function() {
$('.rules').show();
$('.rules-show').show();
$('.rules-hide').hide();
$('.params-show').show();
$('.params-hide').hide();
$('.rules').hide();
$('.params').hide();
$('.query br.canhide').hide();
$('.rules br.canhide').show();
if ($('#view-source').is(':checked')) { $('.method').hide(); } else { $('.method').show(); }
$('.rules-show').click(function(){ $(this).hide(); $(this).next().show(); $(this).closest('.query').next('.rules').show(); });
$('.rules-hide').click(function(){ $(this).hide(); $(this).prev().show(); $(this).closest('.query').next('.rules').hide(); });
$('.params-show').click(function(){ $(this).hide(); $(this).next().show(); $(this).closest('.query').find('.params').show(); $(this).closest('.query').next('.rules').find('.params').show(); });
$('.params-hide').click(function(){ $(this).hide(); $(this).prev().show(); $(this).closest('.query').find('.params').hide(); $(this).closest('.query').next('.rules').find('.params').hide(); });
$('#format-queries').change(function(){ if ($(this).is(':checked')) $('.query br.canhide').show(); else $('.query br.canhide').hide(); });
$('#format-rules').change(function(){ if ($(this).is(':checked')) $('.rules br.canhide').show(); else $('.rules br.canhide').hide(); });
$('#view-source').change(function() {
if ($(this).is(':checked')) { $('.line-code').show(); $('code').show(); $('.method').hide(); }
else { $('.line-code').hide(); $('code').hide(); $('.method').show(); }
}
)});
</script>
</head>
<body style='overflow-x: hidden;'>
<div class='container fill'>
<div class='sticky-md-top text-bg-light'>
<h4><a href='./index.html'>[Index]</a> TestUber</h4>
<div class='col-auto'>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='view-source' type='checkbox' value='' checked>
<label class='form-check-label' for='view-source'>View source</label>
</div>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='format-queries' type='checkbox' value=''>
<label class='form-check-label' for='format-queries'>Format queries</label>
</div>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='format-rules' type='checkbox' value='' checked>
<label class='form-check-label' for='format-rules'>Format rules</label>
</div>
</div>
</div>
<div>
<table class='table table-sm table-borderless'>
<thead><th style='width:1%'>Line</th><th style='width:1%'>Coverage</th><th>Source code/method, queries and rules</th></thead>
<tr class='line line-coverage'>
<td>-1</td>
<td class='nowrap'><strong>33%</strong> (1/3)</td>
<td colspan='2'>
<span class='text-primary font-weight-bold '>runQuery1</span>
<code> (source code not available)</code>
</td>
</tr>
<tbody class='query'>
<tr class='query-run'>
<td></td>
<td class='nowrap'>
<span class='rules-show' title='Show rules'>▼</span><span class='rules-hide' title='Hide rules'>▲</span>
1 run(s)
<span class='params-show' title='Show run params'>▷</span><span class='params-hide' title='Hide run paramss'>◁</span>
</td>
<td colspan='2'>
<div class='params'>(run params not available)]</div>
s...> but was:<...{ font-size: small; [}
.result-vector { font-family: 'Lucida Console', 'Courier New', monospace; }
.rules-show, .rules-hide, .params-show, .params-hide { cursor: pointer; }
</style>
<script>
$(document).ready(function() {
$('.rules').show();
$('.rules-show').show();
$('.rules-hide').hide();
$('.params-show').show();
$('.params-hide').hide();
$('.rules').hide();
$('.params').hide();
$('.query br.canhide').hide();
$('.rules br.canhide').show();
if ($('#view-source').is(':checked')) { $('.method').hide(); } else { $('.method').show(); }
$('.rules-show').click(function(){ $(this).hide(); $(this).next().show(); $(this).closest('.query').next('.rules').show(); });
$('.rules-hide').click(function(){ $(this).hide(); $(this).prev().show(); $(this).closest('.query').next('.rules').hide(); });
$('.params-show').click(function(){ $(this).hide(); $(this).next().show(); $(this).closest('.query').find('.params').show(); $(this).closest('.query').next('.rules').find('.params').show(); });
$('.params-hide').click(function(){ $(this).hide(); $(this).prev().show(); $(this).closest('.query').find('.params').hide(); $(this).closest('.query').next('.rules').find('.params').hide(); });
$('#format-queries').change(function(){ if ($(this).is(':checked')) $('.query br.canhide').show(); else $('.query br.canhide').hide(); });
$('#format-rules').change(function(){ if ($(this).is(':checked')) $('.rules br.canhide').show(); else $('.rules br.canhide').hide(); });
$('#view-source').change(function() {
if ($(this).is(':checked')) { $('.line-code').show(); $('code').show(); $('.method').hide(); }
else { $('.line-code').hide(); $('code').hide(); $('.method').show(); }
}
)});
</script>
</head>
<body style='overflow-x: hidden;'>
<div class='container fill'>
<div class='sticky-md-top text-bg-light'>
<h4><a href='./index.html'>[Index]</a> TestUber</h4>
<div class='col-auto'>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='view-source' type='checkbox' value='' checked>
<label class='form-check-label' for='view-source'>View source</label>
</div>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='format-queries' type='checkbox' value=''>
<label class='form-check-label' for='format-queries'>Format queries</label>
</div>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='format-rules' type='checkbox' value='' checked>
<label class='form-check-label' for='format-rules'>Format rules</label>
</div>
</div>
</div>
<div>
<table class='table table-sm table-borderless'>
<thead><th style='width:1%'>Line</th><th style='width:1%'>Coverage</th><th>Source code/method, queries and rules</th></thead>
<tr class='line line-coverage'>
<td>-1</td>
<td class='nowrap'><strong>33%</strong> (1/3)</td>
<td colspan='2'>
<span class='text-primary font-weight-bold '>runQuery1</span>
<code> (source code not available)</code>
</td>
</tr>
<tbody class='query'>
<tr class='query-run'>
<td></td>
<td class='nowrap'>
<span class='rules-show' title='Show rules'>▼</span><span class='rules-hide' title='Hide rules'>▲</span>
1 run(s)
<span class='params-show' title='Show eval result and params'>▷</span><span class='params-hide' title='Hide eval result and params'>◁</span>
</td>
<td colspan='2'>
<div class='params'><strong>1</strong>. Eval result: [<span class='result-vector'>o#o</span>] Params:]</div>
s...>
|
ITTests.testItQacoverApi:
qacover-core/src/it/java/test4giis/qacover/it/ITTests.java#L46
File does not exist src/test/resources/qacover-api-sample/by-run-order.txt
|
test-IT
❌ Tests reported 3 failures
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-report-ALL
|
632 KB |
|
test-report-files-IT
|
104 KB |
|
test-report-files-Net
|
202 KB |
|
test-report-files-Oracle
|
134 KB |
|
test-report-files-Postgres
|
129 KB |
|
test-report-files-Sqlserver
|
92.5 KB |
|
test-report-files-UT
|
422 KB |
|