Sometimes we write much more code that is not triggered with test BDD scenario data. I'm not sure what would be a good alternative in BDD for analogue of the parametrized unit tests. Also in BDD you probably don't fake clock or locale.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

🇺🇦 Eugen Martynov
🇺🇦 Eugen Martynov

Written by 🇺🇦 Eugen Martynov

Stand with Ukraine! The loving XP husband and freelance Android/Kotlin engineer.

Responses (1)

Write a response

If you want to keep class-specific unit tests but still have the BDD test suites, another option would be to have the BDD test suite for the happy path and common error cases. This is sometimes called a "journey test".
And then maybe have…

--