Skip to content

Comment on My project about BDD tests to Living Documentationparent

Comments

I don't think BDD scales well with complex requirements, the end result gets quite messy in my opinion, here is an example [1]. xUnit tests usually have a method per test, much easy to reason about. Not to put you off, just that has been my experience and I usually try and steer people away from BDD test frameworks

1: https://github.com/cloudfoundry/cloud_controller_ng/blob/mas...

While I agree that BDD doesn't scale well I don't understand how xUnit (which is a unit tests framework hacked into BDD if I understand correctly) can help with that ?

BDD is BDD regardless of the framework, you want to use the same syntax

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.