Skip to content

Invalid tests generated when projectname has special chars #110

@304NotModified

Description

@304NotModified

Used Visual Studio

Visual Studio 2022

Are the latest Visual Studio updates installed?

Yes

Content of reqnroll.json (if present)

No response

Issue Description

The namespace isn't proper transformed and gives build errors

The steps definitions are fine namespace ReqnrollProject2025_08_11.StepDefinitions

The generated test has namespace ReqnrollProject2025-08-11.Features

Steps to Reproduce

  1. create a project "ReqnrollProject2025-08-11"
  2. This will create the namespace namespace ReqnrollProject2025-08-11.Features, which gives compile errors

Link to a project repository that reproduces the issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions