Search the web
Sign In
New User? Sign Up
fitnesse
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 14209 - 14238 of 14238   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries   (Group by Topic) Sort by Date ^  
#14209 From: "sch_max" <sch_max@...>
Date: Mon Nov 23, 2009 9:36 am
Subject: Re: New FitNesse Release 20091121
sch_max
Offline Offline
Send Email Send Email
 
I've got a weird problem with the new release.
When a variable is used in another variable, the HTML-Code gets only rendered
once.
For example:
!define var1 {Variable1}
!define var2 ( *Test
   *${var1})
!define var3 ( !style_red[${var1}] )

This works as usual:
${var2}
now HTML-Code is shown:
${var2}
Works as usual:
${var3}
HTML-Code is shown:
${var3}



--- In fitnesse@yahoogroups.com, Robert Martin <UncleBob@...> wrote:
>
> The latest release is here.  Lots of new stuff.
>
> The -c command line argument allows you to run tests or suites (or any
> other Restful command) from the command line without starting the
> server. This is perfect for ant tasks! Check the User Guide for
> examples.
> Suites XML reports are much more compact (and don't blow memory!).
> Instead of containing all the test results, the XML is now a summary
> of the results that contains links to the test history.
> New Widget: !{name:bob, addr:here} creates a special table called a
> "hash" (for lack of a better term). If a hash is contained in a test
> table cell, the HTML will be sent to the Test System. The Java slim
> implementation has an automatic converter that will convert this HTML
> to a HashMap[?].
> -i command line argument for 'install only'. This will cause the
> initial installation stuff to run, copying files etc, and fitnesse
> will quit instead of starting up.
> New variable: FITNESSE_ROOTPATH. (See User Guide).
> New Slim Table: SubsetQueryTable[?] (See User Guide).
> New Plugin for Maven classpath generation. See Downloads Page.
> Plugins will automatically be found if placed in the plugins folder.
> No need for -cp arguments anymore. java -jar fitnesse.jar works for
> all situations.
> Tables can start with a hidden row by using #|some row|. This allows
> you to get rid of the ugly first rows in Script tables.
> The ugly tree panel is gone! (yay!)
>
>
> ----
> Robert C. Martin (Uncle Bob)  | email: unclebob@...
> Object Mentor Inc.            | blog:  blog.objectmentor.com
> The Agile Transition Experts  | web:   www.objectmentor.com
> 800-338-6716                  | twitter: unclebobmartin
>

#14210 From: "Williams, Wesley" <wesley.williams@...>
Date: Mon Nov 23, 2009 8:47 am
Subject: RE: New FitNesse Release 20091121
wesinkrakow
Offline Offline
Send Email Send Email
 

I should add that I looked at the html and there is no |script| table row in the table below that has |do|something| as the second row of the table.

 

From: Williams, Wesley
Sent: Monday, November 23, 2009 4:43 PM
To: fitnesse@yahoogroups.com
Subject: RE: [fitnesse] New FitNesse Release 20091121

 

I just tried the # to hide a |script| row and I am getting the same errors you get if you remove the |script| row completely.  I can add a hidden first row but it seems to act only as a comment.  I am trying to write the test like the following:

 

|import|

|my.fixture.package|

 

|script|

|start|my script fixture|

 

#|script|

|do|something|

 

the release not indicates this will still run as a script table but simple hide the script row in the output in the browser.  did I misunderstand?

 

thanks,

wes

 

From: fitnesse@yahoogroups.com [mailto:fitnesse@yahoogroups.com] On Behalf Of Williams, Wesley
Sent: Monday, November 23, 2009 9:08 AM
To: fitnesse@yahoogroups.com
Subject: RE: [fitnesse] New FitNesse Release 20091121

 

 

Thanks, I have been wanting a way to get rid of the ugly first row.  I did it with CSS but this screwed up other tables.

 

From: fitnesse@yahoogroups.com [mailto:fitnesse@yahoogroups.com] On Behalf Of Robert Martin
Sent: Sunday, November 22, 2009 12:14 AM
To: fitnesse@yahoogroups.com
Subject: [fitnesse] New FitNesse Release 20091121

 

 

The latest release is here.  Lots of new stuff. 

 

  • The -c command line argument allows you to run tests or suites (or any other Restful command) from the command line without starting the server. This is perfect for ant tasks! Check the User Guide for examples.
  • Suites XML reports are much more compact (and don't blow memory!). Instead of containing all the test results, the XML is now a summary of the results that contains links to the test history.
  • New Widget: !{name:bob, addr:here} creates a special table called a "hash" (for lack of a better term). If a hash is contained in a test table cell, the HTML will be sent to the Test System. The Java slim implementation has an automatic converter that will convert this HTML to a HashMap[?].
  • -i command line argument for 'install only'. This will cause the initial installation stuff to run, copying files etc, and fitnesse will quit instead of starting up.
  • New variable: FITNESSE_ROOTPATH. (See User Guide).
  • New Slim Table: SubsetQueryTable[?] (See User Guide).
  • New Plugin for Maven classpath generation. See Downloads Page.
  • Plugins will automatically be found if placed in the plugins folder. No need for -cp arguments anymore. java -jar fitnesse.jar works for all situations.
  • Tables can start with a hidden row by using #|some row|. This allows you to get rid of the ugly first rows in Script tables.
  • The ugly tree panel is gone! (yay!)

 

----

Robert C. Martin (Uncle Bob)  | email: unclebob@...

Object Mentor Inc.            | blog:  blog.objectmentor.com

The Agile Transition Experts  | web:   www.objectmentor.com

800-338-6716                  | twitter: unclebobmartin

 

 

 

 


#14211 From: "Williams, Wesley" <wesley.williams@...>
Date: Mon Nov 23, 2009 8:43 am
Subject: RE: New FitNesse Release 20091121
wesinkrakow
Offline Offline
Send Email Send Email
 

I just tried the # to hide a |script| row and I am getting the same errors you get if you remove the |script| row completely.  I can add a hidden first row but it seems to act only as a comment.  I am trying to write the test like the following:

 

|import|

|my.fixture.package|

 

|script|

|start|my script fixture|

 

#|script|

|do|something|

 

the release not indicates this will still run as a script table but simple hide the script row in the output in the browser.  did I misunderstand?

 

thanks,

wes

 

From: fitnesse@yahoogroups.com [mailto:fitnesse@yahoogroups.com] On Behalf Of Williams, Wesley
Sent: Monday, November 23, 2009 9:08 AM
To: fitnesse@yahoogroups.com
Subject: RE: [fitnesse] New FitNesse Release 20091121

 

 

Thanks, I have been wanting a way to get rid of the ugly first row.  I did it with CSS but this screwed up other tables.

 

From: fitnesse@yahoogroups.com [mailto:fitnesse@yahoogroups.com] On Behalf Of Robert Martin
Sent: Sunday, November 22, 2009 12:14 AM
To: fitnesse@yahoogroups.com
Subject: [fitnesse] New FitNesse Release 20091121

 

 

The latest release is here.  Lots of new stuff. 

 

  • The -c command line argument allows you to run tests or suites (or any other Restful command) from the command line without starting the server. This is perfect for ant tasks! Check the User Guide for examples.
  • Suites XML reports are much more compact (and don't blow memory!). Instead of containing all the test results, the XML is now a summary of the results that contains links to the test history.
  • New Widget: !{name:bob, addr:here} creates a special table called a "hash" (for lack of a better term). If a hash is contained in a test table cell, the HTML will be sent to the Test System. The Java slim implementation has an automatic converter that will convert this HTML to a HashMap[?].
  • -i command line argument for 'install only'. This will cause the initial installation stuff to run, copying files etc, and fitnesse will quit instead of starting up.
  • New variable: FITNESSE_ROOTPATH. (See User Guide).
  • New Slim Table: SubsetQueryTable[?] (See User Guide).
  • New Plugin for Maven classpath generation. See Downloads Page.
  • Plugins will automatically be found if placed in the plugins folder. No need for -cp arguments anymore. java -jar fitnesse.jar works for all situations.
  • Tables can start with a hidden row by using #|some row|. This allows you to get rid of the ugly first rows in Script tables.
  • The ugly tree panel is gone! (yay!)

 

----

Robert C. Martin (Uncle Bob)  | email: unclebob@...

Object Mentor Inc.            | blog:  blog.objectmentor.com

The Agile Transition Experts  | web:   www.objectmentor.com

800-338-6716                  | twitter: unclebobmartin

 

 

 

 


#14212 From: "Woody" <rsidan@...>
Date: Mon Nov 23, 2009 3:57 pm
Subject: Re:Taking 10 - 15 seconds for a Test page to load in FitNesse
rsidan
Offline Offline
Send Email Send Email
 
I have also seen this when the saving a change to a test page.  I have
ProcessExplorer running and can see the CPU jump ~50% for about 8 seconds when
saving the page.

I know we use a lot of scenario tables.  Not sure what operations are using the
CPU so heavily.  The page in question is using two scenario libraries.  Parent
Suite and then skipps a couple of suite levels up to FrontPage.

Dan

--- In fitnesse@yahoogroups.com, Robert Martin <UncleBob@...> wrote:
>
> > Taking 10 - 15 seconds for a Test page to load in FitNessePosted by:
> > "Marisa" marisa.seal@...   mbjsealSun Nov 15, 2009 2:00 pm (PST)
> >
> >
> > Hello,
> >
> > I have the latest (released) version of FitNesse. About a week ago, I
> > started noticing that the page load time had increased (enough for
> > me to
> > notice it).
> >
> > I just timed a few page loads and measured between 10 - 15 seconds
> > for a
> > page load. The interesting thing is that this only occurs with Test
> > pages. Other pages load within 1 - 3 seconds. I wonder if I
> > unknowingly
> > added a complexity in the organization of wiki pages that caused this?
> >
> > I have a SetUp and TearDown defined for the entire suite, I have a
> > total
> > of 3 ScenarioLibrary pages, but I don't use the !include widget (since
> > I'm using Slim and scenario tables)...these are the only "external"
> > references I can presume FitNesse is looking for when traversing the
> > wiki during a page load. My wiki doesn't seem that complex to me so
> > I'm
> > puzzled about the increase in page load time.
> >
> > Has anyone else experienced this and/or found out what caused it?
> > Can I
> > fix it myself by reorganizing my wiki?
> >
> > Thanks for your help,
>
> Marisa,
>
> Is this happening when test pages are being displayed, or when suites
> are being executed.  The logic for executing suites changed a few
> months back.  All the tests are gathered up front before any of them
> are executed.  This was necessary for a whole range of reasons.  So
> this can make suite execution take a long time before you see the
> first test run.
>
>
> ----
> Robert C. Martin (Uncle Bob)  | email: unclebob@...
> Object Mentor Inc.            | blog:  blog.objectmentor.com
> The Agile Transition Experts  | web:   www.objectmentor.com
> 800-338-6716                  | twitter: unclebobmartin
>

#14213 From: "timander37" <tandersen@...>
Date: Mon Nov 23, 2009 7:37 pm
Subject: Re: New FitNesse Release 20091121
timander37
Offline Offline
Send Email Send Email
 
When I upgraded from version 20090818 to 20091121, I had to add a method
"parse(String s)" to my enums that were being used from FitNesse.  Other than
that, there were no problems.

Is there an example of the ant task that uses the -c option?  I couldn't find it
in the UserGuide.  We are currently using Trinidad version 20090818 to run our
tests in our Maven build.

Tim


--- In fitnesse@yahoogroups.com, Robert Martin <UncleBob@...> wrote:
>
> The latest release is here.  Lots of new stuff.
>
> The -c command line argument allows you to run tests or suites (or any
> other Restful command) from the command line without starting the
> server. This is perfect for ant tasks! Check the User Guide for
> examples.
> Suites XML reports are much more compact (and don't blow memory!).
> Instead of containing all the test results, the XML is now a summary
> of the results that contains links to the test history.
> New Widget: !{name:bob, addr:here} creates a special table called a
> "hash" (for lack of a better term). If a hash is contained in a test
> table cell, the HTML will be sent to the Test System. The Java slim
> implementation has an automatic converter that will convert this HTML
> to a HashMap[?].
> -i command line argument for 'install only'. This will cause the
> initial installation stuff to run, copying files etc, and fitnesse
> will quit instead of starting up.
> New variable: FITNESSE_ROOTPATH. (See User Guide).
> New Slim Table: SubsetQueryTable[?] (See User Guide).
> New Plugin for Maven classpath generation. See Downloads Page.
> Plugins will automatically be found if placed in the plugins folder.
> No need for -cp arguments anymore. java -jar fitnesse.jar works for
> all situations.
> Tables can start with a hidden row by using #|some row|. This allows
> you to get rid of the ugly first rows in Script tables.
> The ugly tree panel is gone! (yay!)
>
>
> ----
> Robert C. Martin (Uncle Bob)  | email: unclebob@...
> Object Mentor Inc.            | blog:  blog.objectmentor.com
> The Agile Transition Experts  | web:   www.objectmentor.com
> 800-338-6716                  | twitter: unclebobmartin
>

#14214 From: Robert Martin <UncleBob@...>
Date: Mon Nov 23, 2009 11:54 pm
Subject: RubySlim and HashWidgets.
rmartinoma
Offline Offline
Send Email Send Email
 
I have modified RubySlim so that if you pass one of the new HashWidgets in a table cell, it will automatically be converted into a ruby hash.  I also wrote up the README for RubySlim so that it explains how to configure and use RubySlim.  See http://github.com/unclebob/RubySlim


----
Robert C. Martin (Uncle Bob)  | email: unclebob@...
Object Mentor Inc.            | blog:  blog.objectmentor.com
The Agile Transition Experts  | web:   www.objectmentor.com
800-338-6716                  | twitter: unclebobmartin






#14215 From: "mfurmaniuk" <mfurmaniuk@...>
Date: Mon Nov 23, 2009 4:42 pm
Subject: Does anyone run FitLibrary with IE?
mfurmaniuk
Offline Offline
Send Email Send Email
 
I'm running Fitnesse on XP with FitLibrary and FitLibraryWeb, using the
SpiderFixture, what I would like to do is branch out from FireFox and be able to
run my Tests with IE.  The option is available within the Spider Fixture but it
never seems to actually run, though I get green when I use "start spider with
ie" later on when my test is going to open a page I only get:

java.lang.IllegalStateException: Cannot get
"http://localhost/Pages/default.aspx": 21 at

Is there a way to get IE to work, or do I need to incorporate Web Driver in this
as well?

   Thanks,

   Michael

#14216 From: MasaKevin Maeda <masakmaeda@...>
Date: Tue Nov 24, 2009 2:26 am
Subject: Persona fixture for FIT
masakmaeda
Offline Offline
Send Email Send Email
 
Hi,

David Hanssen gave a presentation on Personas is San Francisco last week and during his talk he mentioned that there is a Persona plugin for FIT. Does any of you know where to get it?

Thanks,
  Masa




#14217 From: "ssaha_ghx" <ssaha@...>
Date: Tue Nov 24, 2009 3:31 am
Subject: Double count on exception message
ssaha_ghx
Offline Offline
Send Email Send Email
 
Exception messages wrapped as "message:<<>>" seem to be causing double counts on
Assertions in Slim.

Example:

public class SomeObject {
     public void throwExceptionMessage() {
         throw new RuntimeException("message:<<MESSAGE>>");
     }
}

And a simple script table:

!|script|Some Object            |
|show   |throw exception message|

Result:

Assertions: 1 right, 0 wrong, 0 ignored, 2 exceptions

If I let the exception bubble up, I see a stacktrace on top of the script table
and the count is 1. I'm using v20091121 and have also verified this behavior
with v20090818.

a) Has anyone else seen this behavior?
b) I've seen a link/reference to the stacktrace in the first column of the row
when exceptions bubble up. Are there specific conditions under which the link
gets displayed?

-Sanjeev

#14218 From: "slyusd" <slyusd@...>
Date: Tue Nov 24, 2009 12:37 pm
Subject: In container tests or can you suggest ?
slyusd
Offline Offline
Send Email Send Email
 
Hi,
I am very new to fitnesse.
I installed new version and it seems to work fine for simple tests.
What I am interested in is the in-container tests. We have application using
EJB2 with all usual architecture (10 years old or so). Proxies, Services, DAO
etc.
The idea is to write the acceptance tests. The only way to test now is to use
container as it needs to instanciate java beans.
The only tool I found was "patang" that kind of working. The problem is that it
only works with very old version of Fitnesse. 2007ish I think.
Could anyone suggest the combination of Fitnesse+... to be able to avail of all
features of fitnesse and to be able to test in container or EJB2s.
Thanks a lot!

Dmitry

#14219 From: "mfurmaniuk" <mfurmaniuk@...>
Date: Tue Nov 24, 2009 1:22 pm
Subject: Fitnesse and Internet Explorer
mfurmaniuk
Offline Offline
Send Email Send Email
 
I am trying to incorporate Internet Explorer tests into the wiki, but I can't
seem to find a stable method to include IE into the mix.  Does anyone have a
good recommendation on a library to add to get IE to work?  I've tried Fitnium,
and it didn't do enough of what I wanted, FitLibraryWeb and the SpiderFixture
won't run IE on my machine, WebDriver didn't really seem to incorporate into the
Wiki (unless I missed instructions).  WebTest, because of the former lack of
support, was off my list but if its going to be picked up again I will move in
that direction again - are there other alternatives?

I'm going to be running XP and Vista with IE 7 & 8, if I can get some of these
running it would be a start.

Thanks for any help.

Michael

#14220 From: Lubos Ilcik <lubos.ilcik@...>
Date: Tue Nov 24, 2009 3:00 am
Subject: Re: CSlim: Building on Windows?
lubos.ilcik
Offline Offline
Send Email Send Email
 
Hi Brian,
 
I have managed to build the CSlim on Windows in MSVC2008, some minor modifications of sources have been necessary. Are you still interested in that?
 
br Lubos

--- On Thu, 11/5/09, sorghumking <sorghumking@...> wrote:

From: sorghumking <sorghumking@...>
Subject: [fitnesse] CSlim: Building on Windows?
To: fitnesse@yahoogroups.com
Date: Thursday, November 5, 2009, 11:18 PM

 
With some time and a crash-course in makefiles, I managed to get Doug Bradbury's CSlim source building/running on Mac OSX, yay! I'm having no such luck on Windows in Cygwin. I can get most files compiling properly with the same makefile tweaks I used on Mac, but there are a few nagging link errors in the socket sources. I'm guessing I should be using the source files in ComWin32 somehow, but how? Is this even supposed to build on Windows (Cygwin or MSVC, which is what I'll ultimately want to use)?

Any help would be much appreciated!
Thanks,
Brian



#14221 From: "timander37" <tandersen@...>
Date: Tue Nov 24, 2009 5:39 pm
Subject: Re: fitnesse test runner (release 20091121)
timander37
Offline Offline
Send Email Send Email
 
I couldn't find it where I expected on
http://fitnesse.org/FitNesse.UserGuide.CommandLineRestCommands
but I found it in the source code http://bit.ly/92yBNC

I'd like to see an example of the ant task mentioned in the release notes.

Tim


--- In fitnesse@yahoogroups.com, "Halstead, Glenn (E&T)" <glenn.halstead@...>
wrote:
>
> Does anyone know where in the fitnesse userguide I can find an example
> command line to run tests using the new -c argument?
>
>
>
> The release comment says "The -c command line argument allows you to run
> tests or suites (or any other Restful command) from the command line
> without starting the server. This is perfect for ant tasks! Check the
> User Guide for examples."
>
>
>
> Thanks
>
>
>
> Glenn
>
>
>
>
> -----------------------------------------
> Information in this email including any attachments may be
> privileged, confidential and is intended exclusively for the
> addressee. The views expressed may not be official policy, but the
> personal views of the originator. If you have received it in error,
> please notify the sender by return e-mail and delete it from your
> system. You should not reproduce, distribute, store, retransmit,
> use or disclose its contents to anyone.
>
> Please note we reserve the right to monitor all e-mail
> communication through our internal and external networks.
>
> SKY and the SKY marks are trade marks of British Sky Broadcasting
> Group plc and are used under licence. British Sky Broadcasting
> Limited (Registration No. 2906991), Sky Interactive Limited
> (Registration No. 3554332), Sky-In-Home Service Limited
> (Registration No. 2067075) and Sky Subscribers Services Limited
> (Registration No. 2340150) are direct or indirect subsidiaries of
> British Sky Broadcasting Group plc (Registration No. 2247735). All
> of the companies mentioned in this paragraph are incorporated in
> England and Wales and share the same registered office at Grant
> Way, Isleworth, Middlesex TW7 5QD.
>

#14222 From: Rick Mugridge <rick@...>
Date: Tue Nov 24, 2009 5:46 pm
Subject: Re: Does anyone run FitLibrary with IE?
rickmugridge
Offline Offline
Send Email Send Email
 
Hi Michael,

I tried an earlier version, about 12 months ago, and it was unstable. I haven't tried since.

According to the details at http://code.google.com/p/selenium/wiki/InternetExplorerDriver, nothing else is needed. But you will need the appropriate jar when running it through SpiderFixture.

Was the exception thrown from within InternetExplorerDriver?

Please let me know if you make any progress with it, and whether IE runs the SpiderFixture specifications.

Cheers, Rick

mfurmaniuk wrote:
 

I'm running Fitnesse on XP with FitLibrary and FitLibraryWeb, using the SpiderFixture, what I would like to do is branch out from FireFox and be able to run my Tests with IE. The option is available within the Spider Fixture but it never seems to actually run, though I get green when I use "start spider with ie" later on when my test is going to open a page I only get:

java.lang.IllegalStateException: Cannot get "http://localhost/Pages/default.aspx": 21 at

Is there a way to get IE to work, or do I need to incorporate Web Driver in this as well?

Thanks,

Michael


#14223 From: Gregor Gramlich <gramlich@...>
Date: Tue Nov 24, 2009 5:49 pm
Subject: Re: Re: fitnesse test runner (release 20091121)
gregorgramlich
Offline Offline
Send Email Send Email
 
Hi Tim,

if you do a fresh run, fitnesse unpacks its wiki and the UserGuide should contain that page.

The build.xml of fitnesse itself now uses the command line option.

Gregor

2009/11/24 timander37 <tandersen@...>
 

I couldn't find it where I expected on http://fitnesse.org/FitNesse.UserGuide.CommandLineRestCommands
but I found it in the source code http://bit.ly/92yBNC

I'd like to see an example of the ant task mentioned in the release notes.

Tim



--- In fitnesse@yahoogroups.com, "Halstead, Glenn (E&T)" <glenn.halstead@...> wrote:
>
> Does anyone know where in the fitnesse userguide I can find an example
> command line to run tests using the new -c argument?
>
>
>
> The release comment says "The -c command line argument allows you to run
> tests or suites (or any other Restful command) from the command line
> without starting the server. This is perfect for ant tasks! Check the
> User Guide for examples."
>
>
>
> Thanks
>
>
>
> Glenn
>
>
>
>
> -----------------------------------------
> Information in this email including any attachments may be
> privileged, confidential and is intended exclusively for the
> addressee. The views expressed may not be official policy, but the
> personal views of the originator. If you have received it in error,
> please notify the sender by return e-mail and delete it from your
> system. You should not reproduce, distribute, store, retransmit,
> use or disclose its contents to anyone.
>
> Please note we reserve the right to monitor all e-mail
> communication through our internal and external networks.
>
> SKY and the SKY marks are trade marks of British Sky Broadcasting
> Group plc and are used under licence. British Sky Broadcasting
> Limited (Registration No. 2906991), Sky Interactive Limited
> (Registration No. 3554332), Sky-In-Home Service Limited
> (Registration No. 2067075) and Sky Subscribers Services Limited
> (Registration No. 2340150) are direct or indirect subsidiaries of
> British Sky Broadcasting Group plc (Registration No. 2247735). All
> of the companies mentioned in this paragraph are incorporated in
> England and Wales and share the same registered office at Grant
> Way, Isleworth, Middlesex TW7 5QD.
>



#14224 From: Rick Mugridge <rick@...>
Date: Tue Nov 24, 2009 5:59 pm
Subject: Re: Persona fixture for FIT
rickmugridge
Offline Offline
Send Email Send Email
 
I'm interested to hear if someone else is pursuing this.

I've developed the use of personas in FitLibrary, where personas are like test objects. But the support is rather weak, so I haven't publicized it. This approach has only been used by one project team, that I know of.

Persona are encoded with "dynamic variables". For example, the name of a person can be passed as an argument to a defined action. Internally, the defined action can access all the properties of that person (name, credit card, etc etc). This makes for much shorter storytests; you can quickly get used to a particular persona having suitable properties (eg, a valid or invalid credit card number).

That's something I have on my list to explore further, treating personas as "first-class" objects.

I was inspired by David Hussman's use of personas in his storytest writing workshops, which he showed me in 2007.

The latest "hash" stuff added to slim looks like it could be used to do the same thing.

Cheers, Rick

MasaKevin Maeda wrote:
 

Hi,

David Hanssen gave a presentation on Personas is San Francisco last week and during his talk he mentioned that there is a Persona plugin for FIT. Does any of you know where to get it?

Thanks,
  Masa




#14225 From: "gfbrols" <gfbrols@...>
Date: Wed Nov 25, 2009 8:00 am
Subject: Re: New FitNesse Release 20091121
gfbrols
Offline Offline
Send Email Send Email
 
Hello Robert,

The new release is not available on www.fitnesse.org downloads section.

Best regards,

Gaël

--- In fitnesse@yahoogroups.com, Robert Martin <UncleBob@...> wrote:
>
> The latest release is here.  Lots of new stuff.
>
> The -c command line argument allows you to run tests or suites (or any
> other Restful command) from the command line without starting the
> server. This is perfect for ant tasks! Check the User Guide for
> examples.
> Suites XML reports are much more compact (and don't blow memory!).
> Instead of containing all the test results, the XML is now a summary
> of the results that contains links to the test history.
> New Widget: !{name:bob, addr:here} creates a special table called a
> "hash" (for lack of a better term). If a hash is contained in a test
> table cell, the HTML will be sent to the Test System. The Java slim
> implementation has an automatic converter that will convert this HTML
> to a HashMap[?].
> -i command line argument for 'install only'. This will cause the
> initial installation stuff to run, copying files etc, and fitnesse
> will quit instead of starting up.
> New variable: FITNESSE_ROOTPATH. (See User Guide).
> New Slim Table: SubsetQueryTable[?] (See User Guide).
> New Plugin for Maven classpath generation. See Downloads Page.
> Plugins will automatically be found if placed in the plugins folder.
> No need for -cp arguments anymore. java -jar fitnesse.jar works for
> all situations.
> Tables can start with a hidden row by using #|some row|. This allows
> you to get rid of the ugly first rows in Script tables.
> The ugly tree panel is gone! (yay!)
>
>
> ----
> Robert C. Martin (Uncle Bob)  | email: unclebob@...
> Object Mentor Inc.            | blog:  blog.objectmentor.com
> The Agile Transition Experts  | web:   www.objectmentor.com
> 800-338-6716                  | twitter: unclebobmartin
>

#14226 From: "timander37" <tandersen@...>
Date: Wed Nov 25, 2009 3:56 pm
Subject: Re: Persona fixture for FIT
timander37
Offline Offline
Send Email Send Email
 
We use Personas in our FitNesse tests.  Here is a simplified example of what a
test looks like:

http://twitpic.com/f6tmx

Our Personas are implemented as Java POJOs that invoke mock HTTP requests. 
DoFixture simply provides a convenient facade for creating test scenarios. 
FitLibrary seems to already have everything we need.
What's nice is that a variable that looks like this ends up getting translated
into a Map in DoFixture:
!define {
|some key|some value|
|another key|another value|
}

This makes creating mock HTTP requests pretty easy.

Tim Andersen



--- In fitnesse@yahoogroups.com, Rick Mugridge <rick@...> wrote:
>
> I'm interested to hear if someone else is pursuing this.
>
> I've developed the use of personas in FitLibrary, where personas are
> like test objects. But the support is rather weak, so I haven't
> publicized it. This approach has only been used by one project team,
> that I know of.
>
> Persona are encoded with "dynamic variables". For example, the name of a
> person can be passed as an argument to a defined action. Internally, the
> defined action can access all the properties of that person (name,
> credit card, etc etc). This makes for much shorter storytests; you can
> quickly get used to a particular persona having suitable properties (eg,
> a valid or invalid credit card number).
>
> That's something I have on my list to explore further, treating personas
> as "first-class" objects.
>
> I was inspired by David Hussman's use of personas in his storytest
> writing workshops, which he showed me in 2007.
>
> The latest "hash" stuff added to slim looks like it could be used to do
> the same thing.
>
> Cheers, Rick
>
> MasaKevin Maeda wrote:
> >
> >
> > Hi,
> >
> > David Hanssen gave a presentation on Personas is San Francisco last
> > week and during his talk he mentioned that there is a Persona plugin
> > for FIT. Does any of you know where to get it?
> >
> > Thanks,
> >   Masa
> >
> >
> >
> >
>

#14227 From: Michael F <mfurmaniuk@...>
Date: Tue Nov 24, 2009 6:29 pm
Subject: Re: Does anyone run FitLibrary with IE?
mfurmaniuk
Offline Offline
Send Email Send Email
 
Rick,
 
Yes, I followed those instructions and didn't get anything to happen.  I call out the jars to the classpath explicitly:
classpath: C:\fitnesse\fitlibrary.jar
variable defined: TEST_RUNNER=fitlibrary.suite.FitLibraryServer
classpath: lib/webdriver-all.jar
classpath: lib/*.jar
With this I can run a test with firefox no problem, switch the Spider to ie and nothing but the error.  I can't tell where the exception is coming from since its on the Fitnesse page, and I haven't seen the error show up in the logs or anywhere else.
 
Thanks,
 
Michael


From: Rick Mugridge <rick@...>
To: fitnesse@yahoogroups.com
Sent: Tue, November 24, 2009 12:46:52 PM
Subject: Re: [fitnesse] Does anyone run FitLibrary with IE?

 

Hi Michael,

I tried an earlier version, about 12 months ago, and it was unstable. I haven't tried since.

According to the details at http://code. google.com/ p/selenium/ wiki/InternetExp lorerDriver, nothing else is needed. But you will need the appropriate jar when running it through SpiderFixture.

Was the exception thrown from within InternetExplorerDri ver?

Please let me know if you make any progress with it, and whether IE runs the SpiderFixture specifications.

Cheers, Rick

mfurmaniuk wrote:

 

I'm running Fitnesse on XP with FitLibrary and FitLibraryWeb, using the SpiderFixture, what I would like to do is branch out from FireFox and be able to run my Tests with IE. The option is available within the Spider Fixture but it never seems to actually run, though I get green when I use "start spider with ie" later on when my test is going to open a page I only get:

java.lang.IllegalSt ateException: Cannot get "http://localhost/ Pages/default. aspx": 21 at

Is there a way to get IE to work, or do I need to incorporate Web Driver in this as well?

Thanks,

Michael



#14228 From: mike <mikemps@...>
Date: Sat Nov 14, 2009 4:39 pm
Subject: Re: Tests with or without tables in FitLibrary
mikempss
Offline Offline
Send Email Send Email
 
Hi William,

We are growing kinda the same functionality as part of a project http://zunzun.codeplex.com. The part we differ is on how to setup the steps.

for instance given these steps

------ '''Scenario''' ''Tweet without Links'' ------
|Given| the Tweet "hello world!!"|
|When| it is formatted for displaying |
|Then| it should not contain any links|

------ '''Scenario''' ''Tweet with a Link'' ------
|Given| the Tweet "check this cool app http://zunzun.us"|
|When| it is formatted for displaying|
|Then| it should contain a link to "http://zunzun.us"|

------ '''Scenario''' ''Tweet with a Mention'' ------
|Given| the Tweet "follow me @zunzunapp"|
|When| it is formatted for displaying|
|Then| it should contain a link to "http://twitter.com/zunzunapp"|

this is the implementation

        protected override void SetUpSteps() {
           
            Given("the Tweet {0}", Content => Text = Content);

            When("it is formatted for displaying", () =>
                Tokens = TextFormatter.TokensFrom(Text));

            Then("it should not contain any links", () =>
                Tokens.Any(Inline => Inline is Hyperlink).ShouldBeFalse());

            Then("it should contain a link to {0}", Url =>
                Tokens.Any(Inline =>
                    Inline is Hyperlink
                    && (Inline as Hyperlink).NavigateUri.AbsoluteUri.Contains(Url)
                ).ShouldBeTrue());
        }

Cheers
mike

#14229 From: "lubos.ilcik" <lubos.ilcik@...>
Date: Sun Nov 22, 2009 5:59 pm
Subject: test running 2 minutes
lubos.ilcik
Offline Offline
Send Email Send Email
 
Hello,

I have succeeded to build the CSlim server
(http://github.com/dougbradbury/cslim/tree/master) for Win32 (VS2008) but not
sure if it is working ok. When running a test, even when no test fixture is
there, the "Running Tests ..." is displayed for cca 2 min, then probably a
timeout stops it. When finished, the test is displayed green. I guess the server
communicates correctly with the fitnesse. What might be wrong?

thx Lubos (a fitnesse novice)

#14230 From: Robert Martin <UncleBob@...>
Date: Wed Nov 25, 2009 8:19 pm
Subject: Re:Taking 10 - 15 seconds for a Test page to load in FitNesse
rmartinoma
Offline Offline
Send Email Send Email
 
> Taking 10 - 15 seconds for a Test page to load in FitNessePosted by:
> "Robert Martin" UncleBob@...   rmartinomaSat Nov 21,
> 2009 8:26 am (PST)
>
>
> > Taking 10 - 15 seconds for a Test page to load in FitNessePosted by:
> > "Marisa" marisa.seal@... mbjsealSun Nov 15, 2009 2:00 pm (PST)
>
> >
> > I just timed a few page loads and measured between 10 - 15 seconds
> > for a
> > page load.

I think the latest EDGE will improves those times.  There was a lot of
wasted cycles in the hack that we put in for resolving variables last
month.  It's much better now.

> The interesting thing is that this only occurs with Test
> > pages.

> >I have a total
> > of 3 ScenarioLibrary pages,

Are there lots of scenarios?  Are you using lots of variables in those
scenario libraries?  The sheer number of tables and variables could be
creating a significant parsing load.  One day I'm going to have to
replace that parser!


----
Robert C. Martin (Uncle Bob)  | email: unclebob@...
Object Mentor Inc.            | blog:  blog.objectmentor.com
The Agile Transition Experts  | web:   www.objectmentor.com
800-338-6716                  | twitter: unclebobmartin

#14231 From: Robert Martin <UncleBob@...>
Date: Wed Nov 25, 2009 9:51 pm
Subject: Re: New FitNesse Release 20091121
rmartinoma
Offline Offline
Send Email Send Email
 
> Re: New FitNesse Release 20091121Posted by: "Gojko Adzic"
gojko-yahoolist@...
>    gojko_lastnameSun Nov 22, 2009 2:27 am (PST)
>
>
> Robert Martin wrote:
> >
> >
> > The latest release is here. Lots of new stuff.
> >
> >
> > * The -c command line argument allows you to run tests or suites (or
> > any other Restful command) from the command line without starting
> > the server. This is perfect for ant tasks! Check the User Guide
> > for examples.
>
> Hi,
>
> should I change the maven trinidad plugin to use this chain of
> execution
> then and we can drop the fitnesse.trinidad namespace?

Yes, that would be good.

----
Robert C. Martin (Uncle Bob)  | email: unclebob@...
Object Mentor Inc.            | blog:  blog.objectmentor.com
The Agile Transition Experts  | web:   www.objectmentor.com
800-338-6716                  | twitter: unclebobmartin

#14232 From: Robert Martin <UncleBob@...>
Date: Wed Nov 25, 2009 9:56 pm
Subject: Re:fitnesse test runner (release 20091121)
rmartinoma
Offline Offline
Send Email Send Email
 
> fitnesse test runner (release 20091121)Posted by: "Halstead, Glenn
> (E&T)" glenn.halstead@...  glenntdhalsteadMon Nov 23, 2009
> 2:59 am (PST)
>
>
> Does anyone know where in the fitnesse userguide I can find an example
> command line to run tests using the new -c argument?


FitNesse.UserGuide.CommandLineRestCommands

----
Robert C. Martin (Uncle Bob)  | email: unclebob@...
Object Mentor Inc.            | blog:  blog.objectmentor.com
The Agile Transition Experts  | web:   www.objectmentor.com
800-338-6716                  | twitter: unclebobmartin

#14233 From: Robert Martin <UncleBob@...>
Date: Wed Nov 25, 2009 10:03 pm
Subject: Re: New FitNesse Release 20091121
rmartinoma
Offline Offline
Send Email Send Email
 
> Re: New FitNesse Release 20091121Posted by: "sch_max"
> sch_max@...   sch_maxMon Nov 23, 2009 6:29 am (PST)

> I've got a weird problem with the new release.
> When a variable is used in another variable, the HTML-Code gets only
> rendered once.
> For example:
> !define var1 {Variable1}
> !define var2 ( *Test
> *${var1})
> !define var3 ( !style_red[${var1}] )
>
> This works as usual:
> ${var2}
> now HTML-Code is shown:
> ${var2}
> Works as usual:
> ${var3}
> HTML-Code is shown:
> ${var3}

The latest EDGE may resolve the issue.
----
Robert C. Martin (Uncle Bob)  | email: unclebob@...
Object Mentor Inc.            | blog:  blog.objectmentor.com
The Agile Transition Experts  | web:   www.objectmentor.com
800-338-6716                  | twitter: unclebobmartin

#14234 From: Robert Martin <UncleBob@...>
Date: Wed Nov 25, 2009 10:05 pm
Subject: Re: New FitNesse Release 20091121
rmartinoma
Offline Offline
Send Email Send Email
 
> Re: New FitNesse Release 20091121Posted by: "Williams, Wesley"
wesley.williams@...
>    wesinkrakowMon Nov 23, 2009 6:30 am (PST)

> I should add that I looked at the html and there is no |script| table
> row in the table below that has |do|something| as the second row of
> the
> table.
>
> From: Williams, Wesley
> Sent: Monday, November 23, 2009 4:43 PM
> To: fitnesse@yahoogroups.com
> Subject: RE: [fitnesse] New FitNesse Release 20091121
>
> I just tried the # to hide a |script| row and I am getting the same
> errors you get if you remove the |script| row completely. I can add a
> hidden first row but it seems to act only as a comment. I am trying to
> write the test like the following:
>
> |import|
> |my.fixture.package|
>
> |script|
> |start|my script fixture|
>
> #|script|
> |do|something|
>
> the release not indicates this will still run as a script table but
> simple hide the script row in the output in the browser. did I
> misunderstand?
>
> thanks,

This should work.  What symptom are you getting.


----
Robert C. Martin (Uncle Bob)  | email: unclebob@...
Object Mentor Inc.            | blog:  blog.objectmentor.com
The Agile Transition Experts  | web:   www.objectmentor.com
800-338-6716                  | twitter: unclebobmartin

#14235 From: Robert Martin <UncleBob@...>
Date: Wed Nov 25, 2009 10:08 pm
Subject: Re:Double count on exception message
rmartinoma
Offline Offline
Send Email Send Email
 
> Double count on exception messagePosted by: "ssaha_ghx"
> ssaha@...   ssaha_ghxTue Nov 24, 2009 7:56 am (PST)
>
>
> Exception messages wrapped as "message:<<>>" seem to be causing
> double counts on Assertions in Slim.
>
> Example:
>
> public class SomeObject {
> public void throwExceptionMessage() {
> throw new RuntimeException("message:<<MESSAGE>>");
> }
> }
>
> And a simple script table:
>
> !|script|Some Object |
> |show |throw exception message|
>
> Result:
>
> Assertions: 1 right, 0 wrong, 0 ignored, 2 exceptions
>
> If I let the exception bubble up, I see a stacktrace on top of the
> script table and the count is 1. I'm using v20091121 and have also
> verified this behavior with v20090818.
>
> a) Has anyone else seen this behavior?
> b) I've seen a link/reference to the stacktrace in the first column
> of the row when exceptions bubble up. Are there specific conditions
> under which the link gets displayed?
>
> -Sanjeev

I've put this into lighthouse.
https://fitnesse.lighthouseapp.com/projects/23650-fitnesse/tickets/169-exception\
-messages-wrapped-as-message-seem-to-be-causing-double-counts-on-assertions-in-s\
lim


----
Robert C. Martin (Uncle Bob)  | email: unclebob@...
Object Mentor Inc.            | blog:  blog.objectmentor.com
The Agile Transition Experts  | web:   www.objectmentor.com
800-338-6716                  | twitter: unclebobmartin

#14236 From: Robert Martin <UncleBob@...>
Date: Wed Nov 25, 2009 10:10 pm
Subject: Re: CSlim: Building on Windows?
rmartinoma
Offline Offline
Send Email Send Email
 
> Re: CSlim: Building on Windows?Posted by: "Lubos Ilcik" lubos.ilcik@...
>    lubos.ilcikTue Nov 24, 2009 7:59 am (PST)
>
>
> Hi Brian,
>
> I have managed to build the CSlim on Windows in MSVC2008, some minor
> modifications of sources have been necessary. Are you still
> interested in that?
>
> br Lubos

Please send those changes to me....


----
Robert C. Martin (Uncle Bob)  | email: unclebob@...
Object Mentor Inc.            | blog:  blog.objectmentor.com
The Agile Transition Experts  | web:   www.objectmentor.com
800-338-6716                  | twitter: unclebobmartin

#14237 From: Robert Martin <UncleBob@...>
Date: Wed Nov 25, 2009 10:13 pm
Subject: Re: fitnesse test runner (release 20091121)
rmartinoma
Offline Offline
Send Email Send Email
 
> Re: fitnesse test runner (release 20091121)Posted by: "timander37"
tandersen@...
>    timander37Tue Nov 24, 2009 9:40 am (PST)
>
>
> I couldn't find it where I expected on
http://fitnesse.org/FitNesse.UserGuide.CommandLineRestCommands
> but I found it in the source code http://bit.ly/92yBNC
>
> I'd like to see an example of the ant task mentioned in the release
> notes.
>
> Tim

I haven't updated fitnesse.org yet.  However, if you download the
release it will be in your local user guide.

Here's how I use it from ant:

    <target name="acceptance_tests" depends="jar">
      <java jar="dist/fitnesse.jar" failonerror="true" fork="true">
        <arg value="-c"/>
        <arg value="FitNesse.SuiteAcceptanceTests?
suite&amp;format=text"/>
      </java>
    </target>


----
Robert C. Martin (Uncle Bob)  | email: unclebob@...
Object Mentor Inc.            | blog:  blog.objectmentor.com
The Agile Transition Experts  | web:   www.objectmentor.com
800-338-6716                  | twitter: unclebobmartin

#14238 From: Robert Martin <UncleBob@...>
Date: Wed Nov 25, 2009 10:15 pm
Subject: Re: New FitNesse Release 20091121
rmartinoma
Offline Offline
Send Email Send Email
 
> Re: New FitNesse Release 20091121Posted by: "gfbrols"
> gfbrols@...   gfbrolsWed Nov 25, 2009 12:01 am (PST)
>
> Hello Robert,
>
> The new release is not available on www.fitnesse.org downloads
> section.
>

I think it is...  Over 300 people have downloaded it.  I just tried,
and it worked OK.  What problem are you having?


----
Robert C. Martin (Uncle Bob)  | email: unclebob@...
Object Mentor Inc.            | blog:  blog.objectmentor.com
The Agile Transition Experts  | web:   www.objectmentor.com
800-338-6716                  | twitter: unclebobmartin

Messages 14209 - 14238 of 14238   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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