Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How to survive your fellow teammembers and mana...

How to survive your fellow teammembers and managers

Avatar for Daan Vielen

Daan Vielen

May 13, 2016

Other Decks in Programming

Transcript

  1. How to survive your How to survive your fellow fellow

    teammembers and teammembers and managers managers
  2. “ As a user I want to buy a As

    a user I want to buy a t-shirt on the site" t-shirt on the site" 40 story points
  3. “ TD: As a user I want to TD: As

    a user I want to buy a t-shirt on the site" buy a t-shirt on the site" 2 story points - Create a separate column in the database for every size - Store all sizes in JSON field in one column ....
  4. “Expectation is the root of “Expectation is the root of

    all heartache.” all heartache.” William Shakespeare
  5. Everyone in the team Everyone in the team should know

    what to should know what to expect (and is expected) expect (and is expected) Management is also part of the team
  6. You earn a lot of money by You earn a

    lot of money by selling support hours for selling support hours for bugfixes bugfixes
  7. If there is no culture of If there is no

    culture of testing.... START testing.... START
  8. Don't press refresh Don't press refresh only re run the

    test import pytest from django.core.urlresolvers import reverse def test_tshirt_detail(self, client, tshirt): url = reverse('shop:tshirt-detail', kwargs={'pk': tshirt.pk}) response = client.get(url) assert response.status_code == 200
  9. Most people do test, but Most people do test, but

    they throw the test away they throw the test away after using it after using it
  10. Line of defence against Line of defence against teammembers teammembers

    also it will be easier not to break code of someone else
  11. Every developer should Every developer should know how to perform

    a know how to perform a codereview codereview Not only the senior developers
  12. Increases the bus factor Increases the bus factor the number

    of team members that can be unexpectedly lost from a project ("hit by a bus", as it were) before the project collapses
  13. Help your team to review Help your team to review

    tell how your ticket should be tested - Checkout feature/DCNA-1234-Create-shop-detail-page - Run migrations - Run server - Go to admin - Add a category calles 'tshirts' - Add a product 'Test tshirt' with all sizes - Add a different price for every size - Go to /tshirts/test-tshirt/ - Add the shirt of a particular size to shopping basket - Check if shopping basket is updated - Check if price correct - Add an other tshirt of different size - Check if price is correct - Go to checkout