New Years Resolution: Learn to write tests' Workshop

chachasikes's picture
Start: 
2010-01-09 10:30 - 12:15 America/Chicago
Organizers: 

Cross 'Learn to write tests in Drupal' off your New Year's resolutions - first thing in the New Year!

This is part of the Twin Cities Drupal Testing Weekend
You should plan to stay for the Test Sprint. This introduction is geared to get everyone you ready for the Test Sprint.

This introduction to test writing workshop is geared for people who have used Drupal and know some PHP. If you can write Drupal modules or theme a Drupal website, you should be just fine. (Don't worry, you don't have to write amazing modules or themes, either.)

  • We will talk about what tests are, what they do, and how they help you write good code.
  • We will walk through how to set up and run tests in Drupal 6 & 7.
  • We will run some tests.
  • We will make a simple module and write a basic test for that module. Then we will run it.
  • We will look at the Simpletest API & the Drupal specific testing functions, so you can see how to apply test writing to more complicated modules.
  • We will look at the issue queue to see where one can find requests for writing tests on drupal.org.

You will need to bring your own computer, with a locally hosted server.
The event is free.
Sign up, and we will email you with more details, and ask you some questions about your experience with Drupal prior to the event.
Number of participants limited to 12.

We will make sure there are some relatively simple test writing projects for people new to test writing. This will let you put what you've learned into action...and you will get to help improve a locally maintained Drupal modules.

(links to New Years Test Sprint and the Test Pancake Sprint in progress)

Location:
Advantage Labs Offices in the IATP Building
2104 Stevens Avenue South
Minneapolis, MN 55404
map

Previous Discussion

Comments

Out of town :(

ivan.stegic's picture

I'm going to be out of town that weekend: bummer! This sounds like it's going to be fun... do it again please?

Awesome! I'm in!

theunraveler's picture

Awesome! I'm in!

Update

chachasikes's picture

Hey everyone:

Here's an update about Saturday! So excited for the workshop and the test sprint!

We will start the intro to tests workshop on saturday at advantage labs at 10:30am. (I am getting there a smidge earlier)
The workshop will go on for an hour. During which time, other people will be making pancakes. At 11:30 we will eat pancakes.

At 12 we will start the test sprint, which goes until 5pm.

I am preparing for the workshop (still) - but I can tell you what you should bring to the workshop.

  • computer with a localhost environment (lamp, wamp, mamp etc)
  • code editor
  • firefox!

I am preparing a github that will let you download a preconfigured drupal 6 install, as well as a bunch of materials that will help you learn to write tests. Should be done by Friday morning so you can download it before the workshop. (github lets you download .zips)
(Here: http://github.com/chachasikes/TwinCitiesTestSprint -- (though currently empty))

Here are two (optional) assignments:
1. Look over the first 66.6% of the php manual's chapter on classes and objects: http://www.php.net/manual/en/language.oop5.php
2. Install git on your computer and make an account at http://github.com (not required, but it's awesome)

Looking forward to seeing you all!
Feel free to contact me if you have any questions.

-Chach

Twin Cities

Group organizers

Group notifications

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

Hot content this week