<div dir="ltr"><div>I do not think it's a good idea, it can hide bugs [examples needed]<br><br>> We can always add a count where we really want it.</div><div><br></div><div>When do you know it is needed? :)</div><div><br></div><div>We could also use</div><div>use Test::More plan => $number_of_tests;</div><div>BEGIN{ $number_of_tests += 1 };</div><div>subtest "first subtest" => sub { ok(); }</div><div><div>BEGIN{ $number_of_tests += 1 };</div><div>subtest "second subtest" => sub { ok(); }</div><div><br></div><div>But I am not a fan of this but we avoid useless conflicts and keep the plan.</div></div><div><br></div><div>refs:</div><div>- <a href="https://perlmaven.com/done-testing">https://perlmaven.com/done-testing</a><br></div><div>- <a href="https://stackoverflow.com/questions/690342/why-do-i-need-to-know-how-many-tests-i-will-be-running-with-testmore/692393">https://stackoverflow.com/questions/690342/why-do-i-need-to-know-how-many-tests-i-will-be-running-with-testmore/692393</a> (best answer disagrees with me)</div><div><br></div><div>Cheers,</div><div>Jonathan</div><div><br><div class="gmail_quote"><div dir="ltr">On Wed, 15 Nov 2017 at 11:18 Marcel de Rooy <<a href="mailto:M.de.Rooy@rijksmuseum.nl">M.de.Rooy@rijksmuseum.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_-6503199199971915366divtagdefaultwrapper" style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif,'EmojiFont','Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols;font-size:12pt" dir="ltr">
<p>Less strict, but more pragmatic.</p>
<p>I think we spend more time on rebasing test counts than we will probably spend on checking tests that passed but should have failed on counts. We can always add a count where we really want it.</p>
<p>No objection from me.<br>
</p>
<div style="color:rgb(0,0,0)">
<div dir="ltr">
<div dir="ltr">
<div style="color:rgb(0,0,0);font-family:"Calibri";font-size:12pt">
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

_______________________________________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-community.org</a><br>
<a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" rel="noreferrer" target="_blank">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
website : <a href="http://www.koha-community.org/" rel="noreferrer" target="_blank">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/" rel="noreferrer" target="_blank">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/" rel="noreferrer" target="_blank">http://bugs.koha-community.org/</a></blockquote></div></div></div>