Suite runner with BlockJunit4ClassRunner-like messages?

"[email protected] [junit]" <[email protected]> 05 Oct 2015 08:42:03 -0700
Newsgroups gmane.comp.java.junit.user
Message-ID <[email protected]>
--9nlWnTS9ocNmxdhsK3FKVLWiM6a5jwOaA8HvrLV
Content-Type:  text/plain;  charset=utf-8 
Content-Transfer-Encoding: base64

V2hlbiBydW5uaW5nIG15IEp1bml0IHRlc3RjYXNlcyBpbmRpdmlkdWFsbHkgKGkuZS4gdXNp
bmcgQmxvY2tKdW5pdDRDbGFzc1J1bm5lcikgYXMgcGFydCBvZiBhIG1hdmVuLWJhc2VkIGJ1
aWxkLCBJIGNhbiBzZWUgdGhlIHByb2dyZXNzIG1lc3NhZ2VzIGRpc3BsYXllZCBmb3IgZWFj
aCBpbmRpdmlkdWFsIHRlc3RjYXNlIGNsYXNzIGFzIHRoZXkgYXJlIGJlaW5nIGV4ZWN1dGVk
LCBsaWtlIHRoaXM6DQogLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLQ0KIFQgRSBTIFQgUw0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KUnVubmluZyBjb20ubXljb21wYW55
LnRlc3QuTXlUZXN0Q2xhc3MxDQpUZXN0cyBydW46IDgsIEZhaWx1cmVzOiAwLCBFcnJvcnM6
IDAsIFNraXBwZWQ6IDAsIFRpbWUgZWxhcHNlZDogMC4wMyBzZWMgLSBpbiBjb20ubXljb21w
YW55LnRlc3QuTXlUZXN0Q2xhc3MxDQpSdW5uaW5nIGNvbS5teWNvbXBhbnkudGVzdC5NeVRl
c3RDbGFzczINClRlc3RzIHJ1bjogOCwgRmFpbHVyZXM6IDAsIEVycm9yczogMCwgU2tpcHBl
ZDogMCwgVGltZSBlbGFwc2VkOiAwLjAzIHNlYyAtIGluIGNvbS5teWNvbXBhbnkudGVzdC5N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uc3dlciwgZG9lcyBhbnlvbmUgaGF2ZSBhbnkgcG9pbnRlcnMgdG8gZ2V0IG1lIHN0
YXJ0ZWQgaW4gdGhlIHJpZ2h0IGRpcmVjdGlvbiBvbiB0aGlzPw0KDQpUaGFua3MhDQpQaGls

--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|**| -->


When running my Junit testcases individually (i.e. using BlockJunit4ClassRunner) as part of a maven-based build, I can see the progress messages displayed for each individual testcase class as they are being executed, like this:<br><div style="margin-left:40px;">-------------------------------------------------------<br>&nbsp;T E S T S<br>-------------------------------------------------------<br>Running com.mycompany.test.MyTestClass1<br>Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec - in com.mycompany.test.MyTestClass1<br>Running com.mycompany.test.MyTestClass2<br>Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec - in com.mycompany.test.MyTestClass2<br>...<br></div><br>However, when I run my testcases via a suite, I see only a single set o
 f messages for the suite itself that are displayed when the suite is finished, like this:<br><div style="margin-left:40px;">-------------------------------------------------------<br>&nbsp;T E S T S<br>-------------------------------------------------------<br>Running com.mycompany.test.MyTestSuite<br>Tests run: 293, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.23 sec - in com.mycompany.test.MyTestSuite<br><br></div>Is there any way that I can use the test suite, but yet still see the progress messages being displayed for the individual testcase classes as they are being run?<br><br>If the existing runners don&#39;t support this, then perhaps a slightly modified suite runner class could do this.&nbsp; If that is the answer, does anyone have any pointers to get me started in the ri
 ght direction on this?<br><br>Thanks!<br>Phil



<!-- |**|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=24705/stime=1444060544" 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=X3oDMTJlbjdqOWc4BF9TAzk3MzU5NzE0BGdycElkAzI0MjMzMjgEZ3Jwc3BJZAMxNzA1MDA2OTA1BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTQ0NDA2MDU0NA--" 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=X3oDMTJmMXNiY3RhBF9TAzk3MzU5NzE0BGdycElkAzI0MjMzMjgEZ3Jwc3BJZAMxNzA1MDA2OTA1BHNlYwN2dGwEc2xrA3ZtYnJzBHN0aW1lAzE0NDQwNjA1NDQ-" style="text-decoration: none;">New Members</a></span>
      <span class="ct" style="color: #ff7900;">2</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=X3oDMTJkNWw2NDRzBF9TAzk3NDc2NTkwBGdycElkAzI0MjMzMjgEZ3Jwc3BJZAMxNzA1MDA2OTA1BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxNDQ0MDYwNTQ0" 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;"> &bull; <a href="https://info.yahoo.com/privacy/us/yahoo/groups/details.html" style="text-decoration: none;">Privacy</a> &bull; <a href="mailto:[email protected]?subject=Unsubscribe" style="text-decoration: none;">Unsubscribe</a> &bull; <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--