<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://community.activestate.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ActiveState Community Site - Writing Unittest Harnesses for Komodo 4.4: An Introduction - Comments</title>
 <link>http://community.activestate.com/writing-unittest-harnesses-komodo-4-4-introduction</link>
 <description>Comments for &quot;Writing Unittest Harnesses for Komodo 4.4: An Introduction&quot;</description>
 <language>en</language>
<item>
 <title>some changes</title>
 <link>http://community.activestate.com/writing-unittest-harnesses-komodo-4-4-introduction#comment-5690</link>
 <description>&lt;p&gt;Hi,&lt;br /&gt;
     Sorry iam  not mentioned the test languages. Iam Using the tcltest for the program its working, Now i want the output in the form of GUI application.&lt;/p&gt;
&lt;p&gt;   Suppose i write the code in the python can view the output in the form of Gui applicaiton.&lt;/p&gt;
&lt;p&gt;Regards&lt;br /&gt;
B.Bharathy&lt;/p&gt;
</description>
 <pubDate>Mon, 16 Jun 2008 00:25:20 -0700</pubDate>
 <dc:creator>bharathy</dc:creator>
 <guid isPermaLink="false">comment 5690 at http://community.activestate.com</guid>
</item>
<item>
 <title>Test plans in a nutshell</title>
 <link>http://community.activestate.com/writing-unittest-harnesses-komodo-4-4-introduction#comment-5677</link>
 <description>&lt;p&gt;0. Write some Python tests (I assume you&#039;ve done that).&lt;/p&gt;
&lt;p&gt;1. Put them in a Komodo project.&lt;/p&gt;
&lt;p&gt;2. Right-click on the project: Test|Create New Test Plan&lt;/p&gt;
&lt;p&gt;3. Test plan name: something like &quot;Nose Test #1&quot;&lt;br /&gt;
   Language: Python - Nose&lt;br /&gt;
   Directory: Directory containing the tests&lt;br /&gt;
   Command Line Arguments: &lt;/p&gt;
&lt;p&gt;   Press OK&lt;/p&gt;
&lt;p&gt;4. Bring up the Test Results tab at the bottom, if it&#039;s not visible.&lt;/p&gt;
&lt;p&gt;5. Select the test you created&lt;/p&gt;
&lt;p&gt;6. Press the right-triangle, or menu item [Tools|Test|Run Current Test Plan]&lt;/p&gt;
&lt;p&gt;7. You&#039;ll see structured output in Komodo.&lt;/p&gt;
&lt;p&gt;Hope this is what you were looking for.&lt;/p&gt;
&lt;p&gt;- Eric&lt;/p&gt;
</description>
 <pubDate>Fri, 13 Jun 2008 09:27:29 -0700</pubDate>
 <dc:creator>ericp</dc:creator>
 <guid isPermaLink="false">comment 5677 at http://community.activestate.com</guid>
</item>
<item>
 <title>hi   Thank for kind reply.</title>
 <link>http://community.activestate.com/writing-unittest-harnesses-komodo-4-4-introduction#comment-5676</link>
 <description>&lt;p&gt;hi&lt;br /&gt;
   Thank for kind reply. i got how to run the test plan. Ok now i run the test plan can view the output automatically in the komodo, suppose can view means please send the relvant command to me. Its work so good and nice.&lt;/p&gt;
</description>
 <pubDate>Fri, 13 Jun 2008 04:52:32 -0700</pubDate>
 <dc:creator>bharathy</dc:creator>
 <guid isPermaLink="false">comment 5676 at http://community.activestate.com</guid>
</item>
<item>
 <title>The hard part is finding the setup.py file</title>
 <link>http://community.activestate.com/writing-unittest-harnesses-komodo-4-4-introduction#comment-5664</link>
 <description>&lt;p&gt;The extension installs into a directory called &quot;nosesleuthharness@ActiveState.com&quot;,&lt;br /&gt;
best to use find in both your Komodo install and .komodo* directories to&lt;br /&gt;
find it.  cd to that directory, and then cd into sleuth-harnesses/nose,&lt;br /&gt;
and run&lt;/p&gt;
&lt;p&gt;python setup.py&lt;/p&gt;
&lt;p&gt;If the Python interpreter complains that it can&#039;t find setuptools.py&lt;br /&gt;
you&#039;ll need to install it.&lt;/p&gt;
</description>
 <pubDate>Thu, 12 Jun 2008 15:03:18 -0700</pubDate>
 <dc:creator>ericp</dc:creator>
 <guid isPermaLink="false">comment 5664 at http://community.activestate.com</guid>
</item>
<item>
 <title>clarification</title>
 <link>http://community.activestate.com/writing-unittest-harnesses-komodo-4-4-introduction#comment-5641</link>
 <description>&lt;p&gt;Hi&lt;br /&gt;
 How to install the sleuthharness.py module in the komodo. Because this is newconcept for me. sorry for incovenience.&lt;br /&gt;
what are the step involved in that harness.&lt;br /&gt;
how to use this harness in the komodo, can you send the working examples.&lt;br /&gt;
please send quickly as soon as possible&lt;/p&gt;
</description>
 <pubDate>Tue, 10 Jun 2008 22:16:44 -0700</pubDate>
 <dc:creator>bharathy</dc:creator>
 <guid isPermaLink="false">comment 5641 at http://community.activestate.com</guid>
</item>
<item>
 <title>Did you install the sleuthplug.py module?</title>
 <link>http://community.activestate.com/writing-unittest-harnesses-komodo-4-4-introduction#comment-5625</link>
 <description>&lt;p&gt;It&#039;s part of the extension.  Also see my comments above&lt;br /&gt;
on eventually moving to Nose 0.10, where this won&#039;t be&lt;br /&gt;
a requirement.&lt;/p&gt;
</description>
 <pubDate>Tue, 10 Jun 2008 09:51:38 -0700</pubDate>
 <dc:creator>ericp</dc:creator>
 <guid isPermaLink="false">comment 5625 at http://community.activestate.com</guid>
</item>
<item>
 <title>how to plug the nose.xpi 0.2</title>
 <link>http://community.activestate.com/writing-unittest-harnesses-komodo-4-4-introduction#comment-5617</link>
 <description>&lt;p&gt;hi,&lt;br /&gt;
     my name is bharathy from india(chennai). i want the nose harness for the write a unittest code in the komodo IDE4.4&lt;br /&gt;
i will unzipped the .Xpi file.&lt;br /&gt;
Then i typed has --with-sleuth but this command not found in the system.&lt;br /&gt;
This argument is correct&lt;/p&gt;
</description>
 <pubDate>Mon, 09 Jun 2008 23:24:49 -0700</pubDate>
 <dc:creator>bharathy</dc:creator>
 <guid isPermaLink="false">comment 5617 at http://community.activestate.com</guid>
</item>
<item>
 <title>Yes</title>
 <link>http://community.activestate.com/writing-unittest-harnesses-komodo-4-4-introduction#comment-5329</link>
 <description>&lt;p&gt;Yes, the kNose 1.2 preview release shows how to use the nose 0.10 API and remove the need to install plugins.&lt;/p&gt;
</description>
 <pubDate>Thu, 08 May 2008 05:53:41 -0700</pubDate>
 <dc:creator>bcorfman</dc:creator>
 <guid isPermaLink="false">comment 5329 at http://community.activestate.com</guid>
</item>
<item>
 <title>Thanks</title>
 <link>http://community.activestate.com/writing-unittest-harnesses-komodo-4-4-introduction#comment-5328</link>
 <description>&lt;p&gt;Ok, now I understand what you meant with &quot;install the sleuthplug.py module&quot; in the article :) and now it works fine. It would be nice if this step could be avoided or happen automatically when installing the xpi.&lt;/p&gt;
