Add automated testing to Framaforms module
What we aim to do
Drupal 7 provides an automated testing framework which would allow functional (and unit) testing for all features of Framaforms. Tutorials can be found on drupal.org.
What point we got to
The process of developping these tests is stopped for now, as it doesn't seems to be possible to activate a Drupal Feature from within a testcase, as mentioned in this issue.
Since the framaforms_feature
module contains a lot of configuration such as the form1
content type and the associated user permissions, the development of these tests is paused as long as we don't follow one of these two solutions :
- manage to activate the feature from within the test's
setUp()
- pass every configuration that is currently in
framaforms_feature
down to theframaforms
module, which might take some time (but might not be a bad idea to begin with).