OK, the workshop is in exactly 1 week's time, here's the page on the
skillsmatter site :

http://skillsmatter.com/podcast/agile-testing/tdd-django-selenium

Book now to avoid disappointment!  i've got  to keep capacity a bit
limited, because it's meant to be an interactive workshop, not a
talk... everyone needs to follow through on pcs etc etc.

I think I've managed to get some sponsorship for beers & pizza too,
will keep y'all posted!

Here's my talk summary:

This workshop will cover the same materials as the official Django
Tutorial, but using TDD at every stage - so, before any production
code gets written, we'll be writing functional tests (aka acceptance
tests) with Selenium, and then detailed unit tests.

Workshop outline:
- project setup.  django startproject, startapp.  downloading
selenium, and the automated FT runner (will be supplied)

- testing the django-admin site. logging in, creating a Poll object,
creating associated choices.
    - unit tests for django models
    - models.py

- testing the 'normal' parts of the site
    - unit tests for django urls, views.  the Django Test Client
    - urls.py, views.py
    - django templates

- advanced topics (depending on time)
    - django forms
    - using mock.  discussion: when to mock, when not to.
    - javascript unit testing


Who is this for?

Maybe you've done a bit of Python programming, and you're thinking of
learning Django, and you want to do it "properly". Maybe you've done
some test-driven web development in another language, and you want to
find out about how it all works in the Python world. Or maybe you've
been using Python and Django for ages, and you've always toyed with
the idea of getting into TDD, but you've never quite got round to it,
and you want to find out what it's really like, in practical terms.
Or, maybe you've done some Python testing, but you've never used
Selenium and you want to find out more about that.

Why should you listen to me?

I was lucky enough to get my first "proper" software development job
about a year ago with a bunch of Extreme Programming fanatics, who've
thoroughly inculcated me into their cult of Test-Driven development.
Believe me when I say I'm contrary enough to have questioned every
single practice, challenged every single decision, moaned about every
extra minute spent doing "pointless" tests instead of writing "proper"
code. But I've come round to the idea now, and whenever I've had to go
back to some of my old projects which don't have tests, boy have I
ever realised the wisdom of the approach.
So, I've learnt from some really good people, and the learning process
is still fresh in my mind, so I hope I'll be good at communicating it.
Most importantly, I still have the passion of a recent convert, so I
hope I'll be good at conveying some enthusiasm.


thanks for all the interest!  And, if you can't make it, I'm sure (as
long as it goes well) that we can schedule a follow-up!

HP
On Tue, Nov 8, 2011 at 3:11 PM, Harry Percival <harry.perci...@gmail.com> wrote:
> Looks like Wednesday the 16th - eventbrite/lanyrd/something invitation to
> follow!
>
> On Fri, Oct 21, 2011 at 2:22 PM, Harry Percival <harry.perci...@gmail.com>
> wrote:
>>
>> OK, am keen to keep the ball rolling on this!  About 20 people have
>> expressed an interest.
>>
>> I don't think I'm going to try and co-opt the next "proper" dojo session
>> of Nov 4th, but I'd like to do it soon - maybe a week or two after that.
>>
>> Here's a doodle - expression your timeslot preference!
>>
>> http://www.doodle.com/x5sw7xmcpb92pbia
>>
>> location: probably skillsmatter, so Clerkenwell/Farrringdon/Old st.
>>
>> cheers all!
>> hp
>>
>>
>>
>> On Fri, Oct 14, 2011 at 4:23 PM, Gabriel Reis <gabriel...@gmail.com>
>> wrote:
>>>
>>> +1 here!
>>>
>>>
>>> Gabriel Reis
>>>
>>>
>>>
>>> On Fri, Oct 14, 2011 at 2:06 PM, James Browne <james.bro...@gmail.com>
>>> wrote:
>>> > +1 from me too. Would definitely attend.
>>> >
>>> > Thanks,
>>> >
>>> > James Browne
>>> >
>>> > On 13 October 2011 17:26, Harry Percival <harry.perci...@gmail.com>
>>> > wrote:
>>> >>
>>> >> Hi-ho python peeps,
>>> >>
>>> >> Would anyone be interested in a dojo / worksop on the topic of
>>> >> test-driven
>>> >> Django development, with Selenium?
>>> >>
>>> >> I've been working on a tutorial on the topic
>>> >> (<https://github.com/hjwp/Test-Driven-Django-Tutorial> *) . I'm not
>>> >> claiming
>>> >> to be a massive expert, but it's what I've learned at work over the
>>> >> last
>>> >> year or so, so it's fresh in my mind... I'm pretty sure I could get a
>>> >> couple
>>> >> of (ex?) colleagues to help present...
>>> >>
>>> >> Would be aimed at beginners / people who don't know Selenium / people
>>> >> who
>>> >> want to learn Django the "right" way / people who want to learn TDD...
>>> >> If
>>> >> you already know Django and Selenium back to front, it would probably
>>> >> be of
>>> >> less interest, although there may be some interesting discussions
>>> >> around
>>> >> integrating the Django test runner, WebDriver vs Selenium-RC etc...
>>> >>
>>> >> So, trying to get an idea of numbers - would anyone be interested?
>>> >> London
>>> >> area, venue suggestions also gratefully accepted...
>>> >>
>>> >> HP
>>> >>
>>> >> * work in progress!  for example, the .jar file really isn't
>>> >> necessary...
>>> >>
>>> >> --
>>> >> ------------------------------
>>> >> Harry J.W. Percival
>>> >> ------------------------------
>>> >> @hjwp
>>> >> Mobile:  +44 (0) 78877 02511
>>> >> Skype:         harry.percival
>>> >>
>>> >>
>>> >> _______________________________________________
>>> >> python-uk mailing list
>>> >> python-uk@python.org
>>> >> http://mail.python.org/mailman/listinfo/python-uk
>>> >>
>>> >
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > python-uk mailing list
>>> > python-uk@python.org
>>> > http://mail.python.org/mailman/listinfo/python-uk
>>> >
>>> >
>>> _______________________________________________
>>> python-uk mailing list
>>> python-uk@python.org
>>> http://mail.python.org/mailman/listinfo/python-uk
>>
>>
>>
>> --
>> ------------------------------
>> Harry J.W. Percival
>> ------------------------------
>> Twitter: @hjwp
>> Mobile:  +44 (0) 78877 02511
>> Skype:         harry.percival
>
>
>
> --
> ------------------------------
> Harry J.W. Percival
> ------------------------------
> Twitter: @hjwp
> Mobile:  +44 (0) 78877 02511
> Skype:         harry.percival
>



-- 
------------------------------
Harry J.W. Percival
------------------------------
Twitter: @hjwp
Mobile:  +44 (0) 78877 02511
Skype:         harry.percival
_______________________________________________
python-uk mailing list
python-uk@python.org
http://mail.python.org/mailman/listinfo/python-uk

Reply via email to