</description>
 <pubDate>Thu, 08 May 2008 01:12:01 -0700</pubDate>
 <dc:creator>Cito</dc:creator>
 <guid isPermaLink="false">comment 5328 at http://community.activestate.com</guid>
</item>
<item>
 <title>The &quot;--with-sleuth&quot; argument is part of the 0.9 way of plugins</title>
 <link>http://community.activestate.com/writing-unittest-harnesses-komodo-4-4-introduction#comment-5326</link>
 <description>&lt;p&gt;You have to install the plugin in the sleuth-harnesses/nose directory&lt;br /&gt;
in the unzipped .xpi file, and then Nose will know what it has to do&lt;br /&gt;
when it hits a &quot;--with-sleuth&quot; argument.  I gather that the setup&lt;br /&gt;
should be run in the Komodo extension directory as well.  The&lt;br /&gt;
directory structure looks like this:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;mailto:nosesleuthharness@ActiveState.com&quot;&gt;nosesleuthharness@ActiveState.com&lt;/a&gt;&lt;br /&gt;
â”‚   chrome.manifest&lt;br /&gt;
â”‚   install.rdf&lt;br /&gt;
â”‚&lt;br /&gt;
â””â”€â”€â”€sleuth-harnesses&lt;br /&gt;
    â””â”€â”€â”€nose&lt;br /&gt;
            as_nose_common.py&lt;br /&gt;
            as_nose_doctest_harness.py&lt;br /&gt;
            as_nose_harness.py&lt;br /&gt;
            setup.py&lt;br /&gt;
            sleuthplug.py&lt;/p&gt;
