Skip to content

specs2 integration problem #3

Open

Description

@zalmanu

First of all, great work with the project!

Repro steps:

  • create the initial report
  • make no changes, remain on master branch
  • re-run the tests
  • all the tests run again instead of being skipped

Complete stack: Scala, specs2 (specs extend SpecificationWithJUnit), Maven.

Is it supposed to run of of the box with specs2 or this is normal behaviour?

Activity

  1. changed the title [-]specs2 integration [/-] [+]specs2 integration problem[/+] on Apr 2, 2018
  2. rpau commented on Apr 2, 2018

    @rpau
    Owner

    I haven't tested it yet with specs2 :)

    However, it is necessary to be in a different branch after running the tests in master to validate if the tests are skipped or not. In other words:

    git checkout master
    gradle test
    git checkout -b my-new-branch
    gradle test 
    

    If you are running scala tests you should use this module:

    https://github.com/rpau/junit4git/tree/master/scalatest4git_211

    And, I would say add this annotation:

    @RunWith(classOf[ScalaGitRunner])

    I do not know if this is incompatible with using specs2 :) So, let me know if it could work, otherwise, you should provide a different module for specs2.

    Thanks a lot for your feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions