Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

fitnesse

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 3718
  • Category: Testing
  • Founded: Feb 26, 2003
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 5110 - 5139 of 20044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#5110 From: "drbdmnky" <drbdmnky@...>
Date: Fri Feb 3, 2006 3:10 am
Subject: Using properties with DoFixture in FitLibrary.NET
drbdmnky
Send Email Send Email
 
I'm trying to use the DoFixture in FitLibrary.NET to set the object
under test, and then set and get properties on that object.  I've
found that get works, but not set. Calling methods also works.  The
error I receive when I try to set a property is:

fit.exception.FitFailureException: Unknown method: amount with 1
argument(s).
    at fit.Method.FindFirst(Object[] theTargets, String theMethodName,
Int32 theParameterCount)
    at fit.FlowFixtureBase.FindMethod(CellRange theCells)
    at fit.FlowFixtureBase.FindRowMethod(Parse theRow)
    at fit.FlowFixtureBase.DoRows(Parse theRows)

Looking at the code in the ProperyMember class in Member.cs, the
Matches method only returns true if theParameterCount = 0, but if I'm
setting a property, as in:

|Amount|4000|

theParameterCount would be 1 (as the error message shows).

Does anyone know if I'm doing this wrong in the test table or is
setting properties on a system under test not implemented?  I know I
could just write adapter methods in my fixture for all the properties
on the object, but there are a lot of properties and I'd like to
avoid maintaining the fixture every time I add a new one.

I'm trying to get away with a simple fixture like the one in the FIT
book in Listing 28.4 on page 232.  My fixture inherits from
DoFixture, sets the mySystemUnderTest property to the object under
test, and that's it.  I should be able to set and get properties and
call methods directly from the test table.  It all seems to work
except for setting properties.

Thanks in advance for any help.

Dan Rhodes

#5111 From: "Humbert, Jean-Philippe" <j.humbert@...>
Date: Fri Feb 3, 2006 9:17 am
Subject: fit.TimedActionFixture : split is not correct (well I think).
jeanphilippe...
Send Email Send Email
 

Hi,

 

I use a TimedActionFeature for some performance test. It is really useful.

My problem is the information in the column “split” seems “cryptic” to me.

 

For example:

I have a test, which need one minute to complete.

The column time shows me this: at the beginning 09:52:18 and at the end 09:53:16.

The column split shows me this: 582742,17. I thought this was 582742,17 milliseconds, so it should be 58274,217!

 

I have to say that I have tested this with the last version with fit or fitnesse and I have the same results.

I have tried too with a standard distribution and a VS2005 build: same results …

I want to mention too that I test a .Net 2.0 software.

 

Regards

 

// Jean-Philippe Humbert

 

 


#5112 From: "Dan Bunea" <dan.bunea@...>
Date: Fri Feb 3, 2006 8:36 am
Subject: Re: Re: Error With .Net 2.0
danbunea
Send Email Send Email
 
Hi,

The problem you have comes from the fact that you're using a 1.1 exe to
run your 2.0 compiled project. I had the same problem, so I took the fit
sources, compiled them with 2005, made a separate folder .net 2.0, called
dotnet20 and put the server, testrunner and dlls in there like:

S:/fitnesse/fitnesse/dotnet20/acceptanceTests.DLL
S:/fitnesse/fitnesse/dotnet20/eg.DLL
S:/fitnesse/fitnesse/dotnet20/fit.DLL
S:/fitnesse/fitnesse/dotnet20/FitServer.exe
S:/fitnesse/fitnesse/dotnet20/TestFixture.DLL
S:/fitnesse/fitnesse/dotnet20/TestRunner.EXE

modified the path to the FitServer, to be to the one for 2.0 and now it
works fine.

Dan


On Thu, 02 Feb 2006 15:00:07 -0000, wesshaddix <wshaddix@...> wrote:

> --- In fitnesse@yahoogroups.com, "wesshaddix" <wshaddix@...> wrote:
>>
>> I downloaded the VS2005.zip from the Files section and installed it on
>> my fitnesse server but am still unable to get it to work with a
>> fixture compiled with the 2.0 framework. The error I'm getting is
>>
>> Date: 8:28:25 AM (EST) on Thursday, February 2, 2006
>> Command: dotnet\FitServer.exe
>>
> S:\CI\MyProject\output\bin\MyProject.Fixtures.dll;fitnesse.jar;fitlibrary.jar
>> localhost 8080 1
>> Exit code: -2146232576
>> Time elapsed: 0.371 seconds
>> Internal Exception:
>>
>> java.lang.Exception: FitClient: external process terminated before a
>> connection could be established.
>>
>
fitnesse.components.CommandRunningFitClient$EarlyTerminationRunnable.run(Unknown
>> Source)
>> java.lang.Thread.run(Unknown Source)
>>
>> Any ideas?
>>
>
> UPDATE: After re-installing the 2.0 framework, I get a different
> error. New error is
>
> System.ApplicationException: Type 'division' could not be found in
> assemblies.
> Assemblies searched:
> file:///S:/fitnesse/fitnesse/dotnet/acceptanceTests.DLL
> file:///S:/fitnesse/fitnesse/dotnet/eg.DLL
> file:///S:/fitnesse/fitnesse/dotnet/fit.DLL
> file:///S:/fitnesse/fitnesse/dotnet/FitServer.exe
> file:///S:/fitnesse/fitnesse/dotnet/TestFixture.DLL
> file:///S:/fitnesse/fitnesse/dotnet/TestRunner.EXE
>
> file:///S:/fitnesse/fitnesse/dotnet/MyProject/bin/MyProject.Fixtures.dll
>
> so I know it is looking in the right place. I still don't know what I
> need to do to fix it though.
>
>
>
>
>
> YAHOO! GROUPS LINKS
>
> Visit your group "fitnesse" on the web.
>
> To unsubscribe from this group, send an email to:
> fitnesse-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

#5113 From: "dave55_fr" <dave55_fr@...>
Date: Fri Feb 3, 2006 8:38 am
Subject: Fitnesse within a J2EE container
dave55_fr
Send Email Send Email
 
Hello,



I would not want to use the default web server provided by Fitnesse by
default.

I would like to know if it is possible to use Fitnesse within a J2EE
container. If it is possible what is the procedure ?


Thanks in advance.

David MAGNY

#5114 From: "treacherous_j_silk" <angelo0000@...>
Date: Fri Feb 3, 2006 5:29 pm
Subject: Test Table Size Limitation
treacherous_...
Send Email Send Email
 
First I would like to thank you all for your help.  I know have a
great fixture for testing our mainframe utilizing and overriding the
DoFixture.

My new question:

Many commands are used on the mainframe to execute a test case.
Today, testers create "Macros" for these commands that they can
execute on the mainframe.  These macros can be quite large.  For my
fixture, every command is a row in my test table. I am going to ask
the testers to chunk the commands into multiple pages but I would
still like to know the limitations/recommendations for fitnesse.

For example:  I have a utility html page that takes their macro and
converts it into wiki syntax.  I did this for one of their  macros
and then pasted it into a wiki page and the page will not come back.
So I looked at the macro and discovered that it is 14,000 commands
which creates a test table with 14000 rows.  I know this is probably
too much for fitnesse to handle and indeed the webserver begins
throwing errors. However, i would like to know what should I expect
to be able to create on a single page.  How many rows can a fitnesse
page handle?

Thanks in advance.

#5115 From: "Cory Foy" <usergroup@...>
Date: Fri Feb 3, 2006 7:23 pm
Subject: Re: ColumnFixture / methods
cory_foy
Send Email Send Email
 
--- In fitnesse@yahoogroups.com, Cory Foy <usergroup@...> wrote:
> After this, my test passed, and running all of the Fitnesse tests
seemed
> to still pass as well.

Ok, so not quite. All but one of the JUnit tests passed -
testUseOfGracefulNamingForMethods failed because "intmethod?",
"Intmethod?" and "IntMethod?"

And rerunning the Acceptance tests failed. The first was
NullAndBlankFixture
(FitNesse.SuiteAcceptanceTests.SuiteFixtureTests.SuiteGeneralFixtureSpec.TestBla\
nkAndNullCells)
which made me realize that my change to makeAdapter in fit.Binding
didn't take into account the parameter count of the methods (even
though I had meant to). So it got modified to:

	     Matcher matcher = methodPattern.matcher(name);
		  if(matcher.find())
			  return makeAdapterForMethod(name, fixture, matcher);
		  else
		  {
			  TypeAdapter adapter = null;
			  matcher = fieldPattern.matcher(name);
			  if(matcher.find())
			  {
				  try
				  {
					  adapter = makeAdapterForMethod(name, fixture, matcher);
					  if(adapter.method.getParameterTypes().length != 1)
					  {
					      //only use methods that have a single parameter
					      adapter = makeAdapterForField(name, fixture);
					  }
				  }
				  catch(NoSuchMethodFitFailureException ex)
				  {
					  adapter = makeAdapterForField(name, fixture);
				  }
			  }
			  else
			  {
				  adapter = makeAdapterForField(name, fixture);
			  }
			  return adapter;
		  }

