| Newsgroups |
gmane.comp.java.junit.user |
| Message-ID |
<[email protected]> |
--9nlWnTS9ocNmxdhsK3FKVLWiM6a5jwOaA8HvrLV
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64
DQoNCiBJIHRoaW5rIHlvdSBzaG91bGQgZm9jdXMgb24gc2V0VXAsIGluc3RlYWQgb2YgdGVh
ckRvd24uIFRoZSBhYnNvbHV0ZSBiZXN0IGxvbmd0ZXJtIHNvbHV0aW9uIChpbiBteSBvcGlu
aW9uKSBpcyB0byBsZXQgZXZlcnkgdGVzdCBiZSByZXNwb25zaWJsZSBmb3Igc2V0dGluZyB1
cCBpdHMgb3duIGRhdGEuIElmIHlvdSBzdWNjZWVkIHdpdGggdGhhdCwgeW91IGNhbiBzaW1w
bHkgd2lwZSB0aGUgZGF0YSBzdG9yZSAob3IgZXZlbiBjcmVhdGUgaXQgZnJvbSBzY3JhdGNo
KSBiZWZvcmUgZWFjaCB0ZXN0Lg0KIFRoaXMgbWF5IHJlcXVpcmUgc29tZSB3b3JrIGlmIHlv
dXIgZXhpc3RpbmcgdGVzdHMgYXJlIGRlcGVuZGVudCBvbiBleGlzdGluZyBkYXRhLCBidXQg
bW9yZSBvZnRlbiB0aGFuIG5vdCBpdCdzIHRvdGFsbHkgd29ydGggaXQuIEluIHRoZSBwcm9j
ZXNzIHlvdSB3aWxsIGRpc2NvdmVyIChhbmQgZG9jdW1lbnQpIHdoYXQgaXMgbmVlZGVkIHRv
IGNyZWF0ZSB0aGUgZGF0YSBpbiB5b3VyIGRhdGEgc3RvcmUuICAgDQogTW9zdCBpbXBvcnRh
bnRseSwgdGhlIGRhdGEgaW4geW91ciAiZnVsbHkgcG9wdWxhdGVkIFFBIGRhdGFiYXNlIiBp
cyBwcm9iYWJseSBjcmVhdGVkIHVzaW5nIGEgdmVyc2lvbiAob3IgbWFueSBkaWZ2ZXJzaW9u
cykgb2YgeW91ciBwcm9ncmFtIHRoYXQgaXMgbm90IGN1cnJlbnQuIFRoaXMgbWF5IGNhdXNl
IGFsbCBraW5kcyBvZiBwcm9ibGVtcy4gSGF2aW5nIGVhY2ggdGVzdCBjcmVhdGUgYWxsIGl0
cyBkYXRhIHNvbHZlcyB0aGlzIHNpdHVhdGlvbiBwZXJmZWN0bHkuICAgIA0KIA0KDQogDQoN
CiAgDQo=
--9nlWnTS9ocNmxdhsK3FKVLWiM6a5jwOaA8HvrLV
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
<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>
<style type="text/css">
<!--
#ygrp-mkp {
border: 1px solid #d8d8d8;
font-family: Arial;
margin: 10px 0;
padding: 0 10px;
}
#ygrp-mkp hr {
border: 1px solid #d8d8d8;
}
#ygrp-mkp #hd {
color: #628c2a;
font-size: 85%;
font-weight: 700;
line-height: 122%;
margin: 10px 0;
}
#ygrp-mkp #ads {
margin-bottom: 10px;
}
#ygrp-mkp .ad {
padding: 0 0;
}
#ygrp-mkp .ad p {
margin: 0;
}
#ygrp-mkp .ad a {
color: #0000ff;
text-decoration: none;
}
-->
</style>
</head>
<body>
<!-- |**|begin egp html banner|**| -->
<br><br>
<!-- |**|end egp html banner|**| -->
<div><br></div><div>I think you should focus on setUp, instead of tearDown. The absolute best longterm solution (in my opinion) is to let every test be responsible for setting up its own data. If you succeed with that, you can simply wipe the data store (or even create it from scratch) <span>before</span> each test.</div><div>This may require some work if your existing tests are dependent on existing data, but more often than not it's totally worth it. In the process you will discover (and document) what is needed to create the data in your data store. </div><div>Most importantly, the data in your "fully populated QA database" is probably created using a version (or many difversions) of your program that is not current. This may cause all kinds of problems. H
aving each test create all its data solves this situation perfectly<span style="word-spacing:normal;line-height:1.25;">. </span><span style="word-spacing:normal;line-height:1.25;"> </span></div><div><br></div><div><br></div><div> </div>
<!-- |**|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: [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=24751/stime=1473865182" 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=X3oDMTJlb2dyNzUwBF9TAzk3MzU5NzE0BGdycElkAzI0MjMzMjgEZ3Jwc3BJZAMxNzA1MDA2OTA1BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTQ3Mzg2NTE4Mg--" style="text-decoration: none;">Visit Your Group</a></span>
<ul style="list-style-type: none; margin: 0; padding: 0; display: inline;">
<li style="border-right: 1px solid #000; font-weight: 700; display: inline; padding: 0 5px; margin-left: 0;">
<span class="cat"><a href="https://groups.yahoo.com/neo/groups/junit/members/all;_ylc=X3oDMTJmdHNrdnJrBF9TAzk3MzU5NzE0BGdycElkAzI0MjMzMjgEZ3Jwc3BJZAMxNzA1MDA2OTA1BHNlYwN2dGwEc2xrA3ZtYnJzBHN0aW1lAzE0NzM4NjUxODI-" style="text-decoration: none;">New Members</a></span>
<span class="ct" style="color: #ff7900;">1</span>
</li>
</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=X3oDMTJkNWNtbjZtBF9TAzk3NDc2NTkwBGdycElkAzI0MjMzMjgEZ3Jwc3BJZAMxNzA1MDA2OTA1BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxNDczODY1MTgy" 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>
--9nlWnTS9ocNmxdhsK3FKVLWiM6a5jwOaA8HvrLV--