| Newsgroups |
gmane.comp.java.junit.user |
| Message-ID |
<[email protected]> |
--------------060000080207060007060405
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
using junit 4, i have a test case
<http://xunitpatterns.com/Testcase%20Class.html> that has n test methods
<http://xunitpatterns.com/Test%20Method.html>, one of the test methods
fails when the test case is run. and this failing test method succeeds
when run by itself.
i would like to dynamically (at run time) create a set of test suites
<http://xunitpatterns.com/Test%20Suite%20Object.html> (or test cases),
one for each pair of test methods in the test case.
so a test case with 3 test methods would generate 3!=6 test suites (or
test cases).
thanks
--
Honesty is a very expensive gift. So, don't expect it from cheap people - Warren Buffett
http://tayek.com/
--------------060000080207060007060405
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<head>
<style type="text/css">
<!--
/* start of attachment style */
.ygrp-photo-title{
clear: both;
font-size: smaller;
height: 15px;
overflow: hidden;
text-align: center;
width: 75px;
}
div.ygrp-photo{
background-position: center;
background-repeat: no-repeat;
background-color: white;
border: 1px solid black;
height: 62px;
width: 62px;
}
div.photo-title
a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
text-decoration: none;
}
div.attach-table div.attach-row {
clear: both;
}
div.attach-table div.attach-row div {
float: left;
/* margin: 2px;*/
}
p {
clear: both;
padding: 15px 0 3px 0;
overflow: hidden;
}
div.ygrp-file {
width: 30px;
valign: middle;
}
div.attach-table div.attach-row div div a {
text-decoration: none;
}
div.attach-table div.attach-row div div span {
font-weight: normal;
}
div.ygrp-file-title {
font-weight: bold;
}
/* end of attachment style */
-->
</style>
</head>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<!-- |**|begin egp html banner|**| -->
<br><br>
<!-- |**|end egp html banner|**| -->
<p>using junit 4, i have a <a
href="http://xunitpatterns.com/Testcase%20Class.html"
rel="nofollow">test case</a> that has n <a
href="http://xunitpatterns.com/Test%20Method.html"
rel="nofollow">test methods</a>, one of the test methods fails
when the test case is run. and this failing test method succeeds
when run by itself.</p>
<p>i would like to dynamically (at run time) create a set of <a
href="http://xunitpatterns.com/Test%20Suite%20Object.html"
rel="nofollow">test suites</a> (or test cases), one for each
pair of test methods in the test case.</p>
<p>so a test case with 3 test methods would generate 3!=6 test
suites (or test cases).<br>
</p>
<p>thanks<br>
</p>
<pre class="moz-signature" cols="72">--
Honesty is a very expensive gift. So, don't expect it from cheap people - Warren Buffett
<a class="moz-txt-link-freetext" href="http://tayek.com/">http://tayek.com/</a></pre>
<!-- |**|begin egp html banner|**| -->
<br>
<br>
<!-- |**|end egp html banner|**| -->
<div width="1" style="color: white; clear: both;"/>__._,_.___</div>
<div id="fromDMARC" style="clear:both; margin-top: 10px;">
<hr style="height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;">
Posted by: Ray Tayek <[email protected]> <hr style="height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;">
</div>
<!-- Start Recommendations -->
<!-- End Recommendations -->
<!-- |**|begin egp html banner|**| -->
<img src="http://geo.yahoo.com/serv?s=97476590/grpId=2423328/grpspId=1705006905/msgId=24667/stime=1435027237" width="1" height="1"> <br>
<!-- |**|end egp html banner|**| -->
<!-- |**|begin egp html banner|**| -->
<br>
<!-- |**|begin egp html banner|**| -->
<div id="ygrp-vital" style="background-color: #f2f2f2; font-family: Verdana; font-size: 10px; margin-bottom: 10px; padding: 10px;">
<span id="vithd" style="font-weight: bold; color: #333; text-transform: uppercase; "><a href="https://groups.yahoo.com/neo/groups/junit/info;_ylc=X3oDMTJla2tmczZrBF9TAzk3MzU5NzE0BGdycElkAzI0MjMzMjgEZ3Jwc3BJZAMxNzA1MDA2OTA1BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTQzNTAyNzIzNw--" style="text-decoration: none;">Visit Your Group</a></span>
<ul style="list-style-type: none; margin: 0; padding: 0; display: inline;">
</ul>
</div>
<div id="ft" style="font-family: Arial; font-size: 11px; margin-top: 5px; padding: 0 2px 0 0; clear: both;">
<a href="https://groups.yahoo.com/neo;_ylc=X3oDMTJkcHZuMmFwBF9TAzk3NDc2NTkwBGdycElkAzI0MjMzMjgEZ3Jwc3BJZAMxNzA1MDA2OTA1BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxNDM1MDI3MjM3" style="float: left;"><img src="http://l.yimg.com/ru/static/images/yg/img/email/new_logo/logo-groups-137x15.png" height="15" width="137" alt="Yahoo! Groups" style="border: 0;"/></a>
<div style="color: #747575; float: right;"> • <a href="https://info.yahoo.com/privacy/us/yahoo/groups/details.html" style="text-decoration: none;">Privacy</a> • <a href="mailto:[email protected]?subject=Unsubscribe" style="text-decoration: none;">Unsubscribe</a> • <a href="https://info.yahoo.com/legal/us/yahoo/utos/terms/" style="text-decoration: none;">Terms of Use</a> </div>
</div>
<!-- |**|end egp html banner|**| -->
</div> <!-- ygrp-msg -->
<br>
<!-- |**|end egp html banner|**| -->
<div style="color: white; clear: both;"/>__,_._,___</div>
</body>
</html>
--------------060000080207060007060405--