Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console output marking Passed tests as "Skipped" #399

Closed
DeLaphanteFG opened this issue Jan 15, 2025 · 1 comment
Closed

Console output marking Passed tests as "Skipped" #399

DeLaphanteFG opened this issue Jan 15, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@DeLaphanteFG
Copy link

Reqnroll Version

2.2.1

Which test runner are you using?

MSTest

Test Runner Version Number

3.7.1

.NET Implementation

.NET 8.0

Test Execution Method

Other – PLEASE SPECIFY

Content of reqnroll.json configuration file

No response

Issue Description

The console output from MsTest is marking tests that have successfully passed as being skipped when this is not the case. The issue seems to be caused by the fact that if a scenario name has a special character such as forward slash "/" then the test is marked as skipped. This should not be happening as tests that have executed perfectly fine and passed should be marked as "Passed". This was working perfectly fine on Specflow.MsTest but due to having to migrate to Reqnroll.MsTest this issue has been discovered.

This was discovered when you run tests in the CI/CD workflow on GitHub actions.

See attached screenshot

reqnroll1
reqnroll2
reqnroll3
reqnroll4

.

Steps to Reproduce

  1. Create a test that has a scenario name that contains a special character such as forward slash "/"
  2. Configure and run tests in GitHub actions using MsTest
  3. Observe the console output from github actions logs

Link to Repro Project

No response

@DeLaphanteFG DeLaphanteFG added the bug Something isn't working label Jan 15, 2025
@DeLaphanteFG
Copy link
Author

Closing issue as found the main cause of it and it was due to a missing step definition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant