Suggestion for Fitnesse Editing mode: TinyMCE

View: New views
13 Messages — Rating Filter:   Alert me  

Suggestion for Fitnesse Editing mode: TinyMCE

by gfbrols :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

The pages edit mode is not really what we can call user-friendly and can be a success limitation factor for Fitnesse.

I've found an opensource HTML editor that could be included in Fitnesse and make the page editing easier.

Here is the link.

http://tinymce.moxiecode.com/

Hope this helps,

Gael



Re: Suggestion for Fitnesse Editing mode: TinyMCE

by Markus Gaertner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Have you taken a look into RichNesse? http://richnesse.wiki.sourceforge.net/
Saw it at a presentation from Mike Scott at the Agile Testing Days lately.

Kind regards
Markus Gärtner

gfbrols wrote:

> Hi,
>
> The pages edit mode is not really what we can call user-friendly and can be a success limitation factor for Fitnesse.
>
> I've found an opensource HTML editor that could be included in Fitnesse and make the page editing easier.
>
> Here is the link.
>
> http://tinymce.moxiecode.com/
>
> Hope this helps,
>
> Gael
>
>
>


Re: Suggestion for Fitnesse Editing mode: TinyMCE

by gfbrols :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Markus,

thanks for the info, it looks good but unfortunately, I tried to run it on latest Fitnesse version and previous one and I get the same error:
Exception in thread "main" java.lang.NoClassDefFoundError: fitnesse/responders/SecureResponder
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at fitnesse.responders.ResponderFactory.addResponder(ResponderFactory.java:88)
        at fitnesse.ComponentFactory.loadResponders(ComponentFactory.java:173)
        at fitnesseMain.FitNesseMain.loadContext(FitNesseMain.java:61)
        at fitnesseMain.FitNesseMain.main(FitNesseMain.java:25)
Caused by: java.lang.ClassNotFoundException: fitnesse.responders.SecureResponder
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        ... 18 more

Gael


--- In fitnesse@..., Markus Gaertner <shino@...> wrote:

>
> Have you taken a look into RichNesse? http://richnesse.wiki.sourceforge.net/
> Saw it at a presentation from Mike Scott at the Agile Testing Days lately.
>
> Kind regards
> Markus Gärtner
>
> gfbrols wrote:
> > Hi,
> >
> > The pages edit mode is not really what we can call user-friendly and can be a success limitation factor for Fitnesse.
> >
> > I've found an opensource HTML editor that could be included in Fitnesse and make the page editing easier.
> >
> > Here is the link.
> >
> > http://tinymce.moxiecode.com/
> >
> > Hope this helps,
> >
> > Gael
> >
> >
> >
>



Re: Suggestion for Fitnesse Editing mode: TinyMCE

by sch_max :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



I am also interested in richnesse. I get similar error:
Exception in thread "main" java.lang.ClassNotFoundException: RichNesse.HtmlPageF
actory
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at fitnesse.ComponentFactory.createComponent(ComponentFactory.java:86)
        at fitnesse.ComponentFactory.createComponent(ComponentFactory.java:98)
        at fitnesse.ComponentFactory.getHtmlPageFactory(ComponentFactory.java:11
2)
        at fitnesseMain.FitNesseMain.loadContext(FitNesseMain.java:57)
        at fitnesseMain.FitNesseMain.main(FitNesseMain.java:25)

Seems to be not compatible with actual fitnesse-versions.


--- In fitnesse@..., "gfbrols" <gfbrols@...> wrote:

>
> Hi Markus,
>
> thanks for the info, it looks good but unfortunately, I tried to run it on latest Fitnesse version and previous one and I get the same error:
> Exception in thread "main" java.lang.NoClassDefFoundError: fitnesse/responders/SecureResponder
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(Unknown Source)
>         at java.security.SecureClassLoader.defineClass(Unknown Source)
>         at java.net.URLClassLoader.defineClass(Unknown Source)
>         at java.net.URLClassLoader.access$000(Unknown Source)
>         at java.net.URLClassLoader$1.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Unknown Source)
>         at fitnesse.responders.ResponderFactory.addResponder(ResponderFactory.java:88)
>         at fitnesse.ComponentFactory.loadResponders(ComponentFactory.java:173)
>         at fitnesseMain.FitNesseMain.loadContext(FitNesseMain.java:61)
>         at fitnesseMain.FitNesseMain.main(FitNesseMain.java:25)
> Caused by: java.lang.ClassNotFoundException: fitnesse.responders.SecureResponder
>         at java.net.URLClassLoader$1.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>         ... 18 more
>
> Gael
>
>


Re: Suggestion for Fitnesse Editing mode: TinyMCE

by gfbrols :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

edit your run.bat with the following:
java  -cp RichNesse.jar;fitnesse.jar fitnesseMain.FitNesseMain

--- In fitnesse@..., "sch_max" <sch_max@...> wrote:

>
>
>
> I am also interested in richnesse. I get similar error:
> Exception in thread "main" java.lang.ClassNotFoundException: RichNesse.HtmlPageF
> actory
>         at java.net.URLClassLoader$1.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Unknown Source)
>         at fitnesse.ComponentFactory.createComponent(ComponentFactory.java:86)
>         at fitnesse.ComponentFactory.createComponent(ComponentFactory.java:98)
>         at fitnesse.ComponentFactory.getHtmlPageFactory(ComponentFactory.java:11
> 2)
>         at fitnesseMain.FitNesseMain.loadContext(FitNesseMain.java:57)
>         at fitnesseMain.FitNesseMain.main(FitNesseMain.java:25)
>
> Seems to be not compatible with actual fitnesse-versions.
>
>
> --- In fitnesse@..., "gfbrols" <gfbrols@> wrote:
> >
> > Hi Markus,
> >
> > thanks for the info, it looks good but unfortunately, I tried to run it on latest Fitnesse version and previous one and I get the same error:
> > Exception in thread "main" java.lang.NoClassDefFoundError: fitnesse/responders/SecureResponder
> >         at java.lang.ClassLoader.defineClass1(Native Method)
> >         at java.lang.ClassLoader.defineClass(Unknown Source)
> >         at java.security.SecureClassLoader.defineClass(Unknown Source)
> >         at java.net.URLClassLoader.defineClass(Unknown Source)
> >         at java.net.URLClassLoader.access$000(Unknown Source)
> >         at java.net.URLClassLoader$1.run(Unknown Source)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >         at java.lang.Class.forName0(Native Method)
> >         at java.lang.Class.forName(Unknown Source)
> >         at fitnesse.responders.ResponderFactory.addResponder(ResponderFactory.java:88)
> >         at fitnesse.ComponentFactory.loadResponders(ComponentFactory.java:173)
> >         at fitnesseMain.FitNesseMain.loadContext(FitNesseMain.java:61)
> >         at fitnesseMain.FitNesseMain.main(FitNesseMain.java:25)
> > Caused by: java.lang.ClassNotFoundException: fitnesse.responders.SecureResponder
> >         at java.net.URLClassLoader$1.run(Unknown Source)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >         ... 18 more
> >
> > Gael
> >
> >
>



Re: Suggestion for Fitnesse Editing mode: TinyMCE

by sch_max :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Okay, cool. Thank you.
But now I get same error as Gael :-)


--- In fitnesse@..., "gfbrols" <gfbrols@...> wrote:
>
> edit your run.bat with the following:
> java  -cp RichNesse.jar;fitnesse.jar fitnesseMain.FitNesseMain
>


Re: Suggestion for Fitnesse Editing mode: TinyMCE

by gfbrols :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've modified Richnesse sources to make it run under latest Fitnesse.
I see this Richnesse as a good start but it needs to be extended and improved in order to be adopted.

Could you grant me rights to upload the jar file in the Files section?

best regards,

Gaël


--- In fitnesse@..., "sch_max" <sch_max@...> wrote:

>
> Okay, cool. Thank you.
> But now I get same error as Gael :-)
>
>
> --- In fitnesse@..., "gfbrols" <gfbrols@> wrote:
> >
> > edit your run.bat with the following:
> > java  -cp RichNesse.jar;fitnesse.jar fitnesseMain.FitNesseMain
> >
>



Re: Suggestion for Fitnesse Editing mode: TinyMCE

by Woody-13 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You could always fork it and put it on github.  Then the community could improve it.

--- In fitnesse@..., "gfbrols" <gfbrols@...> wrote:

>
> I've modified Richnesse sources to make it run under latest Fitnesse.
> I see this Richnesse as a good start but it needs to be extended and improved in order to be adopted.
>
> Could you grant me rights to upload the jar file in the Files section?
>
> best regards,
>
> Gaël
>
>
> --- In fitnesse@..., "sch_max" <sch_max@> wrote:
> >
> > Okay, cool. Thank you.
> > But now I get same error as Gael :-)
> >
> >
> > --- In fitnesse@..., "gfbrols" <gfbrols@> wrote:
> > >
> > > edit your run.bat with the following:
> > > java  -cp RichNesse.jar;fitnesse.jar fitnesseMain.FitNesseMain
> > >
> >
>



Re: Suggestion for Fitnesse Editing mode: TinyMCE

by sch_max :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm interested in a working version of richnesse. Have you uploaded it somewhere? Which github do you mean?

Max

--- In fitnesse@..., "Woody" <rsidan@...> wrote:

>
> You could always fork it and put it on github.  Then the community could improve it.
>
> --- In fitnesse@..., "gfbrols" <gfbrols@> wrote:
> >
> > I've modified Richnesse sources to make it run under latest Fitnesse.
> > I see this Richnesse as a good start but it needs to be extended and improved in order to be adopted.
> >
> > Could you grant me rights to upload the jar file in the Files section?
> >
> > best regards,
> >
> > Gaël
> >
> >
> > --- In fitnesse@..., "sch_max" <sch_max@> wrote:
> > >
> > > Okay, cool. Thank you.
> > > But now I get same error as Gael :-)
> > >
> > >
> > > --- In fitnesse@..., "gfbrols" <gfbrols@> wrote:
> > > >
> > > > edit your run.bat with the following:
> > > > java  -cp RichNesse.jar;fitnesse.jar fitnesseMain.FitNesseMain
> > > >
> > >
> >
>



Re: Suggestion for Fitnesse Editing mode: TinyMCE

by Woody-13 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I don't think a repository exists for it yet, just suggesting that one be started.  Github.com is where Uncle Bob keeps fitnesse, so might be a good place to keep Richnesse as well.

Personally, I'm more interested in having a syntax colored in place markup editor than a WYSYWIG one.  WYSYWIG tends to introduce quirky things and in my context is harder than wiki markup.  For now I use vim, but others on my team use Notepad++ with syntax coloring for fitnesse markup.

My preferences aside, there are folks who would benefit from Richnesse being revived.

Dan Woodward
http://whotestedthis.squarespace.com
------
FitNesse using Java and SliM

--- In fitnesse@..., "sch_max" <sch_max@...> wrote:

>
> I'm interested in a working version of richnesse. Have you uploaded it somewhere? Which github do you mean?
>
> Max
>
> --- In fitnesse@..., "Woody" <rsidan@> wrote:
> >
> > You could always fork it and put it on github.  Then the community could improve it.
> >
> > --- In fitnesse@..., "gfbrols" <gfbrols@> wrote:
> > >
> > > I've modified Richnesse sources to make it run under latest Fitnesse.
> > > I see this Richnesse as a good start but it needs to be extended and improved in order to be adopted.
> > >
> > > Could you grant me rights to upload the jar file in the Files section?
> > >
> > > best regards,
> > >
> > > Gaël
> > >
> > >
> > > --- In fitnesse@..., "sch_max" <sch_max@> wrote:
> > > >
> > > > Okay, cool. Thank you.
> > > > But now I get same error as Gael :-)
> > > >
> > > >
> > > > --- In fitnesse@..., "gfbrols" <gfbrols@> wrote:
> > > > >
> > > > > edit your run.bat with the following:
> > > > > java  -cp RichNesse.jar;fitnesse.jar fitnesseMain.FitNesseMain
> > > > >
> > > >
> > >
> >
>



Re: Suggestion for Fitnesse Editing mode: TinyMCE

by gfbrols :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have not uploaded it yet. I'll try to do it somewhere by end of the week.

Could we include Richnesse in Fitnesse project so we can ensure Richnesse will stay compatible will future Fitnesse releases?

Gael


--- In fitnesse@..., "Woody" <rsidan@...> wrote:

>
> I don't think a repository exists for it yet, just suggesting that one be started.  Github.com is where Uncle Bob keeps fitnesse, so might be a good place to keep Richnesse as well.
>
> Personally, I'm more interested in having a syntax colored in place markup editor than a WYSYWIG one.  WYSYWIG tends to introduce quirky things and in my context is harder than wiki markup.  For now I use vim, but others on my team use Notepad++ with syntax coloring for fitnesse markup.
>
> My preferences aside, there are folks who would benefit from Richnesse being revived.
>
> Dan Woodward
> http://whotestedthis.squarespace.com
> ------
> FitNesse using Java and SliM
>
> --- In fitnesse@..., "sch_max" <sch_max@> wrote:
> >
> > I'm interested in a working version of richnesse. Have you uploaded it somewhere? Which github do you mean?
> >
> > Max
> >
> > --- In fitnesse@..., "Woody" <rsidan@> wrote:
> > >
> > > You could always fork it and put it on github.  Then the community could improve it.
> > >
> > > --- In fitnesse@..., "gfbrols" <gfbrols@> wrote:
> > > >
> > > > I've modified Richnesse sources to make it run under latest Fitnesse.
> > > > I see this Richnesse as a good start but it needs to be extended and improved in order to be adopted.
> > > >
> > > > Could you grant me rights to upload the jar file in the Files section?
> > > >
> > > > best regards,
> > > >
> > > > Gaël
> > > >
> > > >
> > > > --- In fitnesse@..., "sch_max" <sch_max@> wrote:
> > > > >
> > > > > Okay, cool. Thank you.
> > > > > But now I get same error as Gael :-)
> > > > >
> > > > >
> > > > > --- In fitnesse@..., "gfbrols" <gfbrols@> wrote:
> > > > > >
> > > > > > edit your run.bat with the following:
> > > > > > java  -cp RichNesse.jar;fitnesse.jar fitnesseMain.FitNesseMain
> > > > > >
> > > > >
> > > >
> > >
> >
>



Re: Suggestion for Fitnesse Editing mode: TinyMCE

by gfbrols :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Robert,

we can include html pages into fitnesse tests and the tables are executed when the tests are run but if we put some variables with !define and use them with ${variable}, they are not interpreted because it is in the HTML part.
Could you modify Fitnesse to rerender the pages HTML content and interpret only that kind of information(+ includes,...), leaving the rest as is.
If you could do this. We could include directly TimyMCE or any other HMTML editor in Fitnesse and use its power without needing to modify the editor

Gaël


--- In fitnesse@..., "Woody" <rsidan@...> wrote:

>
> I don't think a repository exists for it yet, just suggesting that one be started.  Github.com is where Uncle Bob keeps fitnesse, so might be a good place to keep Richnesse as well.
>
> Personally, I'm more interested in having a syntax colored in place markup editor than a WYSYWIG one.  WYSYWIG tends to introduce quirky things and in my context is harder than wiki markup.  For now I use vim, but others on my team use Notepad++ with syntax coloring for fitnesse markup.
>
> My preferences aside, there are folks who would benefit from Richnesse being revived.
>
> Dan Woodward
> http://whotestedthis.squarespace.com
> ------
> FitNesse using Java and SliM
>
> --- In fitnesse@..., "sch_max" <sch_max@> wrote:
> >
> > I'm interested in a working version of richnesse. Have you uploaded it somewhere? Which github do you mean?
> >
> > Max
> >
> > --- In fitnesse@..., "Woody" <rsidan@> wrote:
> > >
> > > You could always fork it and put it on github.  Then the community could improve it.
> > >
> > > --- In fitnesse@..., "gfbrols" <gfbrols@> wrote:
> > > >
> > > > I've modified Richnesse sources to make it run under latest Fitnesse.
> > > > I see this Richnesse as a good start but it needs to be extended and improved in order to be adopted.
> > > >
> > > > Could you grant me rights to upload the jar file in the Files section?
> > > >
> > > > best regards,
> > > >
> > > > Gaël
> > > >
> > > >
> > > > --- In fitnesse@..., "sch_max" <sch_max@> wrote:
> > > > >
> > > > > Okay, cool. Thank you.
> > > > > But now I get same error as Gael :-)
> > > > >
> > > > >
> > > > > --- In fitnesse@..., "gfbrols" <gfbrols@> wrote:
> > > > > >
> > > > > > edit your run.bat with the following:
> > > > > > java  -cp RichNesse.jar;fitnesse.jar fitnesseMain.FitNesseMain
> > > > > >
> > > > >
> > > >
> > >
> >
>



Parent Message unknown Re: Suggestion for Fitnesse Editing mode: TinyMCE

by unclebob :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Re: Suggestion for Fitnesse Editing mode: TinyMCEPosted by:  
> "gfbrols" gfbrols@...   gfbrolsWed Nov 4, 2009 12:58 am (PST)
>
>
> Robert,
>
> we can include html pages into fitnesse tests and the tables are  
> executed when the tests are run but if we put some variables with !
> define and use them with ${variable}, they are not interpreted  
> because it is in the HTML part.
> Could you modify Fitnesse to rerender the pages HTML content and  
> interpret only that kind of information(+ includes,...), leaving the  
> rest as is.
> If you could do this. We could include directly TimyMCE or any other  
> HMTML editor in Fitnesse and use its power without needing to modify  
> the editor
>
> Gaël

Actually, we are working on this now.  So keep watching...


----
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