The design of the ea-Geier is test driven. Meaning, no function of the ea-Geier will exist without appropriate test features.
Unit Tests
SimpleTest provides unit tests, checking the functionality of each function or sub unit. Mock-up data and mock-up interfaces provide means of standardized regression testing.
At the moment we have 10 test cases with 612 unit tests:
- TestDate tests the date function
- TestDBWrapper tests the functionality of the database wrapper
- TestDBWrapperSession tests the session functionality
- TestInputWrapper tests the input functionality
- TestMail tests the mail functionality
- TestNewUser tests the functions to create new users
- TestNumbers tests the number manipulation functions
- TestSendPW tests the functions to create new passwords and send them to the user
- TestSmartyWrapper tests the layout functionality
- TestValidator tests the validation class
Interface Tests
The Selenium-Core test suit checks the functionality of the web interface of the ea-Geier.
At the moment we have 10 test cases with 79 test statements:
- the dummy test opens the ea-Geier main screen
- the new-user test checks the interface to create new users
- the send-password test checks the ‘send-password’ interface
- the login test checks the login interface
- the configuration test checks the configuration interface
- the cash-book test checks the cash-book interface
- the assets-book test checks the assets-book interface
- the purchase-book test checks the purchase-book interface
- the traveling-expenses test checks the purchase-book interface
- the accounting-balance test checks the accounting-balance interface