Closed narqo closed 10 years ago
I think that this kind of levels should be called specs
not tests
. So the building "targets" would be:
› bem make common.tests
button
on the green background› bem make common.specs
› bem make desktop.examples
@veged @dfilatov, need your opinion
I think current tests
should be renamed to specs
(and *.test.js
files should be renamed to *.spec.js
too). Our current tests have been written as BDD specs.
@dfilatov +1
:joy_cat: :+1:
We should split our current examples into two parts: so called "examples for documentation" and "examples for functional testing".
First part (current
<block>.examples
) will be used to show block's functionality which is interesting for users. Second part would consists of development specific cases of usage of the block.