The Artima Developer Community
Sponsored Link

ScalaTest/ScalaUtils Forum
provide a RunnerJPanel

2 replies on 1 page. Most recent reply: Jan 23, 2008 8:28 AM by David Bernard

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
David Bernard

Posts: 109
Nickname: davidb31
Registered: Dec, 2007

provide a RunnerJPanel Posted: Jan 23, 2008 12:23 AM
Reply to this message Reply
Advertisement
Hi,

Is it possible to provide a RunnerJPanel instead of only RunnerJFrame (may be extract it) ?

Like this, it will be easier (no copy/paste, sync,...) to integrate ScalaTest into swing based editor/IDE (jEdit, Netbeans, IDEA). I would try to integrate ScalaTest into jEdit.

thanks


Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Re: provide a RunnerJPanel Posted: Jan 23, 2008 6:17 AM
Reply to this message Reply
> Hi,
>
> Is it possible to provide a RunnerJPanel instead of only
> RunnerJFrame (may be extract it) ?
>
> Like this, it will be easier (no copy/paste, sync,...) to
> integrate ScalaTest into swing based editor/IDE (jEdit,
> Netbeans, IDEA). I would try to integrate ScalaTest into
> jEdit.
>
> thanks
>
Hi David,

It shouldn't be too hard to change the JFrame into a JPanel. My philosophy on reuse of the GUI is that I support it by making Runner's GUI code open source rather than trying to make a public widget in the API. My observation was that people who make IDEs seem to tend to make their own GUI stuff for test reports anyway. That said, I'd like to support you however I can. I suspect just changing JFrame to JPanel and dropping the About dialog and menus would do the trick. First thing I'll do is get the subversion respository up on java.net. I'll try and get that done today.

Is the jEdit plug in for Scala available yet?

David Bernard

Posts: 109
Nickname: davidb31
Registered: Dec, 2007

Re: provide a RunnerJPanel Posted: Jan 23, 2008 8:28 AM
Reply to this message Reply
> My observation was that people who make IDEs seem to tend to
> make their own GUI stuff for test reports anyway.

May be because, they can't reuse existing (for eclipse mixing swing and swt, is ....)

> That
> said, I'd like to support you however I can.

Thanks, like this I could provide a wrapper code to use ScalaTest GUI into jEdit, without the need to recreate GUI itself. Other advantages the plugin could be improved (bug fix, new feature in the GUI) simply by upgrading the jar without lot of code, I should write/copy instead.

> I suspect just changing JFrame to JPanel and dropping the About
> dialog and menus would do the trick.

You could keep it.

> First thing I'll do
> is get the subversion respository up on java.net. I'll try
> and get that done today.

:)

> Is the jEdit plug in for Scala available yet?

No.
jEdit support syntax highlight for scala (provide with scala)
Currently, I create a maven2 plugin for jEdit and use it + a macro to build and compile scala file/project in jEdit.
I planned to release a plugin for scala, but I forgot, it seems I the only one to use jEdit for scala ;) .
If I success to use jEdit+scala+scalaTest(+maven+specs) then I'll publish a plugin for other.

The plugin I wrote for jEdit was in Scala, it's very easy to use scala to write plugin for jEdit.

Flat View: This topic has 2 replies on 1 page
Topic: SUnit vs. ScalaTest Previous Topic   Next Topic Topic: a bit of feedback

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use