<?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 for Share webscripts in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/unit-test-for-share-webscripts/m-p/276364#M229494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created a unit test method to test my share webscript, by extending BaseWebScriptTest.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;During the unit test startup, the Alfresco repo application is started&amp;nbsp; and share application is not started.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I'm calling sendRequest() method , the request goes to the alfresco repo application and not for the share application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Moreoever BaseWebScriptTest.getServer() method returns TestWebScriptRepoServer only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way, where we can get TestWebScriptServer to test the share application?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I want to know, How I can start the share application for Unit testing and how I can to do unit test Share webscripts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2013 11:21:12 GMT</pubDate>
    <dc:creator>muralidharand</dc:creator>
    <dc:date>2013-02-08T11:21:12Z</dc:date>
    <item>
      <title>Unit test for Share webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unit-test-for-share-webscripts/m-p/276364#M229494</link>
      <description>I created a unit test method to test my share webscript, by extending BaseWebScriptTest.&amp;nbsp; During the unit test startup, the Alfresco repo application is started&amp;nbsp; and share application is not started.When I'm calling sendRequest() method , the request goes to the alfresco repo application and not for</description>
      <pubDate>Fri, 08 Feb 2013 11:21:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unit-test-for-share-webscripts/m-p/276364#M229494</guid>
      <dc:creator>muralidharand</dc:creator>
      <dc:date>2013-02-08T11:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unit test for Share webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unit-test-for-share-webscripts/m-p/276365#M229495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I got the below information from Axel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Axel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Murali,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the only idea I have regarding this would be to re-implement the BaseWebScriptTest for Share specifically, which would end up starting a "selective base repository configuration" (services required for the specific test) with the addition of necessary Share framework components. Not quite a trivial task…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We ourselves don't and don't intend to use unit tests for Share functionality, as the effort required to achieve meaningful tests and an adequate test coverage far outweigh the benefits. Automated UI testing is our method of choice here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 15:45:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unit-test-for-share-webscripts/m-p/276365#M229495</guid>
      <dc:creator>muralidharand</dc:creator>
      <dc:date>2013-03-22T15:45:18Z</dc:date>
    </item>
  </channel>
</rss>

