Topic 2-12

Events happening in the community are now at Drupal community events on www.drupal.org.
meustrus's picture

The next Drupalcorn meeting is approaching! In January, it was suggested that I should present about using simpletest. I am looking into preparing something and I would like to know first: what sort of custom modules has our group written? I am thinking it would reduce my effort needed to draw from the examples project; do any of the modules in that project look like relevant subjects for our group?

Of course if there's another topic in the works I wouldn't mind waiting for another time.

Comments

Meeting Location

AnnGreazel's picture

Ames Public Library
Dale H. Ross Board Room

515 Douglas Ave.
Ames, IA 50010

Map: https://goo.gl/maps/Ff7KP

Thanks for the location info

jrearick's picture

Thanks for the location info Ann. I posted the event https://groups.drupal.org/node/456548

meustrus, thanks for volunteering to present this month. Using something from the examples project sounds like a good idea. I see there is a simpletest example in there already, so that might be a good one to look at. I think most people create modules via Features and will extend them with custom code to maybe add CSS or implement a form_alter or menu/page. I am interested in how to get started with simpletest in Drupal, what's required, how to implement basic tests. Some people might need to know why testing is important and maybe cover that there are other forms of testing other than unit testing.

I was thinking of going

meustrus's picture

I was thinking of going through the form_example module. There are already tests for everything but I'd like to do a bit of live test development so we can go through the process, then open up the actual test cases and compare. What other kinds of testing should we look into? Simpletest is typically geared for unit tests but I can demonstrate some simple integration tests if that would be helpful. Of course we can't do too much as we need to leave time for the distracted tangents.

That sounds like a great way

jrearick's picture

That sounds like a great way to demo simpletest. My comments on other types of testing is to make sure people know that Unit Testing is not the only type of testing and that other forms exist. Diving into another testing suite sounds like a whole other meeting. The distracted tangents sometimes are the best part of our meetings. Definitely worth buffering your time for that.

Central Iowa Drupal Users Group

Group categories

Category

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week