Chai: why bdd style is called bdd style?

Created on 16 Feb 2017  路  3Comments  路  Source: chaijs/chai

The BDD style,why named it BDD?

Most helpful comment

thanks very much

All 3 comments

@zzzgit The BDD (i.e., should and expect) interfaces facilitate writing tests that are expressive and readable by non-programmers. The natural language approach to expressing behaviors and expected outcomes may aid some teams in terms of communication, collaboration, and structure throughout the development process. On the other hand, the TDD (i.e., assert) interface is a bit more programmer-centric.

With that said, you can certainly adhere to either a BDD or TDD driven approach using any interface. The names merely categorize the interfaces based on their most common application.

@zzzgit BDD stands for Behaviour Driven Development. (TDD stands for Test Driven Development).

thanks very much

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danthegoodman picture danthegoodman  路  3Comments

AnAppAMonth picture AnAppAMonth  路  3Comments

corybill picture corybill  路  4Comments

ghost picture ghost  路  4Comments

domenic picture domenic  路  4Comments