I explain to Pierre the excellent answer , according to the documents :
The DSL specification and scenario matches the description and its correspondingly. These methods are simply aliases that allow function specifications to read more as user and acceptance tests.
Thus, for those who are familiar with Mocha's terms, this is also described (which are better suited to describe the behavior of the test from the point of view of the user, therefore, Mocha basically functions as a testing environment for the external interface), you could:
- always choose and only use
describe and it or another pairing - decided to use
it inside the context block, which requires several statements / tests to be done in a certain state of the application
Moving on to the second option, you can still follow the intention of "... wrap the [ping] test suite for the same functionality in the same state."
So your tests might look like this:
#
Thus, you will miss the feature keyword as a whole, which you can use for specific interface functions or, if you do FDD (development, managed function), which may feel uncomfortable for some. Ask your development team for input here.
Caution: it does not always follow industry standards, imagine if we modeled all our tests in accordance with the philosophy of Volkswagen?
GrayedFox Jun 19 '19 at 11:24 2019-06-19 11:24
source share