Skip to content

Clean test api

Clean test api #541

Triggered via push August 9, 2024 18:11
Status Failure
Total duration 3m 5s
Artifacts 7

test.yml

on: push
Matrix: test-java
publish-java-snapshot
1m 27s
publish-java-snapshot
Fit to window
Zoom out
Zoom in

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>&nbsp;(2/3)</td> <td colspan='2'> <span class='text-primary font-weight-bold '>testFindAll</span> <code> &nbsp; (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'>&#9660;</span><span class='rules-hide' title='Hide rules'>&#9650;</span> 1 run(s) <span class='params-show' title='Show run params'>&#9655;</span><span class='params-hide' title='Hide run paramss'>&#9665;</span> <strong></strong>&nbsp;(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'>&#9660;</span><span class='rules-hide' title='Hide rules'>&#9650;</span> 6 run(s) <span class='params-show' title='Show run params'>&#9655;</span><span class='params-hide' title='Hide run paramss'>&#9665;</span> <strong>66%</strong>&nbsp;(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>&nbsp;(2/3)</td> <td colspan='2'> <span class='text-primary font-weight-bold '>testFindAll</span> <code> &nbsp; (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'>&#9660;</span><span class='rules-hide' title='Hide rules'>&#9650;</span> 1 run(s) <span class='params-show' title='Show eval result and params'>&#9655;</span><span class='params-hide' title='Hide eval result and params'>&#9665;</span> <strong></strong>&nbsp;(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'>&#9660;</span><span class='rules-hide' title='Hide rules'>&#9650;</span> 6 run(s) <span class='params-show' title='Show eval result and params'>&#9655;</span><span class='params-hide' title='Hide eval result and params'>&#9665;</span> <strong>66%</strong>&nbsp;(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>&nbsp;(1/3)</td> <td colspan='2'> <span class='text-primary font-weight-bold '>runQuery1</span> <code> &nbsp; (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'>&#9660;</span><span class='rules-hide' title='Hide rules'>&#9650;</span> 1 run(s) <span class='params-show' title='Show run params'>&#9655;</span><span class='params-hide' title='Hide run paramss'>&#9665;</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>&nbsp;(1/3)</td> <td colspan='2'> <span class='text-primary font-weight-bold '>runQuery1</span> <code> &nbsp; (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'>&#9660;</span><span class='rules-hide' title='Hide rules'>&#9650;</span> 1 run(s) <span class='params-show' title='Show eval result and params'>&#9655;</span><span class='params-hide' title='Hide eval result and params'>&#9665;</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