<?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: Unit tests without start the repository in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/unit-tests-without-start-the-repository/m-p/144295#M38298</link>
    <description>&lt;P&gt;The alfresco-tests library seems like a useful tool for running unit tests without requiring an active ACS or APS. By leveraging mock services, developers can efficiently test their implementations, including workflows, webscripts, and actions.&amp;nbsp;Create your unit tests, focusing on the specific components you want to test (workflows, webscripts, or actions). You can use the mock services provided by the library to simulate interactions with Alfresco services.&amp;nbsp;Execute your tests, and the library will handle the necessary mocking and setup. This approach allows you to validate your code without needing a live ACS or APS instance.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT size="1 2 3 4 5 6 7" color="#FFFFFF"&gt;&lt;A href="https://www.my-indigocard.com" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;SPAN&gt;&lt;FONT color="#FFFFFF"&gt;Indigo credit card access&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;dependency&amp;gt;&lt;BR /&gt;&amp;lt;groupId&amp;gt;it.vige&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;lt;artifactId&amp;gt;alfresco-tests&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;lt;version&amp;gt;${acs.version}&amp;lt;/version&amp;gt;&lt;BR /&gt;&amp;lt;scope&amp;gt;test&amp;lt;/scope&amp;gt;&lt;BR /&gt;&amp;lt;/dependency&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2024 08:24:36 GMT</pubDate>
    <dc:creator>deborah621powel</dc:creator>
    <dc:date>2024-04-15T08:24:36Z</dc:date>
    <item>
      <title>Unit tests without start the repository</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unit-tests-without-start-the-repository/m-p/144294#M38297</link>
      <description>&lt;P&gt;I share with you a library that allows you to run unit tests without needing to have an active ACS or APS. The mechanism is to use alfresco mock services to reach your implementations such as workflows, webscripts or actions and test them quickly. Simply add the following library, write your own test and run it&lt;/P&gt;&lt;PRE&gt;&amp;lt;dependency&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;lt;groupId&amp;gt;it.vige&amp;lt;/groupId&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;lt;artifactId&amp;gt;alfresco-tests&amp;lt;/artifactId&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;lt;version&amp;gt;${acs.version}&amp;lt;/version&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;lt;scope&amp;gt;test&amp;lt;/scope&amp;gt;
&amp;lt;/dependency&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://alfresco-tests.vige.it" target="_self" rel="nofollow noopener noreferrer"&gt;Here&lt;/A&gt; you can find further information&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 09:43:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unit-tests-without-start-the-repository/m-p/144294#M38297</guid>
      <dc:creator>lucastancapiano</dc:creator>
      <dc:date>2024-03-13T09:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unit tests without start the repository</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unit-tests-without-start-the-repository/m-p/144295#M38298</link>
      <description>&lt;P&gt;The alfresco-tests library seems like a useful tool for running unit tests without requiring an active ACS or APS. By leveraging mock services, developers can efficiently test their implementations, including workflows, webscripts, and actions.&amp;nbsp;Create your unit tests, focusing on the specific components you want to test (workflows, webscripts, or actions). You can use the mock services provided by the library to simulate interactions with Alfresco services.&amp;nbsp;Execute your tests, and the library will handle the necessary mocking and setup. This approach allows you to validate your code without needing a live ACS or APS instance.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT size="1 2 3 4 5 6 7" color="#FFFFFF"&gt;&lt;A href="https://www.my-indigocard.com" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;SPAN&gt;&lt;FONT color="#FFFFFF"&gt;Indigo credit card access&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;dependency&amp;gt;&lt;BR /&gt;&amp;lt;groupId&amp;gt;it.vige&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;lt;artifactId&amp;gt;alfresco-tests&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;lt;version&amp;gt;${acs.version}&amp;lt;/version&amp;gt;&lt;BR /&gt;&amp;lt;scope&amp;gt;test&amp;lt;/scope&amp;gt;&lt;BR /&gt;&amp;lt;/dependency&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 08:24:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unit-tests-without-start-the-repository/m-p/144295#M38298</guid>
      <dc:creator>deborah621powel</dc:creator>
      <dc:date>2024-04-15T08:24:36Z</dc:date>
    </item>
  </channel>
</rss>

