Muki-SkyWalker / specs

Automatically exported from code.google.com/p/specs
Other
0 stars 0 forks source link

JUnit Runner with Scala 2.8 does not run nested expectations #129

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create Spec with nested examples
2. Create SpecTest with JUnit4 runner
3. Execute JUnit Test

What is the expected output? What do you see instead?
Expecting nested examples in output.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by pavol.va...@gmail.com on 22 Mar 2010 at 12:27

GoogleCodeExporter commented 9 years ago
Only first level examples are executed and reported in output.

specs-2.8.0.Beta1 version 1.6.3 as well as 1.6.4-SNAPSHOT.

Original comment by pavol.va...@gmail.com on 22 Mar 2010 at 12:28

GoogleCodeExporter commented 9 years ago
Refinement: Single nested examples work, only double nested examples do not 
work.

class NestingExamplesSpecTest extends JUnit4(NestingExamplesSpec)

object NestingExamplesSpec extends Specification {
  "example" in {
    "1st level nested example" >> {
      "2nd level nested example" >> {
        true mustBe true
      }
    }
  }
}

Original comment by pavol.va...@gmail.com on 22 Mar 2010 at 2:36

GoogleCodeExporter commented 9 years ago
Hi Pavel,

I was able to reproduce that issue. I'll try to fix it as soon as I've finish 
the 
upgrade to Mockito 1.8.4 which takes longer that expected.

Eric.

Original comment by etorrebo...@gmail.com on 24 Mar 2010 at 1:12

GoogleCodeExporter commented 9 years ago
The fix is available on:

http://scala-tools.org/repo-snapshots/org/scala-tools/testing/specs/1.6.2.1-SNAP
SHOT
and 
http://scala-tools.org/repo-snapshots/org/scala-tools/testing/specs_2.8.0.Beta1/
1.6.4-
SNAPSHOT/

Original comment by etorrebo...@gmail.com on 28 Mar 2010 at 10:10

GoogleCodeExporter commented 9 years ago

Original comment by etorrebo...@gmail.com on 26 May 2010 at 10:26

GoogleCodeExporter commented 9 years ago

Original comment by etorrebo...@gmail.com on 31 Mar 2011 at 8:05