zkt24/stockmanager/target/test-classes/features/Stocks.feature
2024-04-16 17:33:02 +02:00

11 lines
451 B
Gherkin

Feature: Retrieving Stocks
Scenario: Should be able to get a list of all stocks
Given the application has been initialised with test data
When the client gets all stocks
Then a list of 5 stocks will be returned
Scenario: Should be able to get the correct SKU for the first stock
Given the application has been initialised with test data
When the client gets all stocks
Then the stock at index 0 will have the sku 12345678