akatie / fitnesse-launcher-maven-plugin

Automatically exported from code.google.com/p/fitnesse-launcher-maven-plugin
0 stars 1 forks source link

Allow debug in wiki mode #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Is there a way to debug fitnesse tests in wiki mode ?

I'm pair-fitnessing with a business analyst, so we need to see the wiki page, 
and i would be glad to debug with my EDI instead of sysout.

Original issue reported on code.google.com by Fai...@gmail.com on 15 Jul 2013 at 4:47

GoogleCodeExporter commented 8 years ago
It may be possible to do this directly from within FitNesse. Add the following 
to your Test / Suite setup:

!define COMMAND_PATTERN {java -Xdebug 
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=<debug_port> -cp %p %m}

It may be possible to have the plugin configure this as a convenience, but in 
the meanwhile, please let me know if this works for you :-)

http://vikashazrati.wordpress.com/2007/12/05/remote-debugging-fitnesse-with-ecli
pse/

Original comment by stewart@javahelp.co.uk on 16 Jul 2013 at 12:51

GoogleCodeExporter commented 8 years ago
There is a better way to do this, provided out of the box in FItNesse:

http://fitnesse.org/FitNesse.UserGuide.DebugingFixtureCode

In essence, modify the REMOTE_DEBUG_COMMAND if necessary, then start the test 
debug run by adding ?responder=test&remote_debug=true to the url for the test.

I use this a lot, works like a charm.

Original comment by bjorn.be...@callistaenterprise.se on 23 Sep 2013 at 4:15

GoogleCodeExporter commented 8 years ago
New URL 
http://fitnesse.org/FitNesse.FullReferenceGuide.UserGuide.WritingAcceptanceTests
.DebuggingFixtureCode

Also see 
http://fitnesse.org/FitNesse.FullReferenceGuide.UserGuide.WritingAcceptanceTests
.CustomizingTestExecution

Original comment by stewart@javahelp.co.uk on 29 Jun 2014 at 11:33

GoogleCodeExporter commented 8 years ago
This question has been added to the FAQ's
http://fitnesse-launcher-maven-plugin.googlecode.com/svn/maven/site/fitnesse-lau
ncher-maven-plugin/faq.html#debug

Original comment by stewart@javahelp.co.uk on 8 Jul 2014 at 10:47