-
Notifications
You must be signed in to change notification settings - Fork 60
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
Evaluate BDD testing frameworks for our API #3428
Comments
Ginkgo seems like a viable option |
BDD Test Framework EvaluationBehaviour-Driven Development (BDD) can be seen as a way to bridge the gap between the software and business people in regards to communicating desired behaviors of a system. It is encouraging collaboration across roles and fosters a shared understanding of the problem to solve. Ideally, it creates a human-readable file – often expressed in
Example gherkin syntax:
ContendersBuild for BDDTestframeworks which support BDDOther / Related
Tryoutgodog
ginkgo
goconvey
ConlusionThere can always be a debate on which framework is better for a specific purpose. Nonetheless, I find it important to go for frameworks that are already very stable and have a community behind them, that will maintain it going forward. With this being the minimum criteria, from all the listed tools only three remained: godog, ginkgo, and goconvey! Out of those, godog could be dismissed, since it felt too clunky to handle. The only positive thing to say is, that it forces you to have your requirements listed in .feature files, and as soon as you change up something either in a test or feature file, the test breaks. The remaining two are depending on our team's preference: If we really want to go for the BDD spirit, I would suggest going with On the other hand the by far superior testing framework (including matching results) here was |
No description provided.
The text was updated successfully, but these errors were encountered: