Test example 10 – how to construct an extensive scenario
To give an illustration of the above, we elaborate on another part of our customer wish.
Note
In this example, we focus on the specifics discussed above, not on the whole implementation – test and app code – of the scenarios. As such, our discussion will not follow the order of the TDD red-green-refactor mantra and will only include code if it is relevant for the context. The completed test and app code can be found in the GitHub repo.
Customer wish
In the business logic description of our customer wish it is mentioned that:
This is expressed in the following two scenarios:
[FEATURE] LookupValue Warehouse Shipment [SCENARIO #0030] Create warehouse shipment from sales order with ...