| Newsgroups |
gmane.comp.java.junit.user |
| Message-ID |
<CALrw-PzEnzeXzp1kVTk2mKXQxa9Et3BvLjK9uV8Oa0PwZaDUxg@mail.gmail.com> |
--089e0115e79e4ae54e051b7af2fb
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
I _think_ that you can submit a pull request on github against the file
https://github.com/junit-team/junit/blob/master/src/site/fml/faq.fml, and
it will make its way to the website. Thanks!
David
On Wed, Jul 22, 2015 at 8:54 AM, [email protected] [junit] <[email protected]=
m
> wrote:
>
>
>
> Hello everyone,
>
> before the recent revamp of JUnit.org, Dp4j was listed as a tool/library
> for testing private methods. Can you please list it back as an option for
> private methods unit testing at JUnit - Frequently Asked Questions
> <http://junit.org/faq.html#atests_11>?
>
> The JUnit.org link used to be *http://www.junit.org/node/591
> <http://www.junit.org/node/591>*
> Dp4j is an open-source Annotations Processor that processes JUnit's @Test
> annotations to replace the private method calls in the Test with the
> equivalent Reflection API code.
> You can find out more about dp4j on:
>
> - it's official dp4j.com page: DP4J FOR PRIVATE METHODS TESTING
> <http://www.dp4j.com>
> [image: image] <http://www.dp4j.com>
> DP4J FOR PRIVATE METHODS TESTING <http://www.dp4j.com>
> No time to read more?! Want to try it right away? Open a Unix terminal
> and execute this command:
> View on www.dp4j.com <http://www.dp4j.com>
> Preview by Yahoo
>
> - as well as discussion on the JUnit group:
> JUnit, the Java unit testing framework written by Kent Beck and Erich
> Gamma.
> <https://groups.yahoo.com/neo/groups/junit/conversations/topics/23111>
> [image: image]
> <https://groups.yahoo.com/neo/groups/junit/conversations/topics/23111>
> JUnit, the Java unit testing framework written by Kent B...
> <https://groups.yahoo.com/neo/groups/junit/conversations/topics/23111>
> JUnit, the Java unit testing framework written by Kent Beck and Erich
> Gamma.
> View on groups.yahoo.com
> <https://groups.yahoo.com/neo/groups/junit/conversations/topics/23111>
> Preview by Yahoo
>
>
> JUnit, the Java unit testing framework written by Kent Beck and Erich
> Gamma.
> <https://groups.yahoo.com/neo/groups/junit/conversations/messages/23367?a=
ct=3Dreply&messageNum=3D23367>
> JUnit - Frequently Asked Questions
> <http://junit.org/faq.html#atests_11>
> How do I write and run a simple test? Create a class: package junitfaq;
> import org.junit.*; import static org.junit.Assert.*; import java.util.*;
> public class SimpleTest {
> View on junit.org <http://junit.org/faq.html#atests_11>
> Preview by Yahoo
>
>
> And finally, on stackoverflow.com:
> http://stackoverflow.com/search?q=3Ddp4j
>
>
>=20=20
>
--089e0115e79e4ae54e051b7af2fb
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<head>
<style type=3D"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=20
a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
text-decoration: none;=20
}
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=3D"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 dir=3D"ltr">I _think_ that you can submit a pull request on github aga=
inst the file=C2=A0<a href=3D"https://github.com/junit-team/junit/blob/mast=
er/src/site/fml/faq.fml">https://github.com/junit-team/junit/blob/master/sr=
c/site/fml/faq.fml</a>, and it will make its way to the website.=C2=A0 Than=
ks!<div><br></div><div>=C2=A0 =C2=A0David</div></div><div class=3D"gmail_ex=
tra"><br><div class=3D"gmail_quote">On Wed, Jul 22, 2015 at 8:54 AM, <a hre=
f=3D"mailto:[email protected]">[email protected]</a> [junit] <span dir=3D"ltr"><<a=
href=3D"mailto:[email protected]" target=3D"_blank">junit@yahoogroups.=
com</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
=20
<div style=3D"background-color:#fff">
<span>=C2=A0</span>
<div>
<div>
<div>
=20=20=20=20=20=20
=20=20=20=20=20=20
<p></p><p><br>Hello everyone,<br><br>before the recent revamp of JUni=
t.org, Dp4j was=20
listed as a tool/library for testing private methods. Can you please=20
list it back as an option for private methods unit testing at <a rel=3D"nof=
ollow" href=3D"http://junit.org/faq.html#atests_11" target=3D"_blank">JUnit=
- Frequently Asked Questions</a>? <br><br>The JUnit.org link used to be <f=
ont face=3D"arial, sans-serif" color=3D"#ff6666"><span style=3D"border-coll=
apse:collapse"><i><a rel=3D"nofollow" href=3D"http://www.junit.org/node/591=
" target=3D"_blank">http://www.<span>junit</span>.<span>org</span>/node/591=
</a></i></span></font>
</p>Dp4j
is an open-source Annotations Processor that processes JUnit's @Test a=
nnotations to
replace the private method calls in the Test with the equivalent=20
Reflection API code. <br>You can find out more about dp4j on:<br><br>- it&#=
39;s official <a href=3D"http://dp4j.com" target=3D"_blank">dp4j.com</a> pa=
ge: <a rel=3D"nofollow" href=3D"http://www.dp4j.com" target=3D"_blank">DP4J=
FOR PRIVATE METHODS TESTING</a><div style=3D"width:450px"> <table style=3D=
"width:450px;height:170px;margin-top:5px;margin-bottom:5px" cellpadding=3D"=
0" cellspacing=3D"0"> <tbody><tr> <td colspan=3D"6" style=3D"height:1px;bac=
kground-color:#e5e5e5"> <div style=3D"min-height:1px;background-color:#e5e5=
e5"></div> </td> </tr> <tr> <td rowspan=3D"2" style=3D"width:1px;background=
-color:#e5e5e5"> <div style=3D"width:1px;background-color:#e5e5e5"></div> <=
/td> <td rowspan=3D"2" style=3D"vertical-align:middle;width:168px;height:1=
68px;background-color:#000000"> <div style=3D"width:168px" align=3D"center"=
> <a rel=3D"nofollow" href=3D"http://www.dp4j.com" style=3D"text-decoration=
:none;color:#000000" target=3D"_blank"> <img alt=3D"image" src=3D"http://ww=
w.dp4j.com/uploads/1/1/1/6/11169156/9494408_orig.png" style=3D"margin:auto"=
height=3D"75" width=3D"168"> </a> </div> </td> <td rowspan=3D"2" style=3D"=
width:1px;background-color:#e5e5e5"> <div style=3D"width:1px;background-col=
or:#e5e5e5"></div> </td> <td colspan=3D"2" style=3D"width:100%;vertical-al=
ign:middle"> <div style=3D"background-color:#ffffff;min-height:130px;width:=
279px"> <div style=3D"padding:7px 20px 0px 14px"> <span></span> <span></spa=
n> <a rel=3D"nofollow" href=3D"http://www.dp4j.com" style=3D"text-decoratio=
n:none;color:#000000" target=3D"_blank"> <span style=3D"margin:0;font-weigh=
t:normal;margin-bottom:4px;font-size:18px;max-height:43px;color:#000000;ove=
rflow:hidden">DP4J FOR PRIVATE METHODS TESTING</span> </a> <div style=3D"f=
ont-size:13px;color:#999999;max-height:81px;overflow:hidden">No time to rea=
d more?! Want to try it right away?=C2=A0 Open a Unix terminal and execute =
this command:</div> </div> </div> </td> <td rowspan=3D"2" style=3D"width:1=
px;background-color:#e5e5e5"> <div style=3D"width:1px;background-color:#e5e=
5e5"></div> </td> </tr><tr> <td style=3D"width:100%;vertical-align:middle">=
<div style=3D"font-size:0pt;padding:7px 20px 9px 15px"> <a rel=3D"nofollow=
" href=3D"http://www.dp4j.com" style=3D"color:black;text-decoration:none" t=
arget=3D"_blank"> <span style=3D"max-width:179px;min-width:119px;overflow:h=
idden;max-height:13px"> <span style=3D"vertical-align:middle;font-size:9px;=
color:#999999"> View on <span style=3D"font-weight:bold">www.dp4j.com</span=
> </span> </span> </a> </div> </td> <td style=3D"vertical-align:middle;wid=
th:100px"> <div style=3D"padding:9px 20px 12px 0px;max-width:100px;min-widt=
h:80px;overflow:hidden;text-align:right;max-height:13px;font-size:0pt"> <sp=
an style=3D"vertical-align:middle;font-size:9px;color:#999999"> Preview by =
Yahoo </span> </div> </td> </tr> <tr> <td colspan=3D"6" style=3D"height:1p=
x;background-color:#e5e5e5"> <div style=3D"min-height:1px;background-color:=
#e5e5e5"></div> </td> </tr> </tbody></table> </div><br>- as well as discuss=
ion on the JUnit group: <br><a rel=3D"nofollow" href=3D"https://groups.yaho=
o.com/neo/groups/junit/conversations/topics/23111" target=3D"_blank">JUnit,=
the Java unit testing framework written by Kent Beck and Erich Gamma.</a><=
div style=3D"width:450px"> <table style=3D"width:450px;height:170px;margin-=
top:5px;margin-bottom:5px" cellpadding=3D"0" cellspacing=3D"0"> <tbody><tr>=
<td colspan=3D"6" style=3D"height:1px;background-color:#e5e5e5"> <div styl=
e=3D"min-height:1px;background-color:#e5e5e5"></div> </td> </tr> <tr> <td r=
owspan=3D"2" style=3D"width:1px;background-color:#e5e5e5"> <div style=3D"wi=
dth:1px;background-color:#e5e5e5"></div> </td> <td rowspan=3D"2" style=3D"=
vertical-align:middle;width:168px;height:168px;background-color:#000000"> <=
div style=3D"width:168px" align=3D"center"> <a rel=3D"nofollow" href=3D"htt=
ps://groups.yahoo.com/neo/groups/junit/conversations/topics/23111" style=3D=
"text-decoration:none;color:#000000" target=3D"_blank"> <img alt=3D"image" =
src=3D"https://s1.yimg.com/dh/ap/default/130909/y_200_a.png" style=3D"margi=
n:auto" height=3D"168" width=3D"168"> </a> </div> </td> <td rowspan=3D"2" s=
tyle=3D"width:1px;background-color:#e5e5e5"> <div style=3D"width:1px;backgr=
ound-color:#e5e5e5"></div> </td> <td colspan=3D"2" style=3D"width:100%;ver=
tical-align:middle"> <div style=3D"background-color:#ffffff;min-height:130p=
x;width:279px"> <div style=3D"padding:7px 20px 0px 14px"> <span></span> <sp=
an></span> <a rel=3D"nofollow" href=3D"https://groups.yahoo.com/neo/groups/=
junit/conversations/topics/23111" style=3D"text-decoration:none;color:#0000=
00" target=3D"_blank"> <span style=3D"margin:0;font-weight:normal;margin-bo=
ttom:4px;font-size:18px;max-height:43px;color:#000000;overflow:hidden">JUni=
t, the Java unit testing framework written by Kent B...</span> </a> <div s=
tyle=3D"font-size:13px;color:#999999;max-height:81px;overflow:hidden">JUnit=
, the Java unit testing framework written by Kent Beck and Erich Gamma.</di=
v> </div> </div> </td> <td rowspan=3D"2" style=3D"width:1px;background-col=
or:#e5e5e5"> <div style=3D"width:1px;background-color:#e5e5e5"></div> </td>=
</tr><tr> <td style=3D"width:100%;vertical-align:middle"> <div style=3D"fo=
nt-size:0pt;padding:7px 20px 9px 15px"> <a rel=3D"nofollow" href=3D"https:/=
/groups.yahoo.com/neo/groups/junit/conversations/topics/23111" style=3D"col=
or:black;text-decoration:none" target=3D"_blank"> <span style=3D"max-width:=
179px;min-width:119px;overflow:hidden;max-height:13px"> <span style=3D"vert=
ical-align:middle;font-size:9px;color:#999999"> View on <span style=3D"font=
-weight:bold">groups.yahoo.com</span> </span> </span> </a> </div> </td> <t=
d style=3D"vertical-align:middle;width:100px"> <div style=3D"padding:9px 20=
px 12px 0px;max-width:100px;min-width:80px;overflow:hidden;text-align:right=
;max-height:13px;font-size:0pt"> <span style=3D"vertical-align:middle;font-=
size:9px;color:#999999"> Preview by Yahoo </span> </div> </td> </tr> <tr> =
<td colspan=3D"6" style=3D"height:1px;background-color:#e5e5e5"> <div style=
=3D"min-height:1px;background-color:#e5e5e5"></div> </td> </tr> </tbody></t=
able> </div><p><br></p><a rel=3D"nofollow" href=3D"https://groups.yahoo.com=
/neo/groups/junit/conversations/messages/23367?act=3Dreply&messageNum=
=3D23367" target=3D"_blank">JUnit, the Java unit testing framework written =
by Kent Beck and Erich Gamma.</a><div style=3D"width:450px"> <table style=
=3D"width:450px;height:auto;margin-top:5px;margin-bottom:5px" cellpadding=
=3D"0" cellspacing=3D"0"> <tbody><tr> <td colspan=3D"6" style=3D"height:1px=
;background-color:#e5e5e5"> <div style=3D"min-height:1px;background-color:#=
e5e5e5"></div> </td> </tr> <tr> <td rowspan=3D"2" style=3D"width:1px;backgr=
ound-color:#e5e5e5"> <div style=3D"width:1px;background-color:#e5e5e5"></di=
v> </td> <td colspan=3D"2" style=3D"width:100%;vertical-align:middle"> <di=
v style=3D"background-color:#ffffff;width:448px"> <div style=3D"padding:7px=
20px 0px 14px"> <span></span> <span></span> <a rel=3D"nofollow" href=3D"ht=
tp://junit.org/faq.html#atests_11" style=3D"text-decoration:none;color:#000=
000" target=3D"_blank"> <span style=3D"margin:0;font-weight:normal;margin-b=
ottom:4px;font-size:18px;max-height:43px;color:#000000;overflow:hidden">JUn=
it - Frequently Asked Questions</span> </a> <div style=3D"font-size:13px;c=
olor:#999999;max-height:81px;overflow:hidden">How do I write and run a simp=
le test? Create a class: package junitfaq; import org.junit.*; import stati=
c org.junit.Assert.*; import java.util.*; public class SimpleTest { </div> =
</div> </div> </td> <td rowspan=3D"2" style=3D"width:1px;background-color:=
#e5e5e5"> <div style=3D"width:1px;background-color:#e5e5e5"></div> </td> </=
tr><tr> <td style=3D"width:100%;vertical-align:middle"> <div style=3D"font-=
size:0pt;padding:3px 20px 9px 14px"> <a rel=3D"nofollow" href=3D"http://jun=
it.org/faq.html#atests_11" style=3D"color:black;text-decoration:none" targe=
t=3D"_blank"> <span style=3D"max-width:348px;min-width:288px;overflow:hidde=
n;max-height:13px"> <span style=3D"vertical-align:middle;font-size:9px;colo=
r:#999999"> View on <span style=3D"font-weight:bold">junit.org</span> </spa=
n> </span> </a> </div> </td> <td style=3D"vertical-align:middle;width:100p=
x"> <div style=3D"padding:6px 20px 12px 0px;max-width:100px;min-width:80px;=
overflow:hidden;text-align:right;max-height:13px;font-size:0pt"> <span styl=
e=3D"vertical-align:middle;font-size:9px;color:#999999"> Preview by Yahoo <=
/span> </div> </td> </tr> <tr> <td colspan=3D"6" style=3D"height:1px;backg=
round-color:#e5e5e5"> <div style=3D"min-height:1px;background-color:#e5e5e5=
"></div> </td> </tr> </tbody></table> </div><p> =C2=A0</p>And finally, on <=
a href=3D"http://stackoverflow.com" target=3D"_blank">stackoverflow.com</a>=
:<br><a rel=3D"nofollow" href=3D"http://stackoverflow.com/search?q=3Ddp4j" =
target=3D"_blank">http://stackoverflow.com/search?q=3Ddp4j</a><br><p><span>=
<br></span></p><p></p>
</div>
=20=20=20=20=20
=20=20=20=20
<div style=3D"color:#fff;min-height:0"></div>
</div>
=20=20
</blockquote></div><br></div>
<!-- |**|begin egp html banner|**| -->
<br>
<br>
<!-- |**|end egp html banner|**| -->
<div width=3D"1" style=3D"color: white; clear: both;"/>__._,_.___</div>
=20=20=20=20=20=20
=20=20
=20=20=20=20
<div id=3D"fromDMARC" style=3D"clear:both; margin-top: 10px;">
<hr style=3D"height:2px ; border-width:0; color:#E3E3E3; backgroun=
d-color:#E3E3E3;">
Posted by: David Saff <[email protected]> <hr style=3D=
"height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;">
</div>
<!-- Start Recommendations -->
<!-- End Recommendations -->
<!-- |**|begin egp html banner|**| -->
<img src=3D"http://geo.yahoo.com/serv?s=3D97476590/grpId=3D2423328/grpspI=
d=3D1705006905/msgId=3D24684/stime=3D1437589897" width=3D"1" height=3D"1"> =
<br>
<!-- |**|end egp html banner|**| -->
=20=20
<!-- |**|begin egp html banner|**| -->
<br>
=20=20=20
=20=20=20=20=20
=20
<!-- |**|begin egp html banner|**| -->
<div id=3D"ygrp-vital" style=3D"background-color: #f2f2f2; font-fam=
ily: Verdana; font-size: 10px; margin-bottom: 10px; padding: 10px;">
<span id=3D"vithd" style=3D"font-weight: bold; color: #333; text-tr=
ansform: uppercase; "><a href=3D"https://groups.yahoo.com/neo/groups/junit/=
info;_ylc=3DX3oDMTJlbzJzbjczBF9TAzk3MzU5NzE0BGdycElkAzI0MjMzMjgEZ3Jwc3BJZAM=
xNzA1MDA2OTA1BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTQzNzU4OTg5Nw--" style=3D"tex=
t-decoration: none;">Visit Your Group</a></span>
<ul style=3D"list-style-type: none; margin: 0; padding: 0; display: in=
line;">
<li style=3D"border-right: 1px solid #000; font-weight: 700; di=
splay: inline; padding: 0 5px; margin-left: 0;">
<span class=3D"cat"><a href=3D"https://groups.yahoo.com/neo/groups/ju=
nit/members/all;_ylc=3DX3oDMTJmczUwdHNiBF9TAzk3MzU5NzE0BGdycElkAzI0MjMzMjgE=
Z3Jwc3BJZAMxNzA1MDA2OTA1BHNlYwN2dGwEc2xrA3ZtYnJzBHN0aW1lAzE0Mzc1ODk4OTc-" s=
tyle=3D"text-decoration: none;">New Members</a></span>
<span class=3D"ct" style=3D"color: #ff7900;">2</span>
</li>
</ul>
</div>
<div id=3D"ft" style=3D"font-family: Arial; font-size: 11px; margin-top: 5p=
x; padding: 0 2px 0 0; clear: both;">
<a href=3D"https://groups.yahoo.com/neo;_ylc=3DX3oDMTJkdjU3aTlsBF9TAzk3ND=
c2NTkwBGdycElkAzI0MjMzMjgEZ3Jwc3BJZAMxNzA1MDA2OTA1BHNlYwNmdHIEc2xrA2dmcARzd=
GltZQMxNDM3NTg5ODk3" style=3D"float: left;"><img src=3D"http://l.yimg.com/r=
u/static/images/yg/img/email/new_logo/logo-groups-137x15.png" height=3D"15"=
width=3D"137" alt=3D"Yahoo! Groups" style=3D"border: 0;"/></a>
<div style=3D"color: #747575; float: right;"> • <a href=3D"https://i=
nfo.yahoo.com/privacy/us/yahoo/groups/details.html" style=3D"text-decoratio=
n: none;">Privacy</a> • <a href=3D"mailto:junit-unsubscribe@yahoogroup=
s.com?subject=3DUnsubscribe" style=3D"text-decoration: none;">Unsubscribe</=
a> • <a href=3D"https://info.yahoo.com/legal/us/yahoo/utos/terms/" sty=
le=3D"text-decoration: none;">Terms of Use</a> </div>
</div>
<!-- |**|end egp html banner|**| -->
</div> <!-- ygrp-msg -->
=20=20=20
<br>
<!-- |**|end egp html banner|**| -->
<div style=3D"color: white; clear: both;"/>__,_._,___</div>
</body>
</html>
--089e0115e79e4ae54e051b7af2fb--