<?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 Re: Could ActivitiRule for JUnit4 work without activiti.cfg.xml? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/could-activitirule-for-junit4-work-without-activiti-cfg-xml/m-p/12857#M5668</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Ciju, for such a quick response. This addressed my query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jun 2017 04:31:18 GMT</pubDate>
    <dc:creator>xingjl6280</dc:creator>
    <dc:date>2017-06-08T04:31:18Z</dc:date>
    <item>
      <title>Could ActivitiRule for JUnit4 work without activiti.cfg.xml?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/could-activitirule-for-junit4-work-without-activiti-cfg-xml/m-p/12855#M5666</link>
      <description>I'm using Springboot to set up my project and&amp;nbsp;@EnableAutoConfiguration annotation. Configurations like datasource, pooling are in application.properties.But i got&amp;nbsp;error for my test class that activiti failed to find activiti.cfg.xml.I use @Rule annotation&amp;nbsp;@Rule public ActivitiRule activitiRule=new A</description>
      <pubDate>Wed, 07 Jun 2017 10:14:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/could-activitirule-for-junit4-work-without-activiti-cfg-xml/m-p/12855#M5666</guid>
      <dc:creator>xingjl6280</dc:creator>
      <dc:date>2017-06-07T10:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Could ActivitiRule for JUnit4 work without activiti.cfg.xml?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/could-activitirule-for-junit4-work-without-activiti-cfg-xml/m-p/12856#M5667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has been asked previously on stack-overflow at&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/30109472/exception-when-building-the-applicationcontext-for-a-junit-test-in-activiti-with" title="https://stackoverflow.com/questions/30109472/exception-when-building-the-applicationcontext-for-a-junit-test-in-activiti-with" rel="nofollow noopener noreferrer"&gt;java - Exception when building the ApplicationContext for a JUnit test in Activiti with Spring Boot - Stack Overflow&lt;/A&gt;&amp;nbsp;where there is a suggested solution. Please note that I haven't tried this by myself, however looking at it it should work! The question is do you really need to use&amp;nbsp;ActivitiRule? Any reason why you don't want to use the test approach used in &amp;nbsp;&lt;A href="https://github.com/Alfresco/activiti-spring-boot-samples/tree/master/spring-boot-sample-basic" title="https://github.com/Alfresco/activiti-spring-boot-samples/tree/master/spring-boot-sample-basic" rel="nofollow noopener noreferrer"&gt;activiti-spring-boot-samples/spring-boot-sample-basic at master · Alfresco/activiti-spring-boot-samples · GitHub&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ciju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2017 20:22:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/could-activitirule-for-junit4-work-without-activiti-cfg-xml/m-p/12856#M5667</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-06-07T20:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Could ActivitiRule for JUnit4 work without activiti.cfg.xml?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/could-activitirule-for-junit4-work-without-activiti-cfg-xml/m-p/12857#M5668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Ciju, for such a quick response. This addressed my query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 04:31:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/could-activitirule-for-junit4-work-without-activiti-cfg-xml/m-p/12857#M5668</guid>
      <dc:creator>xingjl6280</dc:creator>
      <dc:date>2017-06-08T04:31:18Z</dc:date>
    </item>
  </channel>
</rss>

