File tree 2 files changed +13
-9
lines changed
2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 1
1
# ' describe: a BDD testing language
2
2
# '
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.
7
10
# '
8
11
# ' Tests using the `describe` syntax not only verify the tested code, but
9
12
# ' also document its intended behaviour. Each `describe` block specifies a
12
15
# ' functions as a test and is evaluated in its own environment. You
13
16
# ' can also have nested `describe` blocks.
14
17
# '
15
- # '
16
18
# ' This test syntax helps to test the intended behaviour of your code. For
17
19
# ' example: you want to write a new function for your package. Try to describe
18
20
# ' the specification first using `describe`, before your write any code.
You can’t perform that action at this time.
0 commit comments