Posted by indytechcook on June 8, 2012 at 3:01pm
Last updated by indytechcook on Mon, 2012-06-25 18:23
Last updated by indytechcook on Mon, 2012-06-25 18:23
The process will follow Drupal.org Testing guidelines with SimpleTest
Testing Types
- Framework: Unit testing needed only. No Drupal integration.
- Plugin: Each plugin will have it's own Unit Test
- Integration Tests: The system will be tested as a whole without the UI
- Behavior Tests: Testing the flow fo the system in the UI. The System that will be used is still being investigating. Currently we are looking at BeHat.
- UI Testing: TBD
Creating Tests
- All Unit tests should extend
SPSBaseUnitTest - Tests can be run using the following command form drupal root
php scripts/run-tests.sh --color --verbose SPS - See the
php scripts/run-tests.shfor more info.