-
-
Notifications
You must be signed in to change notification settings - Fork 698
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
Official Python implementation? #8
Comments
Great!! I'm planning to release The main purpose of microcuke is to provide a very simple reference implementation that Microcuke is written in classic JavaScript (ES5), because that's a language most Time permitting I'll also publish an early draft of a spec. Before we can adopt something as an official implementation we need to make sure there is someone willing to maintain it. Ideally I'd like to have at least 2-3 people dedicating time on it for a few months before blessing it as official. Hang in there while I clean up microcuke and the spec. |
Awesome! :) (Does it matter that I’m only focusing on Gherkin3? I don’t think I can do the older, more complicated implementation style, where there’s a lot more mixing/coupling between Cucumber and Gherkin…)
That is an awesome idea. For projects that span multiple programming languages, I bet something like this would be a huge benefit to many of them.
Good choice! (I don’t really enjoy JavaScript, but your reasoning is totally solid. :P)
I can commit to maintain this for roughly a year. Around that time, I’m planning to sell an apartment for the first time, buy a house for the first time, move, and lots of other disruptive stuff. I will almost certainly need to step down at that time. That okay with you?
Okay! :D |
Not at all. We all want to retire Gherkin2.
I hope so. Having something tiny, but functional will help build consistent implementations.
Wow you've got your life planned! :-) Yeah that's not a problem at all as long as there is someone else to build it. The best way to ensure more than one people are contributing to a project is to:
|
How goes it? :) |
Really well actually! I'll push what I have soon. Still a little rough around the edges. |
« rubbing hands together in anticipation… » |
Did you miss the microcuke announcement on the cukes list/twitter/gitter? What are you waiting for? |
As I cmd + F ed I realized nobody mentioned Behave. It is a really identical to cucumber has a good support and community. We have used it in some projects b4 willing to use it again if the client wants to stick to python. |
I’ve been working on a Python implementation based on microcuke in my spare time. I’ve made a great deal of progress, but I’ve had trouble converting a few of the JavaScript-isms to Python. By design, microcuke is minimalist, and most of it is really easy to understand! :D However, there are a few places where it is difficult to know what to do for a conversion. Examples:
|
This is exciting! I've been working on a Java port of Microcuke (to serve as a basis for the next Cucumber-JVM, using Gherkin 3) and I've run into the same issues as you ;-). The JavaScript-isms are not trivial to translate to a different language. I'll create new issues in microcuke to address the points you're bringing up here. It's easier to track these issues individually. |
Just ping me on https://gitter.im/cucumber/chat to see if I'm around. My work hours are 9am-4pm GMT, and I'm usually busy mobbing before lunch, except Fridays which I try to dedicate fully to open source. |
w00t! It is encouraging to know that I’m not alone! :) To be clear, I think choosing JavaScript was absolutely the right choice. I think it is just that some JS-isms need to be rewritten generically, for the sake of other implementors. |
Completely agree about rewriting jsisms! |
Good progress on Python implementation. Stay tuned... |
Nice! |
Ping. |
@webmaven I’ve been working on the Python implementation. :) (Not ready yet, but it’s close.) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. |
This issue has been automatically closed because of inactivity. You can support the Cucumber core team on opencollective. |
@Zearin, anything to share? |
Whoa… It’s been a little while. :) I haven’t been able to work on it in a while, but I think I might be able to pick it up again in the coming months. I would still love to see an official Python implementation. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
1 similar comment
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
On PyPI (Python’s package index), there are some packages that mention Cucumber or Gherkin, but they all seem to be…
Is there no official Python implementation of Cucumber?
If not, I’d like to take a crack at writing one. I’m not a brilliant programmer, but I think I could write a working implementation that uses the JSON output from the existing Python implementation of cucumber/gherkin3.
If I do,
The text was updated successfully, but these errors were encountered: