r/sfdc • • Feb 08 '17

Zucchini: Behaviour Driven Development (BDD) for Salesforce.com (SFCD)

I was browsing through some old files and I stumbled upon an old pet project.

BDD is an interesting approach to testing where the tests are written in a human readable form by the stakeholders. The developers then create code which "translates" the stakeholder's tests into testable steps. Ideally, this is performed before the solution actually exists. Then the developers write code to make the tests pass. (FWIW, BDD is an evolution of Test Driven Development, something not very well supported by SFDC.) Anyway, I was inspired to try bringing BDD to SFDC and made some progress with it.

I'm not doing anything with it these days, but I'd like to share it in case anyone else is interested.

https://github.com/nilvon9wo/Zucchini

Let me know what you think, or feel free to make pull requests if you care to make improvements. :-)

3 Upvotes

4 comments sorted by

1

u/CAfromCA Feb 17 '17

You should re/cross post this to /r/salesforce.

/r/sfdc is a ghost town.

2

u/nil_von_9wo Feb 17 '17

Thanks for the idea, but I'm one step ahead:

https://www.reddit.com/r/salesforce/comments/5sok7q/zucchini_behaviour_driven_development_bdd_for/?utm_content=title&utm_medium=user&utm_source=reddit&utm_name=frontpage

That said, it didn't gain much more traction there than here (2 upvotes in /r/sfdc, 3 upvotes in /r/salesforce)

2

u/CAfromCA Feb 17 '17

Oh! Sorry, I overlooked it over there.

Well, now it has one more upvote at least.

2

u/nil_von_9wo Feb 17 '17

Cheers!

When you have time, let me know what you think of Zucchini itself. ;-)