Making those changes passes all SuiteAcceptanceTests (or at least, all
of them that were passing before and all JUnit tests.

My question now is, does this belong over on the FIT list with Rick,
or can someone here tell me if this is viable (maybe Micah?)?

I'll be more than happy to upload the files, or place them somewhere
they can be downloaded.

Thanks!

Cory

#5116 From: Micah Martin <micah@...>
Date: Fri Feb 3, 2006 7:46 pm
Subject: Re: Fitnesse within a J2EE container
slagyr
Send Email Send Email
 
I know it's been done before.  There's a project out there somewhere that's got FitNesse running in Tomcat.  Can't remember what it was though.  It's not something that plug-able though.  You'd have to do a bit of building to get it to work.  


Micah Martin

Object Mentor, Inc.

www.objectmentor.com



On Feb 3, 2006, at 2:38 AM, dave55_fr wrote:

Hello,



I would not want to use the default web server provided by Fitnesse by
default.

I would like to know if it is possible to use Fitnesse within a J2EE
container. If it is possible what is the procedure ?


Thanks in advance.

David MAGNY






Yahoo! Groups Links

<*> To visit your group on the web, go to:

<*> To unsubscribe from this group, send an email to:

<*> Your use of Yahoo! Groups is subject to:






#5117 From: "gheorghe_gheorghiu" <grig@...>
Date: Fri Feb 3, 2006 7:55 pm
Subject: Problems running PyFIT in command line/TestRunner mode
gheorghe_ghe...
Send Email Send Email
 
I'm trying to integrate my FitNesse tests in my smoke tests and I'm
having trouble running my test suite from the command line. I'm using
PyFIT and it's working well from the Wiki, but I get "Could not find
fixture" error messages from the command line.

Here are the variables I define in my suite Wiki page:
!define COMMAND_PATTERN {python %m %p}
!define TEST_RUNNER
{/usr/local/lib/python2.4/site-packages/fit/FitServer.py}
!path /home/ggheo/proj/tests

Here's how I try to run TestRunner from the command line, in the
fitnesse installation directory:

$ java -cp fitnesse.jar fitnesse.runner.TestRunner localhost 8081
MosAcceptanceTests

Any ideas/suggestions appreciated.

Grig

#5118 From: yahoogroups@...
Date: Fri Feb 3, 2006 8:38 pm
Subject: Re: Problems running PyFIT in command line/TestRunner mode
jhrothjr
Send Email Send Email
 
From: "gheorghe_gheorghiu"
<grig.at.gheorghiu.net@...>
To: "fitnesse@yahoogroups.com"
<fitnesse.at.yahoogroups.com@...>
Sent: Friday, February 03, 2006 12:55 PM
Subject: [fitnesse] Problems running PyFIT in command line/TestRunner mode


> I'm trying to integrate my FitNesse tests in my smoke tests and I'm
> having trouble running my test suite from the command line. I'm using
> PyFIT and it's working well from the Wiki, but I get "Could not find
> fixture" error messages from the command line.
>
> Here are the variables I define in my suite Wiki page:
> !define COMMAND_PATTERN {python %m %p}
> !define TEST_RUNNER
> {/usr/local/lib/python2.4/site-packages/fit/FitServer.py}
> !path /home/ggheo/proj/tests
>
> Here's how I try to run TestRunner from the command line, in the
> fitnesse installation directory:
>
> $ java -cp fitnesse.jar fitnesse.runner.TestRunner localhost 8081
> MosAcceptanceTests
>
> Any ideas/suggestions appreciated.

You need to run the Python version of TestRunner. See
the Runners page in the documentation for how to do it.

John Roth
Python FIT

>
> Grig
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>

#5119 From: "gheorghe_gheorghiu" <grig@...>
Date: Fri Feb 3, 2006 9:20 pm
Subject: Re: Problems running PyFIT in command line/TestRunner mode
gheorghe_ghe...
Send Email Send Email
 
--- In fitnesse@yahoogroups.com, yahoogroups@... wrote:
>
> From: "gheorghe_gheorghiu"
> <grig.at.gheorghiu.net@...>
> To: "fitnesse@yahoogroups.com"
> <fitnesse.at.yahoogroups.com@...>
> Sent: Friday, February 03, 2006 12:55 PM
> Subject: [fitnesse] Problems running PyFIT in command
line/TestRunner mode
>
>
> > I'm trying to integrate my FitNesse tests in my smoke tests and I'm
> > having trouble running my test suite from the command line. I'm using
> > PyFIT and it's working well from the Wiki, but I get "Could not find
> > fixture" error messages from the command line.
> >
> > Here are the variables I define in my suite Wiki page:
> > !define COMMAND_PATTERN {python %m %p}
> > !define TEST_RUNNER
> > {/usr/local/lib/python2.4/site-packages/fit/FitServer.py}
> > !path /home/ggheo/proj/tests
> >
> > Here's how I try to run TestRunner from the command line, in the
> > fitnesse installation directory:
> >
> > $ java -cp fitnesse.jar fitnesse.runner.TestRunner localhost 8081
> > MosAcceptanceTests
> >
> > Any ideas/suggestions appreciated.
>
> You need to run the Python version of TestRunner. See
> the Runners page in the documentation for how to do it.
>
> John Roth
> Python FIT
>

John,

Thanks for the fast reply. I looked at the Runners documentation page
and my best guess was that I need to run FileRunner.py. Am I right?
However, in looking at that module, it expects an HTML file as the
input. I saved my Wiki Suite page as html and passed it to FileRunner,
but I got this error:

$ python /usr/local/lib/python2.4/site-packages/fit/FileRunner.py
MosAcceptanceTests.html out.txt
template: 'Fixture '%s' not found' args: '('FixtureNotFound',
'^MailboxSearchTests')'
0 right, 0 wrong, 0 ignored, 1 exceptions

I'm sure I'm doing something wrong. I wish the documentation gave a
few specific examples on how to achieve this...I promise to post a
blog entry as soon as I get this done :-)

Thanks for your help,

Grig

#5120 From: yahoogroups@...
Date: Fri Feb 3, 2006 9:41 pm
Subject: Re: Re: Problems running PyFIT in command line/TestRunner mode
jhrothjr
Send Email Send Email
 
You need to run TestRunner.py. It's all the way toward the
bottom of the documentation under FitNesse. Kind of easy
to miss.

FileRunner.py is the batch mode runner.

John Roth
Python FIT

----- Original Message -----
From: "gheorghe_gheorghiu"
<grig.at.gheorghiu.net@...>
To: "fitnesse@yahoogroups.com"
<fitnesse.at.yahoogroups.com@...>
Sent: Friday, February 03, 2006 2:20 PM
Subject: [fitnesse] Re: Problems running PyFIT in command line/TestRunner
mode


> --- In fitnesse@yahoogroups.com, yahoogroups@... wrote:
>>
>> From: "gheorghe_gheorghiu"
>> <grig.at.gheorghiu.net@...>
>> To: "fitnesse@yahoogroups.com"
>> <fitnesse.at.yahoogroups.com@...>
>> Sent: Friday, February 03, 2006 12:55 PM
>> Subject: [fitnesse] Problems running PyFIT in command
> line/TestRunner mode
>>
>>
>> > I'm trying to integrate my FitNesse tests in my smoke tests and I'm
>> > having trouble running my test suite from the command line. I'm using
>> > PyFIT and it's working well from the Wiki, but I get "Could not find
>> > fixture" error messages from the command line.
>> >
>> > Here are the variables I define in my suite Wiki page:
>> > !define COMMAND_PATTERN {python %m %p}
>> > !define TEST_RUNNER
>> > {/usr/local/lib/python2.4/site-packages/fit/FitServer.py}
>> > !path /home/ggheo/proj/tests
>> >
>> > Here's how I try to run TestRunner from the command line, in the
>> > fitnesse installation directory:
>> >
>> > $ java -cp fitnesse.jar fitnesse.runner.TestRunner localhost 8081
>> > MosAcceptanceTests
>> >
>> > Any ideas/suggestions appreciated.
>>
>> You need to run the Python version of TestRunner. See
>> the Runners page in the documentation for how to do it.
>>
>> John Roth
>> Python FIT
>>
>
> John,
>
> Thanks for the fast reply. I looked at the Runners documentation page
> and my best guess was that I need to run FileRunner.py. Am I right?
> However, in looking at that module, it expects an HTML file as the
> input. I saved my Wiki Suite page as html and passed it to FileRunner,
> but I got this error:
>
> $ python /usr/local/lib/python2.4/site-packages/fit/FileRunner.py
> MosAcceptanceTests.html out.txt
> template: 'Fixture '%s' not found' args: '('FixtureNotFound',
> '^MailboxSearchTests')'
> 0 right, 0 wrong, 0 ignored, 1 exceptions
>
> I'm sure I'm doing something wrong. I wish the documentation gave a
> few specific examples on how to achieve this...I promise to post a
> blog entry as soon as I get this done :-)
>
> Thanks for your help,
>
> Grig
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>

#5121 From: "gheorghe_gheorghiu" <grig@...>
Date: Fri Feb 3, 2006 9:46 pm
Subject: Re: Problems running PyFIT in command line/TestRunner mode
gheorghe_ghe...
Send Email Send Email
 
I see...it's in PyFIT 0.7a1. I was running 0.6a1. I'll try upgrading.

Thanks,

Grig

--- In fitnesse@yahoogroups.com, yahoogroups@... wrote:
>
> You need to run TestRunner.py. It's all the way toward the
> bottom of the documentation under FitNesse. Kind of easy
> to miss.
>
> FileRunner.py is the batch mode runner.
>
> John Roth
> Python FIT
>
> ----- Original Message -----
> From: "gheorghe_gheorghiu"
> <grig.at.gheorghiu.net@...>
> To: "fitnesse@yahoogroups.com"
> <fitnesse.at.yahoogroups.com@...>
> Sent: Friday, February 03, 2006 2:20 PM
> Subject: [fitnesse] Re: Problems running PyFIT in command
line/TestRunner
> mode
>
>
> > --- In fitnesse@yahoogroups.com, yahoogroups@ wrote:
> >>
> >> From: "gheorghe_gheorghiu"
> >> <grig.at.gheorghiu.net@>
> >> To: "fitnesse@yahoogroups.com"
> >> <fitnesse.at.yahoogroups.com@>
> >> Sent: Friday, February 03, 2006 12:55 PM
> >> Subject: [fitnesse] Problems running PyFIT in command
> > line/TestRunner mode
> >>
> >>
> >> > I'm trying to integrate my FitNesse tests in my smoke tests and I'm
> >> > having trouble running my test suite from the command line. I'm
using
> >> > PyFIT and it's working well from the Wiki, but I get "Could not
find
> >> > fixture" error messages from the command line.
> >> >
> >> > Here are the variables I define in my suite Wiki page:
> >> > !define COMMAND_PATTERN {python %m %p}
> >> > !define TEST_RUNNER
> >> > {/usr/local/lib/python2.4/site-packages/fit/FitServer.py}
> >> > !path /home/ggheo/proj/tests
> >> >
> >> > Here's how I try to run TestRunner from the command line, in the
> >> > fitnesse installation directory:
> >> >
> >> > $ java -cp fitnesse.jar fitnesse.runner.TestRunner localhost 8081
> >> > MosAcceptanceTests
> >> >
> >> > Any ideas/suggestions appreciated.
> >>
> >> You need to run the Python version of TestRunner. See
> >> the Runners page in the documentation for how to do it.
> >>
> >> John Roth
> >> Python FIT
> >>
> >
> > John,
> >
> > Thanks for the fast reply. I looked at the Runners documentation page
> > and my best guess was that I need to run FileRunner.py. Am I right?
> > However, in looking at that module, it expects an HTML file as the
> > input. I saved my Wiki Suite page as html and passed it to FileRunner,
> > but I got this error:
> >
> > $ python /usr/local/lib/python2.4/site-packages/fit/FileRunner.py
> > MosAcceptanceTests.html out.txt
> > template: 'Fixture '%s' not found' args: '('FixtureNotFound',
> > '^MailboxSearchTests')'
> > 0 right, 0 wrong, 0 ignored, 1 exceptions
> >
> > I'm sure I'm doing something wrong. I wish the documentation gave a
> > few specific examples on how to achieve this...I promise to post a
> > blog entry as soon as I get this done :-)
> >
> > Thanks for your help,
> >
> > Grig
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
>

#5122 From: yahoogroups@...
Date: Fri Feb 3, 2006 10:44 pm
Subject: Re: Re: Problems running PyFIT in command line/TestRunner mode
jhrothjr
Send Email Send Email
 
You might want 0.8a1. That's in the Cheese Shop.
There are examples in tests/fna.cmd and similar
scripts.

John Roth
Python FIT


----- Original Message -----
From: "gheorghe_gheorghiu"
<grig.at.gheorghiu.net@...>
To: "fitnesse@yahoogroups.com"
<fitnesse.at.yahoogroups.com@...>
Sent: Friday, February 03, 2006 2:46 PM
Subject: [fitnesse] Re: Problems running PyFIT in command line/TestRunner
mode


>I see...it's in PyFIT 0.7a1. I was running 0.6a1. I'll try upgrading.
>
> Thanks,
>
> Grig
>
> --- In fitnesse@yahoogroups.com, yahoogroups@... wrote:
>>
>> You need to run TestRunner.py. It's all the way toward the
>> bottom of the documentation under FitNesse. Kind of easy
>> to miss.
>>
>> FileRunner.py is the batch mode runner.
>>
>> John Roth
>> Python FIT
>>
>> ----- Original Message -----
>> From: "gheorghe_gheorghiu"
>> <grig.at.gheorghiu.net@...>
>> To: "fitnesse@yahoogroups.com"
>> <fitnesse.at.yahoogroups.com@...>
>> Sent: Friday, February 03, 2006 2:20 PM
>> Subject: [fitnesse] Re: Problems running PyFIT in command
> line/TestRunner
>> mode
>>
>>
>> > --- In fitnesse@yahoogroups.com, yahoogroups@ wrote:
>> >>
>> >> From: "gheorghe_gheorghiu"
>> >> <grig.at.gheorghiu.net@>
>> >> To: "fitnesse@yahoogroups.com"
>> >> <fitnesse.at.yahoogroups.com@>
>> >> Sent: Friday, February 03, 2006 12:55 PM
>> >> Subject: [fitnesse] Problems running PyFIT in command
>> > line/TestRunner mode
>> >>
>> >>
>> >> > I'm trying to integrate my FitNesse tests in my smoke tests and I'm
>> >> > having trouble running my test suite from the command line. I'm
> using
>> >> > PyFIT and it's working well from the Wiki, but I get "Could not
> find
>> >> > fixture" error messages from the command line.
>> >> >
>> >> > Here are the variables I define in my suite Wiki page:
>> >> > !define COMMAND_PATTERN {python %m %p}
>> >> > !define TEST_RUNNER
>> >> > {/usr/local/lib/python2.4/site-packages/fit/FitServer.py}
>> >> > !path /home/ggheo/proj/tests
>> >> >
>> >> > Here's how I try to run TestRunner from the command line, in the
>> >> > fitnesse installation directory:
>> >> >
>> >> > $ java -cp fitnesse.jar fitnesse.runner.TestRunner localhost 8081
>> >> > MosAcceptanceTests
>> >> >
>> >> > Any ideas/suggestions appreciated.
>> >>
>> >> You need to run the Python version of TestRunner. See
>> >> the Runners page in the documentation for how to do it.
>> >>
>> >> John Roth
>> >> Python FIT
>> >>
>> >
>> > John,
>> >
>> > Thanks for the fast reply. I looked at the Runners documentation page
>> > and my best guess was that I need to run FileRunner.py. Am I right?
>> > However, in looking at that module, it expects an HTML file as the
>> > input. I saved my Wiki Suite page as html and passed it to FileRunner,
>> > but I got this error:
>> >
>> > $ python /usr/local/lib/python2.4/site-packages/fit/FileRunner.py
>> > MosAcceptanceTests.html out.txt
>> > template: 'Fixture '%s' not found' args: '('FixtureNotFound',
>> > '^MailboxSearchTests')'
>> > 0 right, 0 wrong, 0 ignored, 1 exceptions
>> >
>> > I'm sure I'm doing something wrong. I wish the documentation gave a
>> > few specific examples on how to achieve this...I promise to post a
>> > blog entry as soon as I get this done :-)
>> >
>> > Thanks for your help,
>> >
>> > Grig
>> >
>> >
>> >
>> >
>> >
>> >
>> > Yahoo! Groups Links
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>

#5123 From: Grig Gheorghiu <grig@...>
Date: Sat Feb 4, 2006 12:29 am
Subject: Re: Re: Problems running PyFIT in command line/TestRunner mode
gheorghe_ghe...
Send Email Send Email
 
OK, thanks. What version of fitnesse do you recommend running along
with 0.8a1?

Grig

--- yahoogroups@... wrote:


---------------------------------
You might want 0.8a1. That's in the Cheese Shop.
There are examples in tests/fna.cmd and similar
scripts.

John Roth
Python FIT


----- Original Message -----
From: "gheorghe_gheorghiu"
<grig.at.gheorghiu.net@...>
To: "fitnesse@yahoogroups.com"
<fitnesse.at.yahoogroups.com@...>
Sent: Friday, February 03, 2006 2:46 PM
Subject: [fitnesse] Re: Problems running PyFIT in command
line/TestRunner
mode


>I see...it's in PyFIT 0.7a1. I was running 0.6a1. I'll try upgrading.
>
> Thanks,
>
> Grig
>
> --- In fitnesse@yahoogroups.com, yahoogroups@... wrote:
>>
>> You need to run TestRunner.py. It's all the way toward the
>> bottom of the documentation under FitNesse. Kind of easy
>> to miss.
>>
>> FileRunner.py is the batch mode runner.
>>
>> John Roth
>> Python FIT
>>
>> ----- Original Message -----
>> From: "gheorghe_gheorghiu"
>> <grig.at.gheorghiu.net@...>
>> To: "fitnesse@yahoogroups.com"
>> <fitnesse.at.yahoogroups.com@...>
>> Sent: Friday, February 03, 2006 2:20 PM
>> Subject: [fitnesse] Re: Problems running PyFIT in command
> line/TestRunner
>> mode
>>
>>
>> > --- In fitnesse@yahoogroups.com, yahoogroups@ wrote:
>> >>
>> >> From: "gheorghe_gheorghiu"
>> >> <grig.at.gheorghiu.net@>
>> >> To: "fitnesse@yahoogroups.com"
>> >> <fitnesse.at.yahoogroups.com@>
>> >> Sent: Friday, February 03, 2006 12:55 PM
>> >> Subject: [fitnesse] Problems running PyFIT in command
>> > line/TestRunner mode
>> >>
>> >>
>> >> > I'm trying to integrate my FitNesse tests in my smoke tests and
I'm
>> >> > having trouble running my test suite from the command line. I'm
> using
>> >> > PyFIT and it's working well from the Wiki, but I get "Could not
> find
>> >> > fixture" error messages from the command line.
>> >> >
>> >> > Here are the variables I define in my suite Wiki page:
>> >> > !define COMMAND_PATTERN {python %m %p}
>> >> > !define TEST_RUNNER
>> >> > {/usr/local/lib/python2.4/site-packages/fit/FitServer.py}
>> >> > !path /home/ggheo/proj/tests
>> >> >
>> >> > Here's how I try to run TestRunner from the command line, in
the
>> >> > fitnesse installation directory:
>> >> >
>> >> > $ java -cp fitnesse.jar fitnesse.runner.TestRunner localhost
8081
>> >> > MosAcceptanceTests
>> >> >
>> >> > Any ideas/suggestions appreciated.
>> >>
>> >> You need to run the Python version of TestRunner. See
>> >> the Runners page in the documentation for how to do it.
>> >>
>> >> John Roth
>> >> Python FIT
>> >>
>> >
>> > John,
>> >
>> > Thanks for the fast reply. I looked at the Runners documentation
page
>> > and my best guess was that I need to run FileRunner.py. Am I
right?
>> > However, in looking at that module, it expects an HTML file as the
>> > input. I saved my Wiki Suite page as html and passed it to
FileRunner,
>> > but I got this error:
>> >
>> > $ python /usr/local/lib/python2.4/site-packages/fit/FileRunner.py
>> > MosAcceptanceTests.html out.txt
>> > template: 'Fixture '%s' not found' args: '('FixtureNotFound',
>> > '^MailboxSearchTests')'
>> > 0 right, 0 wrong, 0 ignored, 1 exceptions
>> >
>> > I'm sure I'm doing something wrong. I wish the documentation gave
a
>> > few specific examples on how to achieve this...I promise to post a
>> > blog entry as soon as I get this done :-)
>> >
>> > Thanks for your help,
>> >
>> > Grig
>> >
>> >
>> >
>> >
>> >
>> >
>> > Yahoo! Groups Links
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>



       SPONSORED LINKS
                                                 Offshore software
development                                    Development outsourcing
software                                    Software development
company
Outsource software development
Software development                                    Software
product development


---------------------------------
   YAHOO! GROUPS LINKS


     Visit your group "fitnesse" on the web.

     To unsubscribe from this group, send an email to:
  fitnesse-unsubscribe@yahoogroups.com

     Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.


---------------------------------

#5124 From: yahoogroups@...
Date: Sat Feb 4, 2006 1:33 am
Subject: Re: Re: Problems running PyFIT in command line/TestRunner mode
jhrothjr
Send Email Send Email
 
From: "Grig Gheorghiu" <grig.at.gheorghiu.net@...>
To: "fitnesse@yahoogroups.com"
<fitnesse.at.yahoogroups.com@...>
Sent: Friday, February 03, 2006 5:29 PM
Subject: Re: [fitnesse] Re: Problems running PyFIT in command
line/TestRunner mode


> OK, thanks. What version of fitnesse do you recommend running along
> with 0.8a1?

It shouldn't matter - the one I've been testing with has a file date of
3/2/2005.
I do seem to be quite a bit backlevel!
Whatever you're using now should work fine.

John Roth
Python FIT
>
> Grig
>
> --- yahoogroups@... wrote:
>
>
> ---------------------------------
> You might want 0.8a1. That's in the Cheese Shop.
> There are examples in tests/fna.cmd and similar
> scripts.
>
> John Roth
> Python FIT
>
>
> ----- Original Message -----
> From: "gheorghe_gheorghiu"
> <grig.at.gheorghiu.net@...>
> To: "fitnesse@yahoogroups.com"
> <fitnesse.at.yahoogroups.com@...>
> Sent: Friday, February 03, 2006 2:46 PM
> Subject: [fitnesse] Re: Problems running PyFIT in command
> line/TestRunner
> mode
>
>
>>I see...it's in PyFIT 0.7a1. I was running 0.6a1. I'll try upgrading.
>>
>> Thanks,
>>
>> Grig
>>
>> --- In fitnesse@yahoogroups.com, yahoogroups@... wrote:
>>>
>>> You need to run TestRunner.py. It's all the way toward the
>>> bottom of the documentation under FitNesse. Kind of easy
>>> to miss.
>>>
>>> FileRunner.py is the batch mode runner.
>>>
>>> John Roth
>>> Python FIT
>>>
>>> ----- Original Message -----
>>> From: "gheorghe_gheorghiu"
>>> <grig.at.gheorghiu.net@...>
>>> To: "fitnesse@yahoogroups.com"
>>> <fitnesse.at.yahoogroups.com@...>
>>> Sent: Friday, February 03, 2006 2:20 PM
>>> Subject: [fitnesse] Re: Problems running PyFIT in command
>> line/TestRunner
>>> mode
>>>
>>>
>>> > --- In fitnesse@yahoogroups.com, yahoogroups@ wrote:
>>> >>
>>> >> From: "gheorghe_gheorghiu"
>>> >> <grig.at.gheorghiu.net@>
>>> >> To: "fitnesse@yahoogroups.com"
>>> >> <fitnesse.at.yahoogroups.com@>
>>> >> Sent: Friday, February 03, 2006 12:55 PM
>>> >> Subject: [fitnesse] Problems running PyFIT in command
>>> > line/TestRunner mode
>>> >>
>>> >>
>>> >> > I'm trying to integrate my FitNesse tests in my smoke tests and
> I'm
>>> >> > having trouble running my test suite from the command line. I'm
>> using
>>> >> > PyFIT and it's working well from the Wiki, but I get "Could not
>> find
>>> >> > fixture" error messages from the command line.
>>> >> >
>>> >> > Here are the variables I define in my suite Wiki page:
>>> >> > !define COMMAND_PATTERN {python %m %p}
>>> >> > !define TEST_RUNNER
>>> >> > {/usr/local/lib/python2.4/site-packages/fit/FitServer.py}
>>> >> > !path /home/ggheo/proj/tests
>>> >> >
>>> >> > Here's how I try to run TestRunner from the command line, in
> the
>>> >> > fitnesse installation directory:
>>> >> >
>>> >> > $ java -cp fitnesse.jar fitnesse.runner.TestRunner localhost
> 8081
>>> >> > MosAcceptanceTests
>>> >> >
>>> >> > Any ideas/suggestions appreciated.
>>> >>
>>> >> You need to run the Python version of TestRunner. See
>>> >> the Runners page in the documentation for how to do it.
>>> >>
>>> >> John Roth
>>> >> Python FIT
>>> >>
>>> >
>>> > John,
>>> >
>>> > Thanks for the fast reply. I looked at the Runners documentation
> page
>>> > and my best guess was that I need to run FileRunner.py. Am I
> right?
>>> > However, in looking at that module, it expects an HTML file as the
>>> > input. I saved my Wiki Suite page as html and passed it to
> FileRunner,
>>> > but I got this error:
>>> >
>>> > $ python /usr/local/lib/python2.4/site-packages/fit/FileRunner.py
>>> > MosAcceptanceTests.html out.txt
>>> > template: 'Fixture '%s' not found' args: '('FixtureNotFound',
>>> > '^MailboxSearchTests')'
>>> > 0 right, 0 wrong, 0 ignored, 1 exceptions
>>> >
>>> > I'm sure I'm doing something wrong. I wish the documentation gave
> a
>>> > few specific examples on how to achieve this...I promise to post a
>>> > blog entry as soon as I get this done :-)
>>> >
>>> > Thanks for your help,
>>> >
>>> > Grig
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > Yahoo! Groups Links
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>>
>>
>>
>>
>>
>>
>>
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>
>
>
>      SPONSORED LINKS
>                                                Offshore software
> development                                    Development outsourcing
> software                                    Software development
> company
> Outsource software development
> Software development                                    Software
> product development
>
>
> ---------------------------------
>  YAHOO! GROUPS LINKS
>
>
>    Visit your group "fitnesse" on the web.
>
>    To unsubscribe from this group, send an email to:
> fitnesse-unsubscribe@yahoogroups.com
>
>    Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service.
>
>
> ---------------------------------
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>

#5125 From: Ashish Kumar <akumar.kgp@...>
Date: Sun Feb 5, 2006 12:40 am
Subject: Re: Total Beginner .NET Windows Application
ashish_kgp
Send Email Send Email
 
You might want to have a look at SharpRobo

On 1/30/06, Anderson, Kelly < kanderson@...> wrote:
I'm a total novice with Fit or Fitness, I sort of have an idea what they
are supposed to do, but not much more than that.

I've got a .NET Windows application written in C#. I want to test that
the menus and so forth are doing what they are supposed to do.

Where is the best place to start? Is there a tutorial? Which should I
use Fit or Fitnesse?

I've been programming for a very long time, and doing TDD with NUnit for
several months, and I like the test first aspect. I miss it terribly
when doing the GUI part, and I'm not smart enough to do the final part
with NUnit. So I really would like to get something going here so I can
get back into the comfort zone I've created for myself.

Thanks!

-Kelly





E-Mail messages may contain viruses, worms, or other malicious code. By reading the message and opening any attachments, the recipient accepts full responsibility for taking protective action against such code. Sender is not liable for any loss or damage arising from this message.

The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee(s). Access to this e-mail by anyone else is unauthorized.



YAHOO! GROUPS LINKS





#5126 From: David Chelimsky <david@...>
Date: Sun Feb 5, 2006 1:42 pm
Subject: Re: Total Beginner .NET Windows Application
dchelimsky
Send Email Send Email
 
Ashish Kumar wrote:
> You might want to have a look at SharpRobo
> <http://opensource.thoughtworks.com/projects/sharprobo.jsp>
Ashish - There's just a brief description on the page you referenced.
I'd like to get hold of it and try it out. How can I do that?

#5127 From: Ashish Kumar <akumar.kgp@...>
Date: Sun Feb 5, 2006 1:56 pm
Subject: Re: Total Beginner .NET Windows Application
ashish_kgp
Send Email Send Email
 
There's a link on the top of the page to some more details and the release. Putting that here too: http://confluence.public.thoughtworks.org/display/SHRO/Home

This had been developed to meet the needs on .Net project where we were using nFit. It might not work as is with fitnesse, as the wiki we used had a slightly different syntax, for example 2 pipes, instead of a single pipe to separate the columns.

On 2/5/06, David Chelimsky <david@...> wrote:
Ashish Kumar wrote:
> You might want to have a look at SharpRobo
> <http://opensource.thoughtworks.com/projects/sharprobo.jsp>
Ashish - There's just a brief description on the page you referenced.
I'd like to get hold of it and try it out. How can I do that?


SPONSORED LINKS
Offshore software development Development outsourcing software Software development company
Outsource software development Software development Software product development


YAHOO! GROUPS LINKS





#5128 From: Stefan Lieser <slieser@...>
Date: Sun Feb 5, 2006 1:04 pm
Subject: Re: Total Beginner .NET Windows Application
slieser
Send Email Send Email
 
Hi Kelly,

maybe you want to take a look a NUnitForms (see
http://nunitforms.sourceforge.net/).

Personally I had the same problem of how to test the GUI. The key was to
implement a model-view-presenter pattern where the Windows Form is the
view. Model and view don't know anything about the otherone. The
presenter glues them together. So if you extract an interface from the
form you can mock it (I use Rhino.Mocks for that; look at
http://www.ayende.com/projects/rhino-mocks.aspx). This way it is
possible to verify with NUnit tests that presenter and view work
together in the correct way (and if you extract the model's interface
the same holds for that part).


Sincerely,
Stefan Lieser


Anderson, Kelly schrieb:
> I'm a total novice with Fit or Fitness, I sort of have an idea what they
> are supposed to do, but not much more than that.
>
> I've got a .NET Windows application written in C#. I want to test that
> the menus and so forth are doing what they are supposed to do.
>
> Where is the best place to start? Is there a tutorial? Which should I
> use Fit or Fitnesse?
>
> I've been programming for a very long time, and doing TDD with NUnit for
> several months, and I like the test first aspect. I miss it terribly
> when doing the GUI part, and I'm not smart enough to do the final part
> with NUnit. So I really would like to get something going here so I can
> get back into the comfort zone I've created for myself.
>
> Thanks!
>
> -Kelly
>
>
>
>
>
> E-Mail messages may contain viruses, worms, or other malicious code. By
> reading the message and opening any attachments, the recipient accepts
> full responsibility for taking protective action against such code.
> Sender is not liable for any loss or damage arising from this message.
>
> The information in this e-mail is confidential and may be legally
> privileged. It is intended solely for the addressee(s). Access to this
> e-mail by anyone else is unauthorized.
>
>
> ------------------------------------------------------------------------
> YAHOO! GROUPS LINKS
>
>     *  Visit your group "fitnesse
>       <http://groups.yahoo.com/group/fitnesse>" on the web.
>
>     *  To unsubscribe from this group, send an email to:
>        fitnesse-unsubscribe@yahoogroups.com
>       <mailto:fitnesse-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>
>     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------------------------------------------------
>

#5129 From: "Cory Foy" <usergroup@...>
Date: Mon Feb 6, 2006 3:11 am
Subject: Re: ColumnFixture / methods
cory_foy
Send Email Send Email
 
--- In fitnesse@yahoogroups.com, "Cory Foy" <usergroup@...> wrote:
> My question now is, does this belong over on the FIT list with Rick,
> or can someone here tell me if this is viable (maybe Micah?)?

I'm just curious if anyone is receiving these emails. I'd love to be
able to help contribute to Fitnesse, but it is difficult to do that
when no one replies back.

If I'm in the wrong group to be posting questions like these, or if
there is a different protocol to be followed, please let me know.

Cory

#5130 From: yahoogroups@...
Date: Mon Feb 6, 2006 4:30 am
Subject: Re: Re: ColumnFixture / methods
jhrothjr
Send Email Send Email
 
From: "Cory Foy" <usergroup.at.cornetdesign.com@...>
To: "fitnesse@yahoogroups.com"
<fitnesse.at.yahoogroups.com@...>
Sent: Sunday, February 05, 2006 8:11 PM
Subject: [fitnesse] Re: ColumnFixture / methods


> --- In fitnesse@yahoogroups.com, "Cory Foy" <usergroup@...> wrote:
>> My question now is, does this belong over on the FIT list with Rick,
>> or can someone here tell me if this is viable (maybe Micah?)?
>
> I'm just curious if anyone is receiving these emails. I'd love to be
> able to help contribute to Fitnesse, but it is difficult to do that
> when no one replies back.
>
> If I'm in the wrong group to be posting questions like these, or if
> there is a different protocol to be followed, please let me know.
>
> Cory

This is a FitNesse Java FIT issue, so Micah Martin is the
one to respond. It's not a FitLibrary issue, so Rick is not
involved (unless, of course, he wants to be.)

From a developer's viewpoint, whether a version of FIT allows
methods for given columns in ColumnFixture and derivatives
is part of the API that it exposes to fixture writers, and that
is not part of the FIT specification.

Python FIT allows methods, fields and properties for both
given and result fields across the board. My experiance
shows that there are a few fairly subtle gotchas in doing
this, as well as at least one substantial benefit.

If I was considering it as a new feature today, rather than
when I implemented it two years ago as the "obviously right
way to do it", I'm not sure I'd put it in. Most of the benefits
can be had by using application specific value objects rather
than fundamental language types. Using application specific
value objects moves the check into the application and
removes the code duplication inherent in having the edit
check in two (or more) places.


John Roth
Python FIT

#5131 From: "Stephan Wiesner" <stephan.wiesner@...>
Date: Mon Feb 6, 2006 6:45 am
Subject: AW: Fitnesse within a J2EE container
stephanwiesner
Send Email Send Email
 
That would be real nice. We already have several Tomcats running and we could
use the security mechanisms, stop-start and all the other goodies of Tomcat.

Stephan

> -----Ursprüngliche Nachricht-----
> Von: dave55_fr [mailto:dave55_fr@...]
> Gesendet: Freitag, 3. Februar 2006 09:38
> An: fitnesse@yahoogroups.com
> Betreff: [fitnesse] Fitnesse within a J2EE container
>
>
> Hello,
>
>
>
> I would not want to use the default web server provided by Fitnesse by
> default.
>
> I would like to know if it is possible to use Fitnesse within a J2EE
> container. If it is possible what is the procedure ?
>
>
> Thanks in advance.
>
> David MAGNY
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>

#5132 From: mugdha dhepe <mugdha_dhepe@...>
Date: Mon Feb 6, 2006 6:03 am
Subject: Re: Re: ColumnFixture / methods
mugdha_dhepe
Send Email Send Email
 
Hi,
   i m doing the work on Fitnesse. but i m getting confused. Will you please help me on writing the acceptance tests.

Cory Foy <usergroup@...> wrote:
--- In fitnesse@yahoogroups.com, "Cory Foy" <usergroup@...> wrote:
> My question now is, does this belong over on the FIT list with Rick,
> or can someone here tell me if this is viable (maybe Micah?)?

I'm just curious if anyone is receiving these emails. I'd love to be
able to help contribute to Fitnesse, but it is difficult to do that
when no one replies back.

If I'm in the wrong group to be posting questions like these, or if
there is a different protocol to be followed, please let me know.

Cory





Jiyo cricket on Yahoo! India cricket

#5133 From: Cory Foy <usergroup@...>
Date: Mon Feb 6, 2006 1:30 pm
Subject: Re: Re: ColumnFixture / methods
cory_foy
Send Email Send Email
 
yahoogroups@... wrote:
> If I was considering it as a new feature today, rather than
> when I implemented it two years ago as the "obviously right
> way to do it", I'm not sure I'd put it in. Most of the benefits
> can be had by using application specific value objects rather
> than fundamental language types. Using application specific
> value objects moves the check into the application and
> removes the code duplication inherent in having the edit
> check in two (or more) places.

Thanks John. That's really all I was looking for - to see if it was
worthwhile to have, and who would be the one to make that call. Since it
went out to the right list, the offer still stands for Java Fit - if you
all want it it's yours.

Thanks!

Cory

#5134 From: ras chari <rajkumarchari824@...>
Date: Mon Feb 6, 2006 1:40 pm
Subject: Re: AW: Fitnesse within a J2EE container
rajkumarchar...
Send Email Send Email
 
Hi all
 
I got some info for running  fitnnese inside a tomcat web container  in the below specifed URL. Itried it , and i ended with some exception. i have raised a query to the weblog 's owner and am waiting for his reply.
 
Naresh Jain's Weblog
http://jroller.com/page/njain?entry=running_fitnesse_inside_the_container
 
you people can just give a try and if it works fine for you please share it .
 
 
Thanks
Rajkumar
 


Stephan Wiesner <stephan.wiesner@...> wrote:
That would be real nice. We already have several Tomcats running and we could use the security mechanisms, stop-start and all the other goodies of Tomcat.

Stephan

> -----Ursprüngliche Nachricht-----
> Von: dave55_fr [mailto:dave55_fr@...]
> Gesendet: Freitag, 3. Februar 2006 09:38
> An: fitnesse@yahoogroups.com
> Betreff: [fitnesse] Fitnesse within a J2EE container
>
>
> Hello,
>
>
>
> I would not want to use the default web server provided by Fitnesse by
> default.
>
> I would like to know if it is possible to use Fitnesse within a J2EE
> container. If it is possible what is the procedure ?
>
>
> Thanks in advance.
>
> David MAGNY
>
>
>
>
>

> Yahoo! Groups Links
>
>
>

>
>
>
>


Yahoo! Mail - Helps protect you from nasty viruses.

#5135 From: Grig Gheorghiu <grig@...>
Date: Mon Feb 6, 2006 6:57 pm
Subject: Type adapters in PyFit 0.8a1
gheorghe_ghe...
Send Email Send Email
 
John,

I'm experimenting with PyFit 0.8a1 and I'm running into an issue with
type adapters. It looks like PyFit expects all the names in _typeDict
to be camel case. I tend to use undescores in names, and this caused
all my fixtures (that used to work with 0.6a1) to fail with:

remove_test_database?
Metadata for 'removeTestDatabase' not found in class 'TearDown'

When I renamed remote_test_database to removeTestDatabase, things
started to work again.

Is there any way to override this default behavior and choose whatever
name convention I want for my table columns?

Grig

#5136 From: yahoogroups@...
Date: Mon Feb 6, 2006 8:09 pm
Subject: Re: Type adapters in PyFit 0.8a1
jhrothjr
Send Email Send Email
 
That sounds like a bug; I certainly didn't
deliberately intend to disallow underscores.
It probably crept in when I rewrote camel
(and GracefulNames) several times between
0.6 and 0.8.

I'll fix it in the next release. Until then you can
patch around either line 82 for camel or line
109 for GracefulNames in Variations.py.

John Roth
Python FIT



----- Original Message -----
From: "Grig Gheorghiu" <grig.at.gheorghiu.net@...>
To: "fitnesse@yahoogroups.com"
<fitnesse.at.yahoogroups.com@...>
Sent: Monday, February 06, 2006 11:57 AM
Subject: [fitnesse] Type adapters in PyFit 0.8a1


> John,
>
> I'm experimenting with PyFit 0.8a1 and I'm running into an issue with
> type adapters. It looks like PyFit expects all the names in _typeDict
> to be camel case. I tend to use undescores in names, and this caused
> all my fixtures (that used to work with 0.6a1) to fail with:
>
> remove_test_database?
> Metadata for 'removeTestDatabase' not found in class 'TearDown'
>
> When I renamed remote_test_database to removeTestDatabase, things
> started to work again.
>
> Is there any way to override this default behavior and choose whatever
> name convention I want for my table columns?
>
> Grig
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>

#5137 From: Grig Gheorghiu <grig@...>
Date: Mon Feb 6, 2006 9:53 pm
Subject: Re: Re: Problems running PyFIT in command line/TestRunner mode
gheorghe_ghe...
Send Email Send Email
 
OK, I got the TestRunner to run with PyFIT 0.8a1. However, the results
it reports are different from what the FitServer reports when run via
the FitNesse Wiki.

I have a test suite with 2 tests. I manually introduced an error in
each of my tests, and when I run the suite via FitNesse/FitServer I
get:

97 right, 2 wrong, 0 ignored, 0 exceptions  LocalMailboxBrowseTests
71 right, 1 wrong, 0 ignored, 0 exceptions MailboxSearchTests

Now when I run the suite via the TestRunner, I get the stats for the
second test only:

$ python /usr/local/bin/TestRunner.py +f localhost 8081
MosAcceptanceTests > a.out
validating connection...
...ok
Test Pages: 0 right, 1 wrong, 0 ignored, 0 exceptions
Assertions: 71 right, 1 wrong, 0 ignored, 0 exceptions


(a.out will contain the HTML output in this case; note that the +f flag
doesn't seem to make any difference, although it's supposed to return
the output as formatted by FitNesse)

When I run each of my 2 test pages by itself via the TestRunner, it
reports 0 of everything:

$ python /usr/local/bin/TestRunner.py +f localhost 8081
MosAcceptanceTests.LocalMailboxBrowseTests > a.out
validating connection...
...ok
Test Pages: 0 right, 0 wrong, 0 ignored, 0 exceptions
Assertions: 0 right, 0 wrong, 0 ignored, 0 exceptions

$ python /usr/local/bin/TestRunner.py +f localhost 8081
MosAcceptanceTests.MailboxSearchTests > a.out
validating connection...
...ok
Test Pages: 0 right, 0 wrong, 0 ignored, 0 exceptions
Assertions: 0 right, 0 wrong, 0 ignored, 0 exceptions


Any ideas? Am I doing something fundamentally wrong?

Grig

--- yahoogroups@... wrote:


---------------------------------
From: "Grig Gheorghiu"
<grig.at.gheorghiu.net@...>
To: "fitnesse@yahoogroups.com"
<fitnesse.at.yahoogroups.com@...>
Sent: Friday, February 03, 2006 5:29 PM
Subject: Re: [fitnesse] Re: Problems running PyFIT in command
line/TestRunner mode


> OK, thanks. What version of fitnesse do you recommend running along
> with 0.8a1?

It shouldn't matter - the one I've been testing with has a file date of

3/2/2005.
I do seem to be quite a bit backlevel!
Whatever you're using now should work fine.

John Roth
Python FIT
>
> Grig
>
> --- yahoogroups@... wrote:
>
>
> ---------------------------------
> You might want 0.8a1. That's in the Cheese Shop.
> There are examples in tests/fna.cmd and similar
> scripts.
>
> John Roth
> Python FIT
>
>
> ----- Original Message -----
> From: "gheorghe_gheorghiu"
> <grig.at.gheorghiu.net@...>
> To: "fitnesse@yahoogroups.com"
> <fitnesse.at.yahoogroups.com@...>
> Sent: Friday, February 03, 2006 2:46 PM
> Subject: [fitnesse] Re: Problems running PyFIT in command
> line/TestRunner
> mode
>
>
>>I see...it's in PyFIT 0.7a1. I was running 0.6a1. I'll try upgrading.
>>
>> Thanks,
>>
>> Grig
>>
>> --- In fitnesse@yahoogroups.com, yahoogroups@... wrote:
>>>
>>> You need to run TestRunner.py. It's all the way toward the
>>> bottom of the documentation under FitNesse. Kind of easy
>>> to miss.
>>>
>>> FileRunner.py is the batch mode runner.
>>>
>>> John Roth
>>> Python FIT
>>>
>>> ----- Original Message -----
>>> From: "gheorghe_gheorghiu"
>>> <grig.at.gheorghiu.net@...>
>>> To: "fitnesse@yahoogroups.com"
>>> <fitnesse.at.yahoogroups.com@...>
>>> Sent: Friday, February 03, 2006 2:20 PM
>>> Subject: [fitnesse] Re: Problems running PyFIT in command
>> line/TestRunner
>>> mode
>>>
>>>
>>> > --- In fitnesse@yahoogroups.com, yahoogroups@ wrote:
>>> >>
>>> >> From: "gheorghe_gheorghiu"
>>> >> <grig.at.gheorghiu.net@>
>>> >> To: "fitnesse@yahoogroups.com"
>>> >> <fitnesse.at.yahoogroups.com@>
>>> >> Sent: Friday, February 03, 2006 12:55 PM
>>> >> Subject: [fitnesse] Problems running PyFIT in command
>>> > line/TestRunner mode
>>> >>
>>> >>
>>> >> > I'm trying to integrate my FitNesse tests in my smoke tests
and
> I'm
>>> >> > having trouble running my test suite from the command line.
I'm
>> using
>>> >> > PyFIT and it's working well from the Wiki, but I get "Could
not
>> find
>>> >> > fixture" error messages from the command line.
>>> >> >
>>> >> > Here are the variables I define in my suite Wiki page:
>>> >> > !define COMMAND_PATTERN {python %m %p}
>>> >> > !define TEST_RUNNER
>>> >> > {/usr/local/lib/python2.4/site-packages/fit/FitServer.py}
>>> >> > !path /home/ggheo/proj/tests
>>> >> >
>>> >> > Here's how I try to run TestRunner from the command line, in
> the
>>> >> > fitnesse installation directory:
>>> >> >
>>> >> > $ java -cp fitnesse.jar fitnesse.runner.TestRunner localhost
> 8081
>>> >> > MosAcceptanceTests
>>> >> >
>>> >> > Any ideas/suggestions appreciated.
>>> >>
>>> >> You need to run the Python version of TestRunner. See
>>> >> the Runners page in the documentation for how to do it.
>>> >>
>>> >> John Roth
>>> >> Python FIT
>>> >>
>>> >
>>> > John,
>>> >
>>> > Thanks for the fast reply. I looked at the Runners documentation
> page
>>> > and my best guess was that I need to run FileRunner.py. Am I
> right?
>>> > However, in looking at that module, it expects an HTML file as
the
>>> > input. I saved my Wiki Suite page as html and passed it to
> FileRunner,
>>> > but I got this error:
>>> >
>>> > $ python /usr/local/lib/python2.4/site-packages/fit/FileRunner.py
>>> > MosAcceptanceTests.html out.txt
>>> > template: 'Fixture '%s' not found' args: '('FixtureNotFound',
>>> > '^MailboxSearchTests')'
>>> > 0 right, 0 wrong, 0 ignored, 1 exceptions
>>> >
>>> > I'm sure I'm doing something wrong. I wish the documentation gave
> a
>>> > few specific examples on how to achieve this...I promise to post
a
>>> > blog entry as soon as I get this done :-)
>>> >
>>> > Thanks for your help,
>>> >
>>> > Grig
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > Yahoo! Groups Links
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>>
>>
>>
>>
>>
>>
>>
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>
>
>
>      SPONSORED LINKS
>                                                Offshore software
> development                                    Development
outsourcing
> software                                    Software development
> company
> Outsource software development
> Software development                                    Software
> product development
>
>
> ---------------------------------
>  YAHOO! GROUPS LINKS
>
>
>    Visit your group "fitnesse" on the web.
>
>    To unsubscribe from this group, send an email to:
> fitnesse-unsubscribe@yahoogroups.com
>
>    Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service.
>
>
> ---------------------------------
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>



       SPONSORED LINKS
                                                 Offshore software
development                                    Development outsourcing
software                                    Software development
company
Outsource software development
Software development                                    Software
product development


---------------------------------
   YAHOO! GROUPS LINKS


     Visit your group "fitnesse" on the web.

     To unsubscribe from this group, send an email to:
  fitnesse-unsubscribe@yahoogroups.com

     Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.


---------------------------------

#5138 From: yahoogroups@...
Date: Mon Feb 6, 2006 10:14 pm
Subject: Re: Re: Problems running PyFIT in command line/TestRunner mode
jhrothjr
Send Email Send Email
 
What you're doing ought to work; I'm not sure why it doesn't.
I'm going to have to look at it because my tests seem to be
working.

John Roth
Python FIT.

----- Original Message -----
From: "Grig Gheorghiu" <grig.at.gheorghiu.net@...>
To: "fitnesse@yahoogroups.com"
<fitnesse.at.yahoogroups.com@...>
Sent: Monday, February 06, 2006 2:53 PM
Subject: Re: [fitnesse] Re: Problems running PyFIT in command
line/TestRunner mode


> OK, I got the TestRunner to run with PyFIT 0.8a1. However, the results
> it reports are different from what the FitServer reports when run via
> the FitNesse Wiki.
>
> I have a test suite with 2 tests. I manually introduced an error in
> each of my tests, and when I run the suite via FitNesse/FitServer I
> get:
>
> 97 right, 2 wrong, 0 ignored, 0 exceptions  LocalMailboxBrowseTests
> 71 right, 1 wrong, 0 ignored, 0 exceptions MailboxSearchTests
>
> Now when I run the suite via the TestRunner, I get the stats for the
> second test only:
>
> $ python /usr/local/bin/TestRunner.py +f localhost 8081
> MosAcceptanceTests > a.out
> validating connection...
> ...ok
> Test Pages: 0 right, 1 wrong, 0 ignored, 0 exceptions
> Assertions: 71 right, 1 wrong, 0 ignored, 0 exceptions
>
>
> (a.out will contain the HTML output in this case; note that the +f flag
> doesn't seem to make any difference, although it's supposed to return
> the output as formatted by FitNesse)
>
> When I run each of my 2 test pages by itself via the TestRunner, it
> reports 0 of everything:
>
> $ python /usr/local/bin/TestRunner.py +f localhost 8081
> MosAcceptanceTests.LocalMailboxBrowseTests > a.out
> validating connection...
> ...ok
> Test Pages: 0 right, 0 wrong, 0 ignored, 0 exceptions
> Assertions: 0 right, 0 wrong, 0 ignored, 0 exceptions
>
> $ python /usr/local/bin/TestRunner.py +f localhost 8081
> MosAcceptanceTests.MailboxSearchTests > a.out
> validating connection...
> ...ok
> Test Pages: 0 right, 0 wrong, 0 ignored, 0 exceptions
> Assertions: 0 right, 0 wrong, 0 ignored, 0 exceptions
>
>
> Any ideas? Am I doing something fundamentally wrong?
>
> Grig
>
> --- yahoogroups@... wrote:
>
>
> ---------------------------------
> From: "Grig Gheorghiu"
> <grig.at.gheorghiu.net@...>
> To: "fitnesse@yahoogroups.com"
> <fitnesse.at.yahoogroups.com@...>
> Sent: Friday, February 03, 2006 5:29 PM
> Subject: Re: [fitnesse] Re: Problems running PyFIT in command
> line/TestRunner mode
>
>
>> OK, thanks. What version of fitnesse do you recommend running along
>> with 0.8a1?
>
> It shouldn't matter - the one I've been testing with has a file date of
>
> 3/2/2005.
> I do seem to be quite a bit backlevel!
> Whatever you're using now should work fine.
>
> John Roth
> Python FIT
>>
>> Grig
>>
>> --- yahoogroups@... wrote:
>>
>>
>> ---------------------------------
>> You might want 0.8a1. That's in the Cheese Shop.
>> There are examples in tests/fna.cmd and similar
>> scripts.
>>
>> John Roth
>> Python FIT
>>
>>
>> ----- Original Message -----
>> From: "gheorghe_gheorghiu"
>> <grig.at.gheorghiu.net@...>
>> To: "fitnesse@yahoogroups.com"
>> <fitnesse.at.yahoogroups.com@...>
>> Sent: Friday, February 03, 2006 2:46 PM
>> Subject: [fitnesse] Re: Problems running PyFIT in command
>> line/TestRunner
>> mode
>>
>>
>>>I see...it's in PyFIT 0.7a1. I was running 0.6a1. I'll try upgrading.
>>>
>>> Thanks,
>>>
>>> Grig
>>>
>>> --- In fitnesse@yahoogroups.com, yahoogroups@... wrote:
>>>>
>>>> You need to run TestRunner.py. It's all the way toward the
>>>> bottom of the documentation under FitNesse. Kind of easy
>>>> to miss.
>>>>
>>>> FileRunner.py is the batch mode runner.
>>>>
>>>> John Roth
>>>> Python FIT
>>>>
>>>> ----- Original Message -----
>>>> From: "gheorghe_gheorghiu"
>>>> <grig.at.gheorghiu.net@...>
>>>> To: "fitnesse@yahoogroups.com"
>>>> <fitnesse.at.yahoogroups.com@...>
>>>> Sent: Friday, February 03, 2006 2:20 PM
>>>> Subject: [fitnesse] Re: Problems running PyFIT in command
>>> line/TestRunner
>>>> mode
>>>>
>>>>
>>>> > --- In fitnesse@yahoogroups.com, yahoogroups@ wrote:
>>>> >>
>>>> >> From: "gheorghe_gheorghiu"
>>>> >> <grig.at.gheorghiu.net@>
>>>> >> To: "fitnesse@yahoogroups.com"
>>>> >> <fitnesse.at.yahoogroups.com@>
>>>> >> Sent: Friday, February 03, 2006 12:55 PM
>>>> >> Subject: [fitnesse] Problems running PyFIT in command
>>>> > line/TestRunner mode
>>>> >>
>>>> >>
>>>> >> > I'm trying to integrate my FitNesse tests in my smoke tests
> and
>> I'm
>>>> >> > having trouble running my test suite from the command line.
> I'm
>>> using
>>>> >> > PyFIT and it's working well from the Wiki, but I get "Could
> not
>>> find
>>>> >> > fixture" error messages from the command line.
>>>> >> >
>>>> >> > Here are the variables I define in my suite Wiki page:
>>>> >> > !define COMMAND_PATTERN {python %m %p}
>>>> >> > !define TEST_RUNNER
>>>> >> > {/usr/local/lib/python2.4/site-packages/fit/FitServer.py}
>>>> >> > !path /home/ggheo/proj/tests
>>>> >> >
>>>> >> > Here's how I try to run TestRunner from the command line, in
>> the
>>>> >> > fitnesse installation directory:
>>>> >> >
>>>> >> > $ java -cp fitnesse.jar fitnesse.runner.TestRunner localhost
>> 8081
>>>> >> > MosAcceptanceTests
>>>> >> >
>>>> >> > Any ideas/suggestions appreciated.
>>>> >>
>>>> >> You need to run the Python version of TestRunner. See
>>>> >> the Runners page in the documentation for how to do it.
>>>> >>
>>>> >> John Roth
>>>> >> Python FIT
>>>> >>
>>>> >
>>>> > John,
>>>> >
>>>> > Thanks for the fast reply. I looked at the Runners documentation
>> page
>>>> > and my best guess was that I need to run FileRunner.py. Am I
>> right?
>>>> > However, in looking at that module, it expects an HTML file as
> the
>>>> > input. I saved my Wiki Suite page as html and passed it to
>> FileRunner,
>>>> > but I got this error:
>>>> >
>>>> > $ python /usr/local/lib/python2.4/site-packages/fit/FileRunner.py
>>>> > MosAcceptanceTests.html out.txt
>>>> > template: 'Fixture '%s' not found' args: '('FixtureNotFound',
>>>> > '^MailboxSearchTests')'
>>>> > 0 right, 0 wrong, 0 ignored, 1 exceptions
>>>> >
>>>> > I'm sure I'm doing something wrong. I wish the documentation gave
>> a
>>>> > few specific examples on how to achieve this...I promise to post
> a
>>>> > blog entry as soon as I get this done :-)
>>>> >
>>>> > Thanks for your help,
>>>> >
>>>> > Grig
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > Yahoo! Groups Links
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>      SPONSORED LINKS
>>                                                Offshore software
>> development                                    Development
> outsourcing
>> software                                    Software development
>> company
>> Outsource software development
>> Software development                                    Software
>> product development
>>
>>
>> ---------------------------------
>>  YAHOO! GROUPS LINKS
>>
>>
>>    Visit your group "fitnesse" on the web.
>>
>>    To unsubscribe from this group, send an email to:
>> fitnesse-unsubscribe@yahoogroups.com
>>
>>    Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>> Service.
>>
>>
>> ---------------------------------
>>
>>
>>
>>
>>
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>
>
>
>      SPONSORED LINKS
>                                                Offshore software
> development                                    Development outsourcing
> software                                    Software development
> company
> Outsource software development
> Software development                                    Software
> product development
>
>
> ---------------------------------
>  YAHOO! GROUPS LINKS
>
>
>    Visit your group "fitnesse" on the web.
>
>    To unsubscribe from this group, send an email to:
> fitnesse-unsubscribe@yahoogroups.com
>
>    Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service.
>
>
> ---------------------------------
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>

#5139 From: yahoogroups@...
Date: Mon Feb 6, 2006 10:37 pm
Subject: Re: Re: Problems running PyFIT in command line/TestRunner mode
jhrothjr
Send Email Send Email
 
I just tried my tests, and they work. Right now the problem
is probably that you're trying to put the output to stdout.
I don't support that for TestRunner (and I'm not sure I do
for the batch runners) I certainly don't have any  tests
to verify that it works, and I don't have any code to support
it either. If you're getting any output on stdout it's because
it's coming from the FitNesse formatter.

The options I use for my tests are +vfhrx +o output_directory

What level of FitNesse are you using?

HTH
John Roth
Python FIT


----- Original Message -----
From: "Grig Gheorghiu" <grig.at.gheorghiu.net@...>
To: "fitnesse@yahoogroups.com"
<fitnesse.at.yahoogroups.com@...>
Sent: Monday, February 06, 2006 2:53 PM
Subject: Re: [fitnesse] Re: Problems running PyFIT in command
line/TestRunner mode


> OK, I got the TestRunner to run with PyFIT 0.8a1. However, the results
> it reports are different from what the FitServer reports when run via
> the FitNesse Wiki.
>
> I have a test suite with 2 tests. I manually introduced an error in
> each of my tests, and when I run the suite via FitNesse/FitServer I
> get:
>
> 97 right, 2 wrong, 0 ignored, 0 exceptions  LocalMailboxBrowseTests
> 71 right, 1 wrong, 0 ignored, 0 exceptions MailboxSearchTests
>
> Now when I run the suite via the TestRunner, I get the stats for the
> second test only:
>
> $ python /usr/local/bin/TestRunner.py +f localhost 8081
> MosAcceptanceTests > a.out
> validating connection...
> ...ok
> Test Pages: 0 right, 1 wrong, 0 ignored, 0 exceptions
> Assertions: 71 right, 1 wrong, 0 ignored, 0 exceptions
>
>
> (a.out will contain the HTML output in this case; note that the +f flag
> doesn't seem to make any difference, although it's supposed to return
> the output as formatted by FitNesse)
>
> When I run each of my 2 test pages by itself via the TestRunner, it
> reports 0 of everything:
>
> $ python /usr/local/bin/TestRunner.py +f localhost 8081
> MosAcceptanceTests.LocalMailboxBrowseTests > a.out
> validating connection...
> ...ok
> Test Pages: 0 right, 0 wrong, 0 ignored, 0 exceptions
> Assertions: 0 right, 0 wrong, 0 ignored, 0 exceptions
>
> $ python /usr/local/bin/TestRunner.py +f localhost 8081
> MosAcceptanceTests.MailboxSearchTests > a.out
> validating connection...
> ...ok
> Test Pages: 0 right, 0 wrong, 0 ignored, 0 exceptions
> Assertions: 0 right, 0 wrong, 0 ignored, 0 exceptions
>
>
> Any ideas? Am I doing something fundamentally wrong?
>
> Grig
>
> --- yahoogroups@... wrote:
>
>
> ---------------------------------
> From: "Grig Gheorghiu"
> <grig.at.gheorghiu.net@...>
> To: "fitnesse@yahoogroups.com"
> <fitnesse.at.yahoogroups.com@...>
> Sent: Friday, February 03, 2006 5:29 PM
> Subject: Re: [fitnesse] Re: Problems running PyFIT in command
> line/TestRunner mode
>
>
>> OK, thanks. What version of fitnesse do you recommend running along
>> with 0.8a1?
>
> It shouldn't matter - the one I've been testing with has a file date of
>
> 3/2/2005.
> I do seem to be quite a bit backlevel!
> Whatever you're using now should work fine.
>
> John Roth
> Python FIT
>>
>> Grig
>>
>> --- yahoogroups@... wrote:
>>
>>
>> ---------------------------------
>> You might want 0.8a1. That's in the Cheese Shop.
>> There are examples in tests/fna.cmd and similar
>> scripts.
>>
>> John Roth
>> Python FIT
>>
>>
>> ----- Original Message -----
>> From: "gheorghe_gheorghiu"
>> <grig.at.gheorghiu.net@...>
>> To: "fitnesse@yahoogroups.com"
>> <fitnesse.at.yahoogroups.com@...>
>> Sent: Friday, February 03, 2006 2:46 PM
>> Subject: [fitnesse] Re: Problems running PyFIT in command
>> line/TestRunner
>> mode
>>
>>
>>>I see...it's in PyFIT 0.7a1. I was running 0.6a1. I'll try upgrading.
>>>
>>> Thanks,
>>>
>>> Grig
>>>
>>> --- In fitnesse@yahoogroups.com, yahoogroups@... wrote:
>>>>
>>>> You need to run TestRunner.py. It's all the way toward the
>>>> bottom of the documentation under FitNesse. Kind of easy
>>>> to miss.
>>>>
>>>> FileRunner.py is the batch mode runner.
>>>>
>>>> John Roth
>>>> Python FIT
>>>>
>>>> ----- Original Message -----
>>>> From: "gheorghe_gheorghiu"
>>>> <grig.at.gheorghiu.net@...>
>>>> To: "fitnesse@yahoogroups.com"
>>>> <fitnesse.at.yahoogroups.com@...>
>>>> Sent: Friday, February 03, 2006 2:20 PM
>>>> Subject: [fitnesse] Re: Problems running PyFIT in command
>>> line/TestRunner
>>>> mode
>>>>
>>>>
>>>> > --- In fitnesse@yahoogroups.com, yahoogroups@ wrote:
>>>> >>
>>>> >> From: "gheorghe_gheorghiu"
>>>> >> <grig.at.gheorghiu.net@>
>>>> >> To: "fitnesse@yahoogroups.com"
>>>> >> <fitnesse.at.yahoogroups.com@>
>>>> >> Sent: Friday, February 03, 2006 12:55 PM
>>>> >> Subject: [fitnesse] Problems running PyFIT in command
>>>> > line/TestRunner mode
>>>> >>
>>>> >>
>>>> >> > I'm trying to integrate my FitNesse tests in my smoke tests
> and
>> I'm
>>>> >> > having trouble running my test suite from the command line.
> I'm
>>> using
>>>> >> > PyFIT and it's working well from the Wiki, but I get "Could
> not
>>> find
>>>> >> > fixture" error messages from the command line.
>>>> >> >
>>>> >> > Here are the variables I define in my suite Wiki page:
>>>> >> > !define COMMAND_PATTERN {python %m %p}
>>>> >> > !define TEST_RUNNER
>>>> >> > {/usr/local/lib/python2.4/site-packages/fit/FitServer.py}
>>>> >> > !path /home/ggheo/proj/tests
>>>> >> >
>>>> >> > Here's how I try to run TestRunner from the command line, in
>> the
>>>> >> > fitnesse installation directory:
>>>> >> >
>>>> >> > $ java -cp fitnesse.jar fitnesse.runner.TestRunner localhost
>> 8081
>>>> >> > MosAcceptanceTests
>>>> >> >
>>>> >> > Any ideas/suggestions appreciated.
>>>> >>
>>>> >> You need to run the Python version of TestRunner. See
>>>> >> the Runners page in the documentation for how to do it.
>>>> >>
>>>> >> John Roth
>>>> >> Python FIT
>>>> >>
>>>> >
>>>> > John,
>>>> >
>>>> > Thanks for the fast reply. I looked at the Runners documentation
>> page
>>>> > and my best guess was that I need to run FileRunner.py. Am I
>> right?
>>>> > However, in looking at that module, it expects an HTML file as
> the
>>>> > input. I saved my Wiki Suite page as html and passed it to
>> FileRunner,
>>>> > but I got this error:
>>>> >
>>>> > $ python /usr/local/lib/python2.4/site-packages/fit/FileRunner.py
>>>> > MosAcceptanceTests.html out.txt
>>>> > template: 'Fixture '%s' not found' args: '('FixtureNotFound',
>>>> > '^MailboxSearchTests')'
>>>> > 0 right, 0 wrong, 0 ignored, 1 exceptions
>>>> >
>>>> > I'm sure I'm doing something wrong. I wish the documentation gave
>> a
>>>> > few specific examples on how to achieve this...I promise to post
> a
>>>> > blog entry as soon as I get this done :-)
>>>> >
>>>> > Thanks for your help,
>>>> >
>>>> > Grig
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > Yahoo! Groups Links
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>      SPONSORED LINKS
>>                                                Offshore software
>> development                                    Development
> outsourcing
>> software                                    Software development
>> company
>> Outsource software development
>> Software development                                    Software
>> product development
>>
>>
>> ---------------------------------
>>  YAHOO! GROUPS LINKS
>>
>>
>>    Visit your group "fitnesse" on the web.
>>
>>    To unsubscribe from this group, send an email to:
>> fitnesse-unsubscribe@yahoogroups.com
>>
>>    Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>> Service.
>>
>>
>> ---------------------------------
>>
>>
>>
>>
>>
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>
>
>
>      SPONSORED LINKS
>                                                Offshore software
> development                                    Development outsourcing
> software                                    Software development
> company
> Outsource software development
> Software development                                    Software
> product development
>
>
> ---------------------------------
>  YAHOO! GROUPS LINKS
>
>
>    Visit your group "fitnesse" on the web.
>
>    To unsubscribe from this group, send an email to:
> fitnesse-unsubscribe@yahoogroups.com
>
>    Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service.
>
>
> ---------------------------------
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>

Messages 5110 - 5139 of 20044   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help