<?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: Getting started with JUnit testing in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getting-started-with-junit-testing/m-p/143242#M100264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Probably the best examples to look at are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Alfresco's own JUnit tests&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. the SDK example projects (eg. FirstFoundationClient)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which demonstrate how to bootstrap a minimal Alfresco repository outside of a servlet container.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Alfresco source code (which includes both of the above) is available from our public Subversion server - details on how to access this are at &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_SVN_Development_Environment" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Alfresco_SVN_Development_Environment&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2008 01:50:46 GMT</pubDate>
    <dc:creator>pmonks</dc:creator>
    <dc:date>2008-01-17T01:50:46Z</dc:date>
    <item>
      <title>Getting started with JUnit testing</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-started-with-junit-testing/m-p/143241#M100263</link>
      <description>HelloI am working as a developer on a web-application, that uses Alfresco as a core on the serverside to handle users, registration, content etc. As a test driven programmer, I would like to white-box test my code.So, my question is - how do we get started writing unit tests for our bean-code? Is th</description>
      <pubDate>Wed, 16 Jan 2008 08:34:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-started-with-junit-testing/m-p/143241#M100263</guid>
      <dc:creator>agatap</dc:creator>
      <dc:date>2008-01-16T08:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Getting started with JUnit testing</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-started-with-junit-testing/m-p/143242#M100264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Probably the best examples to look at are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Alfresco's own JUnit tests&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. the SDK example projects (eg. FirstFoundationClient)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which demonstrate how to bootstrap a minimal Alfresco repository outside of a servlet container.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Alfresco source code (which includes both of the above) is available from our public Subversion server - details on how to access this are at &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_SVN_Development_Environment" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Alfresco_SVN_Development_Environment&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 01:50:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-started-with-junit-testing/m-p/143242#M100264</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-01-17T01:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting started with JUnit testing</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-started-with-junit-testing/m-p/143243#M100265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I browsed trough the sample project that come with the SDK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One of them contained a JUnit test - the SDK Custom Aspect contains a JUnit test.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to run it, and it failed, the stack trace below the post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously - I did miss something about the setup?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So - how can I run a JUnit test straight from my IDE (eclipse).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I use WindowsXP/OSX (depends on mood), try to run on the localhost with an MySQL installation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Agata&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2008 08:59:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-started-with-junit-testing/m-p/143243#M100265</guid>
      <dc:creator>agatap</dc:creator>
      <dc:date>2008-05-15T08:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting started with JUnit testing</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-started-with-junit-testing/m-p/143244#M100266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having the same problem. Did you ever get an answer to this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 20:27:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-started-with-junit-testing/m-p/143244#M100266</guid>
      <dc:creator>jperilla</dc:creator>
      <dc:date>2010-07-22T20:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Getting started with JUnit testing</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-started-with-junit-testing/m-p/143245#M100267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For example I'm running the LockServiceImplTest from Eclipse at the moment. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Select the unit test in Eclipse and Right click on it.&amp;nbsp; Then Run As Junit test. &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only thing I fiddle with is the project class path to include my Tomcat shared folder which contains my configuration settings, without that it would use the default settings.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 20:48:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-started-with-junit-testing/m-p/143245#M100267</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-07-22T20:48:10Z</dc:date>
    </item>
  </channel>
</rss>

