- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
scala specs & progress bar
Sun, 2009-03-01, 13:02
He,
I have the following scala specs:
mypackage.test.specific
class ATest extends JUnit4(ASpec)
object ASpec extends Specification { ... }
class BTest extends JUnit4(ASpec)
object BSpec extends Specification { ... }
mypackge.test
class AllTest extends JUnit4(
mypackage.test.specific.ASpec,
mypackage.test.specific.BSpec)
Both tests, ATest and BTest, are taking quite some time. So my question is, if it is possible to display a progress bar in eclipse's JUnit view similar to running Java JUnit tests. For example, running similar Java JUnit test displays the progress of each individual test and one can see the gree/ red bar increasing. Otherwise one always has to wait till the end of all scala specs to see the entire green/ red bar.
This is not an urgent issue, just for convenience.
Cheers,
Mon, 2009-03-02, 07:47
#2
Re: scala specs & progress bar
Just that you know, this issue is fixed in specs-1.4.4-SNAPSHOT.
Eric.
Mon, 2009-03-02, 22:57
#3
Re: scala specs & progress bar
Cool! How do I get it?
Eric Torreborre wrote:
> Just that you know, this issue is fixed in specs-1.4.4-SNAPSHOT.
>
> Eric.
Cheers,
Tue, 2009-03-03, 00:37
#4
Re: scala specs & progress bar
The snapshots are located in the Scala tools maven repository:
http://scala-tools.org/repo-snapshots/org/specs/specs/1.4.4-SNAPSHOT/
E.
Normen Mueller wrote:
>
> Cool! How do I get it?
>
> Eric Torreborre wrote:
>> Just that you know, this issue is fixed in specs-1.4.4-SNAPSHOT.
>>
>> Eric.
>
> Cheers,
Tue, 2009-03-03, 14:57
#5
Re: scala specs & progress bar
oops, forgot to mention: Works nicely even with JUnit 4.5 (recommended is 4.4)
Eric Torreborre wrote:
> The snapshots are located in the Scala tools maven repository:
>
> http://scala-tools.org/repo-snapshots/org/specs/specs/1.4.4-SNAPSHOT/
>
> E.
Cheers,
Tue, 2009-03-03, 15:07
#6
Re: scala specs & progress bar
Thanks! Works nicely ;)
Eric Torreborre wrote:
> The snapshots are located in the Scala tools maven repository:
>
> http://scala-tools.org/repo-snapshots/org/specs/specs/1.4.4-SNAPSHOT/
>
> E.
>
>
> Normen Mueller wrote:
>> Cool! How do I get it?
>>
>> Eric Torreborre wrote:
>>> Just that you know, this issue is fixed in specs-1.4.4-SNAPSHOT.
>>>
>>> Eric.
>> Cheers,
Hi Normen,
This must be a regression because this used to work before.
I created an issue for that:
http://code.google.com/p/specs/issues/detail?id=62.
Thanks,
Eric.
Normen Mueller wrote:
>
> He,
>
> I have the following scala specs:
>
> mypackage.test.specific
>
> class ATest extends JUnit4(ASpec)
> object ASpec extends Specification { ... }
>
> class BTest extends JUnit4(ASpec)
> object BSpec extends Specification { ... }
>
> mypackge.test
>
> class AllTest extends JUnit4(
> mypackage.test.specific.ASpec,
> mypackage.test.specific.BSpec)
>
> Both tests, ATest and BTest, are taking quite some time. So my question
> is, if it is possible to display a progress bar in eclipse's JUnit view
> similar to running Java JUnit tests. For example, running similar Java
> JUnit test displays the progress of each individual test and one can see
> the gree/ red bar increasing. Otherwise one always has to wait till the
> end of all scala specs to see the entire green/ red bar.
>
> This is not an urgent issue, just for convenience.
>
>
> Cheers,