<?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 Unit Test activiti process without Spring RunWith &amp; Autowiring in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/unit-test-activiti-process-without-spring-runwith-autowiring/m-p/244855#M197985</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a simple process with one service task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The service task delegate is created as Spring bean in activiti configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I an unit testing it as under:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;@RunWith(SpringJUnit4ClassRunner.class)&lt;BR /&gt;@ContextConfiguration(locations = {"/activiti.cfg.xml"})&lt;BR /&gt;public class ActivitiWorkflowTest {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; @Autowired&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IdentityService identityService;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Autowired…..&lt;BR /&gt;[code]&lt;BR /&gt;&lt;BR /&gt;Is there a way to test such processes without using Spring? I mean the RunWith and Autowiring?&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Nov 2016 10:44:56 GMT</pubDate>
    <dc:creator>mansi</dc:creator>
    <dc:date>2016-11-14T10:44:56Z</dc:date>
    <item>
      <title>Unit Test activiti process without Spring RunWith &amp; Autowiring</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unit-test-activiti-process-without-spring-runwith-autowiring/m-p/244855#M197985</link>
      <description>Hi,I have a simple process with one service task.The service task delegate is created as Spring bean in activiti configuration.Currently I an unit testing it as under:@RunWith(SpringJUnit4ClassRunner.class)@ContextConfiguration(locations = {"/activiti.cfg.xml"})public class ActivitiWorkflowTest {&amp;nbsp;&amp;nbsp;</description>
      <pubDate>Mon, 14 Nov 2016 10:44:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unit-test-activiti-process-without-spring-runwith-autowiring/m-p/244855#M197985</guid>
      <dc:creator>mansi</dc:creator>
      <dc:date>2016-11-14T10:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unit Test activiti process without Spring RunWith &amp; Autowiring</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unit-test-activiti-process-without-spring-runwith-autowiring/m-p/244856#M197986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use below link for your reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://forums.activiti.org/comment/36926#comment-36926" rel="nofollow noopener noreferrer"&gt;https://forums.activiti.org/comment/36926#comment-36926&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 00:54:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unit-test-activiti-process-without-spring-runwith-autowiring/m-p/244856#M197986</guid>
      <dc:creator>anilmann</dc:creator>
      <dc:date>2016-11-24T00:54:12Z</dc:date>
    </item>
  </channel>
</rss>

