-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Make cucumber CCK compliant #1738
Conversation
26609c5
to
a9c3259
Compare
@botandrose - You're not needed here. But posting here so you have tracking capabilities. My next few priorities (in order of timeline pref)
This probably takes me close to end of 2023 |
@luke-hill looks like you've got your work cut out for you! If you want to delegate some of that out to me, I enjoy refactoring and etc, and I'd be happy to throw some hours at it if it results in a sooner v13! |
If you want to tackle refactoring e.t.c. feel free. But the timeline needs to be this way because the v12 cucumber core is a chunky amount of refactoring and then v13 will have a new breaking change for a boolean param. The issue is the cucumber ruby repo is tracking an old cck version, and I've never been involved with the cck physically. So I need someone to coach me on how it works and how to fix the problem (We're currently 2 majors behind the cck spec and the cck is likely to be updated soon as well). |
…object in the messages
…12 cck. However this is a WIP and will need further touching up
@botandrose heads up this is likely to take a LOT longer than initially anticipated. Consequently I might do some more refactoring / rubocop fixes as this will be several weeks when I get time to dive into this. As such, if you want to also tackle tech debt / refactoring go for it. |
…eave it as a silly default for now to test it passing through
…ccordingly, otherwise fall back to default behaviour
v13.0.2 of the CCK didn't get the cdata fix. So expect it in 13.0.3 |
bd7c85a
to
719fbb0
Compare
Note for watcherscdata fix didn't make it into 13.0.2 of the CCK, but some more inconsistencies (Not failing ones), did. 13.0.2+ of the CCK is needed to make this PR green. ETA on getting all remaining reconciliation fixes is not yet known |
ping @botandrose - Made some decent headway in last 2-3 weeks. Now looking back at this PR as something that can be fixed up and completed soon |
Description
This PR aims to do 3 things
CCKv12CCKv13 (Thanks to bugfixes), compliant. We have let a lot slip by the wayside.#attach
now has a 3rd optional parameterfilename
which can provide a filename when renaming thingsTestStepResult
message now has an additional 4th property ofexception
however in Ruby this is a partial duplication. This is definitely backwards compatible as we are not changing the existing error message propertyParameterType
message now has an additional 6th property ofsource_reference
which is a location object returning a URI (File location), and line (Line number), of where the parameter types transformer is locatedParameterType
object during creationType of change
Please delete options that are not relevant.
Changelog entry needs doing after everything has been merged.
This fixes a bunch of issues of interdependency hell. Everything "should" now be permissible with the latest versions of internals.
Checklist:
Your PR is ready for review once the following checklist is
complete. You can also add some checks if you want to.
bundle exec rubocop
reports no offenses