JBehave
  1. JBehave
  2. JBEHAVE-135

Scenario class lookup fails on Windows

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1, 2.1
    • Component/s: Maven Plugin
    • Labels:
      None
    • Environment:
      Windows
    • Number of attachments :
      0

      Description

      The lookup of scenario class names via the includes pattern such as '*/scenarios/.java' fails on Windows because the paths retrieved use '\' as package separators in place of '/'.

      Will most likely require the need to normalise paths to use '/'.

        Activity

        Hide
        Mauro Talevi added a comment -

        Ensured the ScenarioClassNameFinder replaces backslashes as well as forward slashes in paths.

        Show
        Mauro Talevi added a comment - Ensured the ScenarioClassNameFinder replaces backslashes as well as forward slashes in paths.
        Mauro Talevi made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Mauro Talevi made changes -
        Fix Version/s 2.1 [ 14547 ]

          People

          • Assignee:
            Mauro Talevi
            Reporter:
            Mauro Talevi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: