CSI Testing Process

Events happening in the community are now at Drupal community events on www.drupal.org.
You are viewing a wiki page. You are welcome to join the group and then edit it. Be bold!

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.sh for more info.