Details
-
Type: Sub-task
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.4.7
-
Fix Version/s: 4.2.0
-
Component/s: Accounting Integration
-
Labels:None
Description
Objective: to develop a test suite for accounting data schema initiative that will test CRUD operations on all tables and fields affected, ensuring that browser inputs are accurately reflected in database values. This will include both unit tests, as well as Selenium tests.
Extensions of existing Selenium functional tests will ensure that browser level integration tests cover additional fields, forms and pages affected by CiviAccounts data schema changes.
An additional type of test midway between pure integration tests and pure unit tests will verify that browser level inputs are accurately reflected at the database level in the new schema. An existing Selenium functional test, OnlineContributionTest, will be refactored so that data values inserted into browser fields can be passed later to a function that will verify they are in the correct place in the database.
Once a 3.4 version is complete, a 4.1 version will be developed and committed to the v4.1.civiaccounts branch.
The intent is that this test will provide a prototype pattern that can be replicated for other functional tests for forms and pages affected by the civiaccounts data schema changes. The 4.1 version of these tests will provide a formal specification and set of acceptance tests for the CiviAccounts data schema initiative.