<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Thinking inside a bigger box - Latest Comments in Some FitNesse tricks: Classpath and debugging</title><link>http://thinkinginsideabiggerbox.disqus.com/</link><description></description><language>en</language><lastBuildDate>Fri, 28 Mar 2008 02:48:22 -0000</lastBuildDate><item><title>Re: Some FitNesse tricks: Classpath and debugging</title><link>http://www.brodwall.com/johannes/blog/2008/03/19/some-fitnesse-tricks-classpath-and-debugging/#comment-1798885</link><description>Hei, Nils-Helge&lt;br&gt;&lt;br&gt;Using plain old Fit is indeed an option that I considered, too. But now I am actually glad I didn't. I hope you'll like to try out the code from this article.&lt;br&gt;&lt;br&gt;FitNesse is definitely not designed with embedding and extending in mind. But  when I was willing to dive into it, I found it wasn't that bad. I really wish my "trick" with writing my own main class was closer to the intended use, though.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Johannes Brodwall</dc:creator><pubDate>Fri, 28 Mar 2008 02:48:22 -0000</pubDate></item><item><title>Re: Some FitNesse tricks: Classpath and debugging</title><link>http://www.brodwall.com/johannes/blog/2008/03/19/some-fitnesse-tricks-classpath-and-debugging/#comment-1798889</link><description>As the author of the fitnesse plugin that Ole Morten kindly enough has mentioned, I do agree with you that it is pretty obvious that FitNesse was not built with Maven in mind, and worse, it's practically impossible to customize! It's not modular and extensible at all (you wouldn't believe the troubles and hacks I had to go through to get that thing to work...)! &lt;br&gt;&lt;br&gt;Anyway, you seem to have found a good solution for running FitNesse for a Maven project. I still think there's cases where the pom widget is useful, especially when having a common FitNesse server installation and multiple projects within it.&lt;br&gt;&lt;br&gt;As for me, I've left FitNesse and use plain Fit instead. We use Excel spreadsheets as the source and convert them to HTML tables when the tests are run. Then our build run Fit with these converted HTML tables. It's fast, simple and more importantly, just what we need.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nils-Helge Garli Hegvik</dc:creator><pubDate>Thu, 27 Mar 2008 09:58:04 -0000</pubDate></item><item><title>Re: Some FitNesse tricks: Classpath and debugging</title><link>http://www.brodwall.com/johannes/blog/2008/03/19/some-fitnesse-tricks-classpath-and-debugging/#comment-1798886</link><description>I share your philosophy. I want to run everything locally, including the fitnesse server. This is my startup script&lt;br&gt;&lt;br&gt;java -cp fitnesse.jar;lib\fitnesse-pom-widget-1.0-SNAPSHOT.jar;lib\maven-embedder-2.0.4-dep.jar fitnesse.FitNesse -p 8091 -r FitNesseRoot -l logs -o -e 0 &lt;br&gt;&lt;br&gt;Guess you'd find a way to execute the fitness server from Eclipse, but I don't see why. It uses near to nothing of resources and don't need to be restarted to notice updates. A simple .bat or .sh is good enough.&lt;br&gt;&lt;br&gt;RELOCATION&lt;br&gt;I presume you have your fixtures in source control, why not have fitnesse ialongside it? They definetly belong together.&lt;br&gt;&lt;br&gt;/trunk/fitnesse&lt;br&gt;/trunk/fixtures (or wherever the fixtures are located)&lt;br&gt;&lt;br&gt;Then you may use the relative path "!pom ../fixtures/pom.xml"&lt;br&gt;&lt;br&gt;DEBUGGER&lt;br&gt;The option -html fitnesse.html in the debugger outputs the results in the same manner as pressing Test in the fitnesse page.&lt;br&gt;&lt;br&gt;Sadly, there is no cigar with FitNesse. I say, use it to communicate requirements, supplement with a few test tables. It's a wiki, terrible to maintain and opposes refactoring. I've committed my share of sins. Do you have any rules/guidelines for this Johannes?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ole Morten Amundsen</dc:creator><pubDate>Mon, 24 Mar 2008 14:19:26 -0000</pubDate></item><item><title>Re: Some FitNesse tricks: Classpath and debugging</title><link>http://www.brodwall.com/johannes/blog/2008/03/19/some-fitnesse-tricks-classpath-and-debugging/#comment-1798883</link><description>Hi, Ole Morten&lt;br&gt;&lt;br&gt;Three reasons why I don't like solutions like the fitnesse-pom-widget:&lt;br&gt;&lt;br&gt;1. You have to install fitnesse yourself. PLUS: You have to micky around with the installation. For me, maven is my only installer&lt;br&gt;2. You have to start up stuff with special commands and stuff. For me, Eclipse is my only application runner.&lt;br&gt;3. You still have to specify a path to the pom that will vary from workstation to workstation in your tests. For me, there is no changes when you relocate the workspace.&lt;br&gt;&lt;br&gt;Close, but no cigar.&lt;br&gt;&lt;br&gt;The debugger is nice, but the result of running the test won't be displayed in your web browser, right?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Johannes Brodwall</dc:creator><pubDate>Sun, 23 Mar 2008 00:41:29 -0000</pubDate></item><item><title>Re: Some FitNesse tricks: Classpath and debugging</title><link>http://www.brodwall.com/johannes/blog/2008/03/19/some-fitnesse-tricks-classpath-and-debugging/#comment-1798884</link><description>Finally, I might assist you, Johannes! Nice work, but sadly, I think you're reinventing the weel here. I meant to write a blog post about this, including how to use the pom. No excuses!&lt;br&gt;&lt;br&gt;We include the pom in the Fitnesse page by writing "!pom path_to_the_pom_he_fixtures_were_built_from/pom.xml". See &lt;a href="http://boss.bekk.no/fitnesse-pom-widget/usage.html"&gt;http://boss.bekk.no/fitnesse-pom-widget/usage.html&lt;/a&gt; &lt;br&gt;&lt;br&gt;Now you may set up a debugger in eclipse. Java Application-&amp;gt;new-&amp;gt;&lt;br&gt;Main class: fitnesse.runner.TestRunner&lt;br&gt;Arguments: localhost 8091 YourWikiPathToTestOrSuite -v -html fitnesse.html&lt;br&gt;&lt;br&gt;Bonus tip to your many readers: add "-e 0" to the startup of your FitNesse server to avoid those dreadful zips. Isn't FitNesse intuitive?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ole Morten Amundsen</dc:creator><pubDate>Sat, 22 Mar 2008 20:27:46 -0000</pubDate></item></channel></rss>