cashless2ecash

cashless2ecash: pay with cards for digital cash (experimental)
Log | Files | Refs | README

e-testing.tex (2236B)


      1 \section{Testing}
      2 
      3 Since the program leverages concurrency and parallizes work a simulation client and simulation program was implemented. The simulation allows to test the C2EC component while simulating the different involved parties like the terminal, wallet and the providers backend system. This setup allows to test and proof the functionality of the core. The Simulation can be used for regression testing and therefore can be run before introducing new features in order to check, that existing functionality will not be broken. The simulation can be configured with the specified configuration format. An example configuration can be found in the simulation source directory of the C2EC repository.
      4 
      5 Besides the automated tests, using the above mentioned simulation, unit tests were implemented for parsing, formatting and encoding functions. Additionally manual test were fulfilled to ensure the system behaves correctly. To test the wire-gateway API, the \textit{taler-exchange-wire-gateway-client} \cite{taler-exchange-wire-gateway-client} facility was used supplied by GNU Taler to verify the correct functioning of the API.
      6 
      7 In the end to approve the process, manual tests were executed. During this phase a few bugs were discovered which were not known before. After resolving them the system was ready to issue digital cash to the customer. During this phase tests were made with various means of payment: credit card, debit card, apple wallet (credit card). Also the withdrawal was tested using the IOS and Android version of the Taler wallet. Both platforms are working as expected.
      8 
      9 \subsection{Wallee Test System}
     10 
     11 The testsystem of Wallee has some behavioral specialities. The system will process payments based on the amount. After a short conversion with Wallee it was learned that following amounts will lead to approved payments:
     12 
     13 \begin{enumerate}
     14     \item[] 3.00 - Approved
     15     \item[] 4.00 - Approved
     16     \item[] 5.00 - Approved
     17     \item[] 6.00 - Approved
     18     \item[] 7.00 - Approved
     19     \item[] 8.00 - Approved
     20     \item[] 9.00 - Approved
     21 \end{enumerate}
     22 
     23 It appears that also other amounts will be approved but they were not listed by Wallee. The amounts in the list above are guaranteed to be approved.