-
Notifications
You must be signed in to change notification settings - Fork 478
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
feat(tests): Introducing BDD tests for all bindings #1654
Conversation
Signed-off-by: Xuanwo <github@xuanwo.io>
I would also like to invite the maintainers of bindings, @suyanhanx and @messense for review. |
For nodejs: https://github.com/cucumber/cucumber-js Going forward, BDD test frameworks for Go, Lua, and Java will be used independently. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that BDD would be a good choice when not involving the details of implementation. I have a positive attitude towards this PR overall. I need some time to check it, and also look forward to suggestions from other bindings' maintainers.
Signed-off-by: Xuanwo <github@xuanwo.io>
This form of testing is quite good for us. It helps to ensure consistency between various bindings, and reasonably splitting test files provides some guidance for synchronizing the functionality of new bindings. |
This pull request aims to introduce Behavior-Driven Development (BDD) tests for all of our bindings. It serves as a proof-of-concept and uses the Python binding as an example.
Moving forward, we will maintain the same
feature
file for all bindings. Only when a binding passes all feature tests will it be marked as ready.Here is an example using Python: