<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Running Junit 3 style of coding with junit-4.8.1.jar is feasible? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/running-junit-3-style-of-coding-with-junit-4-8-1-jar-is-feasible/m-p/151378#M106138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to integrate activiti in existing web application. My Project already has junit-4.8.1.jar included (with which I am not able to get &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'JUnit 4 style of coding' working properly(using ActivitiRule etc)). Though I am able to run 'Junit 3 style of coding' (extending ActivitiTestCase) working good with this jar itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Q: Can I use Junit 3 style of coding extending ActivitiTestCase with junit-4.8.1.jar ? Or it will leads to some problems later on for complex flows?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I really need good reason why to upgrade to junit-4.11.jar in my existing project as it incorporates more extra testing effort.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;b&amp;gt;Please would someone point ActivitiRule is beneficial compare to ActivitiTestCase?? &amp;lt;/b&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for helping. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: I have already posted this question in link &lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/content/problem-running-simple-junit-junit-4-style" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/problem-running-simple-junit-junit-4-style&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;But got lost somewhere in between the conversation. So posted a new one for more clarity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Dec 2013 12:29:19 GMT</pubDate>
    <dc:creator>monika_b</dc:creator>
    <dc:date>2013-12-11T12:29:19Z</dc:date>
    <item>
      <title>Running Junit 3 style of coding with junit-4.8.1.jar is feasible?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/running-junit-3-style-of-coding-with-junit-4-8-1-jar-is-feasible/m-p/151378#M106138</link>
      <description>I need to integrate activiti in existing web application. My Project already has junit-4.8.1.jar included (with which I am not able to get 'JUnit 4 style of coding' working properly(using ActivitiRule etc)). Though I am able to run 'Junit 3 style of coding' (extending ActivitiTestCase) working good</description>
      <pubDate>Wed, 11 Dec 2013 12:29:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/running-junit-3-style-of-coding-with-junit-4-8-1-jar-is-feasible/m-p/151378#M106138</guid>
      <dc:creator>monika_b</dc:creator>
      <dc:date>2013-12-11T12:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Running Junit 3 style of coding with junit-4.8.1.jar is feasible?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/running-junit-3-style-of-coding-with-junit-4-8-1-jar-is-feasible/m-p/151379#M106139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just to point from user guide that led me to this confusion:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://activiti.org/userguide/index.html#apiUnitTesting" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#apiUnitTesting&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;"In the JUnit 3 style, the org.activiti.engine.test.ActivitiTestCase must be extended. "&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"To get the same functionality when using the JUnit 4 style of writing unit tests, the org.activiti.engine.test.ActivitiRule Rule must be used."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I am trying to use Junit 3 style with junit-4.8.1.jar to avoid more testing work if i upgrade existing application to junit-4.11.jar.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 12:32:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/running-junit-3-style-of-coding-with-junit-4-8-1-jar-is-feasible/m-p/151379#M106139</guid>
      <dc:creator>monika_b</dc:creator>
      <dc:date>2013-12-11T12:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Running Junit 3 style of coding with junit-4.8.1.jar is feasible?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/running-junit-3-style-of-coding-with-junit-4-8-1-jar-is-feasible/m-p/151380#M106140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, that works without problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a matter of fact, all Activiti internal tests are still Junit 3 style. There is no impact whatsoever on using 3 or 4 style.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 14:29:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/running-junit-3-style-of-coding-with-junit-4-8-1-jar-is-feasible/m-p/151380#M106140</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-12-11T14:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Running Junit 3 style of coding with junit-4.8.1.jar is feasible?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/running-junit-3-style-of-coding-with-junit-4-8-1-jar-is-feasible/m-p/151381#M106141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Jbarrez. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would be using Junit 3 style of junit coding itself. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 05:36:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/running-junit-3-style-of-coding-with-junit-4-8-1-jar-is-feasible/m-p/151381#M106141</guid>
      <dc:creator>monika_b</dc:creator>
      <dc:date>2013-12-12T05:36:21Z</dc:date>
    </item>
  </channel>
</rss>

