Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Helper links
https://www.drupal.org/simpletest-tutorial-drupal7
Comment | File | Size | Author |
---|---|---|---|
#5 | modulename.test | 1.51 KB | chiranjeeb2410 |
#5 | simpletest.png | 43.23 KB | chiranjeeb2410 |
#5 | node_create2.png | 61.1 KB | chiranjeeb2410 |
#5 | node_create1.png | 46.84 KB | chiranjeeb2410 |
Comments
Comment #2
naveenvalechaComment #3
chiranjeeb2410 CreditAttribution: chiranjeeb2410 at Google Summer of Code commentedWould be working on this.
Comment #4
chiranjeeb2410 CreditAttribution: chiranjeeb2410 at Google Summer of Code commented@naveenvalecha,
After enabling the simpletest_example module and going through the steps mentioned in the doc, do we need to build the test in a new simpletest_example.test file and link it to the .info file or make changes within the existing one?
Comment #5
chiranjeeb2410 CreditAttribution: chiranjeeb2410 at Google Summer of Code commented@naveenvalecha,
Built a test for SimpleTest Example and able to create node for specific testing. However, while running the SimpleTest Web Interface, SimpleTest Example doesn't show up.
Comment #6
naveenvalechayou need to provide the patch file for your changes. See how to create the patch https://www.drupal.org/node/707484
//Naveen