4 ms·
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 metho
by ojhughes 7y ago
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/master/spec/integration/v2_perm_spec.rb https://github.com/cloudfoundry/cloud_controller_ng/blob/mas...
- 2rsf 7y agoWhile 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