java - Need to implement custom Fitnesse responders -


i believe in need of implementing custom fitnesse responders client have not found success in research/attempts make work. idea client have suites of tests written in fitnesse results published database via web service on local intranet. either call test via url in restful manner and/or invoke custom responder via button on fitnesse page. ideally run test, gather , parse results, publish via web service. hoping might ideas/hints how make happen because i'm @ wits end. @_@ appreciated! thanks!

i've been investigating same thing, , believe case...

you can invoke fitnesse test in restful manor. e.g. execute test , results in xml: http://myhost:myport/mywikipage?responder=test&format=xml.

see fitnesse page fitnesse.userguide.restfulservices more information interacting restfully fitnesse.

the problem restful approach, want do, requires wrap execution of fitnesse; means if want users able run tests through normal go-to-the-wiki-and-press-the-test-button, no results sent system in case. eluded, solution problem seems via custom responders.

i believe answer extend fitnesse test responder (and suite responder). if can find out in existing responder source code results available, should able override method additionally process results need , send them off external system.

responders have registered fitnesse. done via file called plugin.properties (in same location fitnesse.jar). see fitnesse page fitnesse.userguide.pluginusage more information. i'm assuming fitnesse allows default responders overridden, definition in plugin.properties this:

responders=test:your.package.testresponder, suite:your.package.suiteresponder

one thing think whether or not want results sent external system. example, when tests being developed, doesn't make sense clutter result repository. maybe want send results when tests run part of regression. these factors might dictate choose do, add button "test & send results", or deploy custom responders systems regress tests, or create property set on test "send results when run".

i'd curious know way go; , if responder work, wouldn't mind knowing solution. :)


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -