-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Upgrade framework and package dependencies #123
base: master
Are you sure you want to change the base?
Conversation
…ions are converted to corresponding regular expressions.
…mpt to upgrade the test framework).
- Simplify tests. - Move conversion method call out of constructor for ScenarioStepPattern. - Rename Pattern to OriginalPattern
…tests showing single and double quotes can be mixed. Minor code relocation in ConvertSpecialPatternsToRegex() to reflect the preferred reading order of the various cucumber expressions.
…T.Test.Sdk". Use .NET 5 instead of deprecated netcoreapp2.0.
This branch has conflicts. Also, please explain what kind of issues you have specifically. |
The build failed. Can you please explain what you are trying to fix exactly? |
This is most likely the issue for the appveyor setup:
I have bumped the target framework for the two test projects to .NET 5 which apparently is not supported on appveyor. |
I see. That's sad. Tell me what build issues do you face that you want to upgrade the versions. Maybe there is another workaround. I never had any issues on my computers. |
This is the test-output I get:
(don't have more time now, will be back) |
No worries, no rush, take your time. I don't know how to reproduce this issue. Can you please open a new issue and describe the problem in detail? Let's wait with this PR, because the error says Xunit.Gherkin.Quick should reference something, which I don't want to do. That will be an additional dependency for the framework. I want to think about it. |
Well, here is another reason for bumping the framework. When I compile the projects (without my changes) I get this warning:
|
What version of Visual Studio are you running? Mine is version 16.8.6. |
Here is the full build log after a complete project reset:
And the test output is:
The test output only speaks about None the less, no tests show up in On the other hand, Test 1 Test 2
The test output still contain an error:
But at least now it discovers all the tests in |
…is still better than "netcore2.1" which is not supported anymore.
Thanks for all the explanation. Let me think about it for a while. |
I continue to have issues compiling and running the tests in "Xunit.Gherkin.Quick.ProjectConsumer" and "Xunit.Gherkin.Quick.UnitTests". Upgrading to newer versions of "Microsoft.NET.Test.Sdk" and "xunit.runner.visualstudio" fixed it for me. Please consider upgrading the main repository.
This was implemented in a separate branch - not sure what happens with that in a pull request.