File tree Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 11# ' describe: a BDD testing language
22# '
3- # ' A simple BDD DSL for writing tests. The language is similar to RSpec for
4- # ' Ruby or Mocha for JavaScript. BDD tests read like sentences and it should
5- # ' thus be easier to understand what the specification of a function/component
6- # ' is.
3+ # ' A simple [behavior-driven development
4+ # ' (BDD)](https://en.wikipedia.org/wiki/Behavior-driven_development)
5+ # ' [domain-specific language](https://en.wikipedia.org/wiki/Domain-specific_language)
6+ # ' for writing tests. The language is similar to [RSpec](https://rspec.info/)
7+ # ' for Ruby or [Mocha](https://mochajs.org/) for JavaScript. BDD tests read
8+ # ' like sentences and it should thus be easier to understand what the
9+ # ' specification of a function/component is.
710# '
811# ' Tests using the `describe` syntax not only verify the tested code, but
912# ' also document its intended behaviour. Each `describe` block specifies a
1215# ' functions as a test and is evaluated in its own environment. You
1316# ' can also have nested `describe` blocks.
1417# '
15- # '
1618# ' This test syntax helps to test the intended behaviour of your code. For
1719# ' example: you want to write a new function for your package. Try to describe
1820# ' the specification first using `describe`, before your write any code.
You can’t perform that action at this time.
0 commit comments