&lt;p&gt;You need to cd into nosesleuthharness@ActiveState.com/sleuth-harnesses/nose&lt;br /&gt;
and run python setup.py&lt;/p&gt;
&lt;p&gt;I had to install setuptools.py before this would work.&lt;/p&gt;
&lt;p&gt;BTW, &lt;a href=&quot;mailto:nosesleuthharness@ActiveState.com&quot;&gt;nosesleuthharness@ActiveState.com&lt;/a&gt; will be in [.../Komodo*//&lt;br /&gt;
host-/XRE/extensions/&lt;/p&gt;
&lt;p&gt;Brandon, I still haven&#039;t checked out your 0.10 way, which if I&lt;br /&gt;
understand correctly, removes the need to install the plug-in.&lt;/p&gt;
</description>
 <pubDate>Wed, 07 May 2008 16:17:38 -0700</pubDate>
 <dc:creator>ericp</dc:creator>
 <guid isPermaLink="false">comment 5326 at http://community.activestate.com</guid>
</item>
<item>
 <title>--with-sleuth?</title>
 <link>http://community.activestate.com/writing-unittest-harnesses-komodo-4-4-introduction#comment-5323</link>
 <description>&lt;p&gt;I really appreciate being able to integrate nose with Komodo.&lt;/p&gt;
&lt;p&gt;What is the &quot;--with-sleuth&quot; argument good for, that is set in _args? Since it is not recognized by nose, I get a nose Usage error and the plugin prints &quot;Did you install the Komodo sleuthplug plugin?&quot;. If I remove this argument, it works, but only the details pane, not the pane with the green and red bullets. (Komodo-IDE 4.4.0-alpha1, nosetests 0.10.1)&lt;/p&gt;
</description>
 <pubDate>Wed, 07 May 2008 13:59:17 -0700</pubDate>
 <dc:creator>Cito</dc:creator>
 <guid isPermaLink="false">comment 5323 at http://community.activestate.com</guid>
</item>
<item>
 <title>I uploaded the file, didn&#039;t link to it though</title>
 <link>http://community.activestate.com/writing-unittest-harnesses-komodo-4-4-introduction#comment-5290</link>
 <description>&lt;p&gt;The xpi is at &lt;a href=&quot;http://community.activestate.com/files/nose.xpi&quot; title=&quot;http://community.activestate.com/files/nose.xpi&quot;&gt;http://community.activestate.com/files/nose.xpi&lt;/a&gt;&lt;/p&gt;
</description>
 <pubDate>Fri, 02 May 2008 09:03:17 -0700</pubDate>
 <dc:creator>ericp</dc:creator>
 <guid isPermaLink="false">comment 5290 at http://community.activestate.com</guid>
</item>
<item>
 <title>Hi Eric</title>
 <link>http://community.activestate.com/writing-unittest-harnesses-komodo-4-4-introduction#comment-5286</link>
 <description>&lt;p&gt;Did you include your .XPI with this article? &lt;/p&gt;
&lt;p&gt;I sent you a couple emails about kNose at your activestate address; hope they got through.&lt;/p&gt;
</description>
 <pubDate>Fri, 02 May 2008 06:34:59 -0700</pubDate>
 <dc:creator>bcorfman</dc:creator>
 <guid isPermaLink="false">comment 5286 at http://community.activestate.com</guid>
</item>
<item>
 <title>Writing Unittest Harnesses for Komodo 4.4: An Introduction</title>
 <link>http://community.activestate.com/writing-unittest-harnesses-komodo-4-4-introduction</link>
 <description></description>
 <comments>http://community.activestate.com/writing-unittest-harnesses-komodo-4-4-introduction#comments</comments>
 <category domain="http://community.activestate.com/product/komodo">Komodo</category>
 <category domain="http://community.activestate.com/tags/extensible">extensible</category>
 <category domain="http://community.activestate.com/tags/harness">harness</category>
 <category domain="http://community.activestate.com/tags/testplan">testplan</category>
 <category domain="http://community.activestate.com/tags/unittest">unittest</category>
 <pubDate>Thu, 01 May 2008 18:04:11 -0700</pubDate>
 <dc:creator>ericp</dc:creator>
 <guid isPermaLink="false">2280 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
