|
CoCoME System Tests | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
ManageExpressCheckoutBase | This is an abstract base class for specifiying test scenarios which should be executed in the express sales mode. |
ManageExpressCheckoutTest | This test covers use case 2 (ManageExpressCheckout). |
OrderAndReceiveProductsTest | This test covers use cases 3 and 5. |
ProcessSaleBase | This abstract class holds basic operations needed for a purchase and its variants as described in use case 1. |
ProcessSaleCashTest | This test covers use case 1 (ProcessSale) for cash payment without any exceptions. |
ProcessSaleConcurrentTest | This test covers use case 1 for multiple cash desks in parallel. |
ProcessSaleCreditCardFailTest | This test covers use case 1 (process sale) with exception in step 5.2 (credit card validation fails) |
ProcessSaleCreditCardTest | This test covers use case 1 (ProcessSale) for credit card payment without any exceptions. |
ProcessSaleInvalidItemIdTest | This test covers use case 1 (ProcessSale) with an invalid item id entered (excepetion in step 3). |
ProductExchangeAmongStoresTest | This test case covers use case 8 - prodcut exchange among stores |
TestScenarioBase | This is the base class for all test scenarios. |
This package contains the test scenarios for the trading system.
The tests are implemented against the interfaces in package org.cocome.tradingsystem.systests.interfaces
. Thus these are independet
from any actual implementation of the trading system. To be able to
execute the test scenarios here, the implementation of the before
mentioned interfaces by the test driver is necessary.
Every test class comprises a single test method void
testScenario()
. There are also a few base classes which are super
classes of the actual test classes. The base classes define parts of the
tests which are reused in more different tests. The top-level class is
TestScenarioBase
from which all other test classes inherit.
|
CoCoME System Tests | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |