YAPC::Europe 2011 in Riga

YAPC::Europe 2011 “Modern Perl”

Twitter #ye2011    RSS       Log in

TEACHING CLASS | Testing with Perl

By Gabor Szabo (‎szabgab‎) from Israel.pm
Date: Thursday, 18 August 2011 10:00
Duration: 480 minutes
Target audience: Any
Language:
Tags: testing


***** NOTE: This class will be held in Konventa Seta hotel located at Kaleju iela 9/11. Look for directions at http://www.hotelkolonna.com/konventa-seta/how-to-find-us. *****

Date: 18th August

When you write a piece of code how do you know it is working as expected?

What do you mean? I know it works. I wrote it.

Some people go a step forward and manually test their code.

Once.

What happens when you go on vacation and a helpful co-worker
adds a feature? How do you know that the code still does
correctly everything it did before?

Will you go over all the application again?

Manually?

The advantage we have writing Perl is that it is very easy
to write small snippets of code to test other pieces of code.
If organized well they become a test suit.

When you first run the tests they will be called unit tests
or if they cover several parts of an application then they are
called integration tests.

The second time you run them they are already called
regression tests. They are the proof that the code is still
performing the same way as it did yesterday, the day before
and even after your co-worker "improved" it.

In this training we will learn how to write tests in Perl
in an effective way.

Price: 180 €.

To attend the class please buy a ticket at purchase page: http://yapceurope.lv/ye2011/purchase.

Attended by: