Aquileo | Recent changes to support-requestshttps://sourceforge.net/p/moreunit/support-requests/Recent changes to support-requestsenSat, 17 Oct 2015 12:22:08 -0000Aquileo | #4 move to GitHub?https://sourceforge.net/p/moreunit/support-requests/4/?limit=25#23d8<div class="markdown_content"><p>Hi Alchemist,</p> <p>I suppose I should be ashamed: 1 month for a 5 minutes operation... but here it is: <a href="https://github.com/MoreUnit/MoreUnit-Eclipse!" rel="nofollow">https://github.com/MoreUnit/MoreUnit-Eclipse!</a></p> <p>The code has been hidden on SourceForge, but issues can be submitted both on SourceForge and Github for now.</p></div>Nicolas DemengelSat, 17 Oct 2015 12:22:08 -0000https://sourceforge.net98611746b8b96137161d7070bb68047bfcbfcfd4Aquileo | #4 move to GitHub?https://sourceforge.net/p/moreunit/support-requests/4/?limit=25#a026<div class="markdown_content"><p>@ndemengel: I forgot to mention: I'm willing to volunteer to take over maintenance of the code and to respond to PRs.</p></div>The AlchemistMon, 14 Sep 2015 03:10:25 -0000https://sourceforge.net1f7574de087eb84f43d33781dadb9a7371176182Aquileo | #4 move to GitHub?https://sourceforge.net/p/moreunit/support-requests/4/?limit=25#6e21<div class="markdown_content"><p>Hi Alchemist,</p> <p>We never really felt the need for it in the past, but I agree that it would totally make sense now that we - the 2 developers - are far less available for the project. A move to Github would allow for easy forks and pull requests from users. There's no need to move the website, the code would suffice.</p> <p>@gianasista: what do you think about it?</p></div>Nicolas DemengelSun, 13 Sep 2015 07:18:46 -0000https://sourceforge.net854b30e68a2fe76dc174bb11e004551d12ca33bbAquileo | move to GitHub?https://sourceforge.net/p/moreunit/support-requests/4/<div class="markdown_content"><p>Could we move to GitHub? I was surprised that <a href="https://github.com/MoreUnit" rel="nofollow">https://github.com/MoreUnit</a> only has the IntelliJ plugin.</p></div>The AlchemistFri, 04 Sep 2015 15:51:29 -0000https://sourceforge.net126e159c0d3a2293313ac6448e548fb3b5d83aebAquileo | #3 request for JMockit test creation to add @RunWith(JMockit.class)https://sourceforge.net/p/moreunit/support-requests/3/?limit=25#7110<div class="markdown_content"><ul> <li><strong>status</strong>: open --&gt; closed</li> <li><strong>assigned_to</strong>: Nicolas Demengel</li> </ul></div>Nicolas DemengelWed, 21 Jan 2015 20:04:26 -0000https://sourceforge.net701948e5370933fe6d605fe62980e68a81b72828Aquileo | #3 request for JMockit test creation to add @RunWith(JMockit.class)https://sourceforge.net/p/moreunit/support-requests/3/?limit=25#0a3d<div class="markdown_content"><p>Ready to ship: @RunWith(JMockit.class) is now the default.</p></div>Nicolas DemengelWed, 21 Jan 2015 20:03:22 -0000https://sourceforge.netd26c265152719cfb726703ba9c853cb23389654eAquileo | #3 request for JMockit test creation to add @RunWith(JMockit.class)https://sourceforge.net/p/moreunit/support-requests/3/?limit=25#fdb4<div class="markdown_content"><p>No problem, thanks for the great piece of software!</p></div>The AlchemistFri, 22 Aug 2014 13:31:44 -0000https://sourceforge.net09374a1300cdaa3429ecb686b46a987dfffafe9fAquileo | #3 request for JMockit test creation to add @RunWith(JMockit.class)https://sourceforge.net/p/moreunit/support-requests/3/?limit=25#fb8f<div class="markdown_content"><p>Conversely, users used to the current behavior might be surprised!</p> <p>That said, given the magic needed for JMockit to work without @RunWith, it's likely better to follow your advice and make it the default, with another profile called "Without JUnit's @RunWith" for people liking the current behavior.</p> <p>Many thanks for your help!</p></div>Nicolas DemengelFri, 22 Aug 2014 07:12:18 -0000https://sourceforge.net8e024422c6b638a776d79c0cc4c9738ef9cb7466Aquileo | #3 request for JMockit test creation to add @RunWith(JMockit.class)https://sourceforge.net/p/moreunit/support-requests/3/?limit=25#09ac<div class="markdown_content"><p>@Nicolas: I tested it by running MoreUnit as an Eclipse application (Run As -&gt; Eclipse Application/PlugIn; I forget which one exactly).</p> <p>Thanks for including it!</p> <p>May I suggest making it the default if "JMockit" is selected? Otherwise, it might not work properly and people might blame MoreUnit. :(</p></div>The AlchemistThu, 21 Aug 2014 13:32:04 -0000https://sourceforge.net49a34d4146bb8d9ef667e63b1963b43f0c0adeb8Aquileo | #3 request for JMockit test creation to add @RunWith(JMockit.class)https://sourceforge.net/p/moreunit/support-requests/3/?limit=25#f69d<div class="markdown_content"><p>Hi Alchemist,</p> <p>I finally had a look at your template: it works perfectly for me. That said, I don't know how you tested it: did you build MoreUnit with that change, or did you put the template in your <em>&lt;workspace&gt;/.metadata/.plugins/org.moreunit.mock/templates</em> directory ? In the later case, be sure to give the template a different id, or it will be rejected (normally with an error in a popup window).</p> <p>It should work if you put a .xml file in the previously mentioned directory, with the following content :<br /> &lt;?xml version="1.0" encoding="UTF-8" ?&gt;</p> <div class="codehilite"><pre><span class="nt">&lt;mocking-templates</span> <span class="na">version=</span><span class="s">"1.0"</span><span class="nt">&gt;</span> <span class="nt">&lt;category</span> <span class="na">id=</span><span class="s">"org.moreunit.mock.jmockit"</span> <span class="na">name=</span><span class="s">"JMockit"</span><span class="nt">/&gt;</span> <span class="nt">&lt;mocking-template</span> <span class="na">id=</span><span class="s">"org.moreunit.mock.jmockitUsingJunitRunWith"</span> <span class="na">category=</span><span class="s">"org.moreunit.mock.jmockit"</span> <span class="na">name=</span><span class="s">"Using JUnit's @RunWith"</span><span class="nt">&gt;</span> <span class="nt">&lt;code-template</span> <span class="na">id=</span><span class="s">"jmockitRunnerDeclaration"</span> <span class="na">part=</span><span class="s">"test-class-annotation"</span><span class="nt">&gt;</span> <span class="nt">&lt;include-if</span> <span class="na">condition=</span><span class="s">"test-type"</span> <span class="na">value=</span><span class="s">"junit4"</span><span class="nt">/&gt;</span> <span class="nt">&lt;pattern&gt;</span><span class="cp">&lt;![</span><span class="nx">CDATA</span><span class="err">[</span><span class="p">@</span><span class="err">$</span><span class="p">{</span><span class="nx">runWith</span><span class="p">:</span><span class="nx">newType</span><span class="p">(</span><span class="nx">org.junit.runner.RunWith</span><span class="p">)}(</span><span class="err">$</span><span class="p">{</span><span class="nx">runner</span><span class="p">:</span><span class="nx">newType</span><span class="p">(</span><span class="nx">mockit.integration.junit4.JMockit</span><span class="p">)}</span><span class="bp">.</span><span class="nb">class</span><span class="p">)</span><span class="cp">]]&gt;</span><span class="nt">&lt;/pattern&gt;</span> <span class="nt">&lt;/code-template&gt;</span> <span class="nt">&lt;code-template</span> <span class="na">id=</span><span class="s">"dependencyDeclaration"</span> <span class="na">part=</span><span class="s">"test-class-fields"</span><span class="nt">&gt;</span> <span class="nt">&lt;pattern&gt;</span><span class="cp">&lt;![</span><span class="nx">CDATA</span><span class="err">[</span> <span class="p">@</span><span class="err">$</span><span class="p">{</span><span class="nx">injectableAnnotation</span><span class="p">:</span><span class="nx">newType</span><span class="p">(</span><span class="nx">mockit.Injectable</span><span class="p">)}</span> <span class="k">private</span> <span class="err">$</span><span class="p">{</span><span class="nx">dependencyType</span><span class="p">}</span> <span class="err">$</span><span class="p">{</span><span class="nx">dependency</span><span class="p">};</span> <span class="cp">]]&gt;</span><span class="nt">&lt;/pattern&gt;</span> <span class="nt">&lt;/code-template&gt;</span> <span class="nt">&lt;code-template</span> <span class="na">id=</span><span class="s">"objectUnderTestDeclaration"</span> <span class="na">part=</span><span class="s">"test-class-fields"</span><span class="nt">&gt;</span> <span class="nt">&lt;pattern&gt;</span><span class="cp">&lt;![</span><span class="nx">CDATA</span><span class="err">[</span> <span class="p">@</span><span class="err">$</span><span class="p">{</span><span class="nx">mockAnnotation</span><span class="p">:</span><span class="nx">newType</span><span class="p">(</span><span class="nx">mockit.Tested</span><span class="p">)}</span> <span class="k">private</span> <span class="err">$</span><span class="p">{</span><span class="nx">objectUnderTestType</span><span class="p">}</span> <span class="err">$</span><span class="p">{</span><span class="nx">objectUnderTest</span><span class="p">};</span> <span class="cp">]]&gt;</span><span class="nt">&lt;/pattern&gt;</span> <span class="nt">&lt;/code-template&gt;</span> <span class="nt">&lt;/mocking-template&gt;</span> <span class="nt">&lt;/mocking-templates&gt;</span> </pre></div> <p>You can then either restart Eclipse or click on <em>Preferences &gt; MoreUnit &gt; Java &gt; Mock Generation &gt; Reload templates</em>, and then choose the template <em>JMockit &gt; Using JUnit's @RunWith</em></p> <p>Also, I will include your template in the next version of MoreUnit, as another JMockit template named "Using JUnit's @RunWith", in order to let the default template aligned with what seems to be <a class="" href="http://jmockit.github.io/tutorial/RunningTests.html" rel="nofollow">JMockit's default way of configuring it</a>.</p> <p>As an aside: unfortunately we have been very bad at answering MoreUnit's users for one year... I shall be more available now, at the very least until mid-September, so don't hesitate to ask for more help if needed.</p> <p>Nicolas</p></div>Nicolas DemengelMon, 18 Aug 2014 11:49:22 -0000https://sourceforge.netd480ca8440903acd6fd3898174ab5bdaaf7c7381