-
Notifications
You must be signed in to change notification settings - Fork 163
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
Fix: General handling of special characters in scenario outline inputs, and XUnit failed, if multiple TestResults.xml were used #336
Conversation
Thank you for your contribution! It is thanks to people like you that I can keep Pickles up to date and relevant. I try to follow a strict test-first policy, so I would like to have all code changes accompanied by unit tests. The Contributing.md file explains how to add unit tests for the code about the test result providers. With regard to your change to the xUnitExampleSignatureBuilder: I think you are working from an old codebase. A couple of days ago I merged a pull request that deals with special characters. Could you verify that you are using the latest code? (I con't verify right know because I'm on a mac without Visual Studio :-( ) Thank you again for your efforts. If you need more information to continue, please let me know! |
Sorry for the missing tests (my bad, will fix that). I will check the version too. |
Thanks! |
Added at least the unit tests for the Regular expression in examples case. I currently don't know how to test the other issue. Not ready yet, so I changed the title to WIP: ... |
Now all other test frameworks are tested also for this issue (except for SpecRun and VSTest, where I cannot derive the name from the example value) |
hi, there's something weird going on. The CI build passes, but when I download your changes to my computer it does not compile. The Could you please double-check on your side? |
As for testing the NullReference bit when combining multiple specflow projects: I just noticed that there's no tests for that in the test result providers where I fixed that problem in the past. So you don't need to look for a way to test that now. Let's focus on getting the regex stuff tested. |
You are right. It seems, I have forgotten to commit and push this one. Will do it on Monday morning, as I'm on the road today |
Thanks. Still, funny that the CI build passes ... |
…sts to build.fsx and test.fsx
Found the reason, why the CI build succeeds: The UnitTests for the TestFrameworks were never build nor executed. Added a commit to prove this behaviour |
Unfortunately the AppVeyor Build does not break, when the Build of the Test-Project fails. I could not find the UPDATE: |
…eliberately failing it for trying to break the CI build
Added the missing method, but made it fail, to check, if the CI build breaks now... |
The tests seems not to be run at CI build (should break with the last commit): https://ci.appveyor.com/project/dirkrombauts/pickles-715/build/1.0.412 Anyway, this is not the scope of this PR |
The last push fixes the (supposedly) breaking build |
Thanks again for your contribution, and also a lot of thanks for your diagnostic work. I need to fix the build process! PS: I will release a new version of Pickles tomorrow! |
Nice, and Gern geschehen. Keep up the good work. |
Released in version 2.6.1. |
Thanks, already in production ;) |
If I used multiple SpecFlow projects with XUnit2, then there was a NullReferenceException for the Features of the other Dlls, which lead to an abort of the test generation. Also if an example contained a "*" as input, the generation of the Regex failed