<?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 testing services based on CMIS API in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/unit-testing-services-based-on-cmis-api/m-p/323697#M10698</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;How to test classess that using Nuxeo CMIS API?
I've created services which are executing CMIS operations provided by Nuxeo. Now I'am trying to test my services with JUnit. Is it possible to run Nuxeo and expose CMIS operation for the time of test execution?&lt;/P&gt;
&lt;P&gt;After reading &lt;A href="http://doc.nuxeo.com/display/CORG/Unit+Testing" target="test_blank"&gt;http://doc.nuxeo.com/display/CORG/Unit+Testing&lt;/A&gt; I think I have to define some specific feature or deploy some specific bundle. I am able to run Nuxeo during the test, but don't know how to expose CMIS operations.&lt;/P&gt;
&lt;P&gt;I appreciate any help.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jun 2012 09:32:32 GMT</pubDate>
    <dc:creator>ldworski_</dc:creator>
    <dc:date>2012-06-26T09:32:32Z</dc:date>
    <item>
      <title>Unit testing services based on CMIS API</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/unit-testing-services-based-on-cmis-api/m-p/323697#M10698</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;How to test classess that using Nuxeo CMIS API?
I've created services which are executing CMIS operations provided by Nuxeo. Now I'am trying to test my services with JUnit. Is it possible to run Nuxeo and expose CMIS operation for the time of test execution?&lt;/P&gt;
&lt;P&gt;After reading &lt;A href="http://doc.nuxeo.com/display/CORG/Unit+Testing" target="test_blank"&gt;http://doc.nuxeo.com/display/CORG/Unit+Testing&lt;/A&gt; I think I have to define some specific feature or deploy some specific bundle. I am able to run Nuxeo during the test, but don't know how to expose CMIS operations.&lt;/P&gt;
&lt;P&gt;I appreciate any help.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2012 09:32:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/unit-testing-services-based-on-cmis-api/m-p/323697#M10698</guid>
      <dc:creator>ldworski_</dc:creator>
      <dc:date>2012-06-26T09:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unit testing services based on CMIS API</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/unit-testing-services-based-on-cmis-api/m-p/323698#M10699</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can give a look at &lt;A href="https://github.com/nuxeo/nuxeo-chemistry/tree/master/nuxeo-opencmis-tests/src/test/java/org/nuxeo/ecm/core/opencmis/impl"&gt;Nuxeo CMIS tests&lt;/A&gt;. Briefly, you will have to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;add nuxeo-opencmis artifacts in your POM&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt; &amp;lt;dependency&amp;gt;
   &amp;lt;groupId&amp;gt;org.nuxeo.ecm.core&amp;lt;/groupId&amp;gt;
   &amp;lt;artifactId&amp;gt;nuxeo-opencmis-bindings&amp;lt;/artifactId&amp;gt;
 &amp;lt;/dependency&amp;gt;
 &amp;lt;dependency&amp;gt;
   &amp;lt;groupId&amp;gt;org.nuxeo.ecm.core&amp;lt;/groupId&amp;gt;
   &amp;lt;artifactId&amp;gt;nuxeo-opencmis-impl&amp;lt;/artifactId&amp;gt;
 &amp;lt;/dependency&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Add bundles deploy instruction in your test class&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt; @Deploy({ "org.nuxeo.ecm.core.opencmis.impl",
         "org.nuxeo.ecm.core.opencmis.bindings" })
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 26 Jun 2012 17:56:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/unit-testing-services-based-on-cmis-api/m-p/323698#M10699</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2012-06-26T17:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unit testing services based on CMIS API</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/unit-testing-services-based-on-cmis-api/m-p/323699#M10700</link>
      <description>&lt;P&gt;Thank you, it was very useful&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2012 16:11:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/unit-testing-services-based-on-cmis-api/m-p/323699#M10700</guid>
      <dc:creator>ldworski_</dc:creator>
      <dc:date>2012-06-27T16:11:46Z</dc:date>
    </item>
  </channel>
</rss>

