TDD & PP Workshop for Sterias FHS og T&D team, 9. desember, 2010 Johannes Brodwall Anders Karlsen.

Slides:



Advertisements
Similar presentations
Combinations Examples
Advertisements

Implementing the Poker Game in Jess Vanmoerkerke Frederik Project APLAI.
Mock Objects. Unit-testing and TDD are challenging They require some effort to: – Write a test for a small functionality – Refactor production code and.
Extreme Programming Live WeActuallyBuildStuff Johannes Brodwall Exilesoft Chief Guest starring: Chaminda Sooriyapperuma.
ITEC 370 Lecture 25 Lifecycles. Review Questions? F give prototype demonstration –Testing plan for your software Life cycles –Scrum (Roles, Meetings,
Dealer Comm Hand Player makes Ante bet and optional Bonus bet. Five cards are dealt to each player from the shuffler. Five cards are dealt from the shuffler.
 An Agile Architect in Large Scrum projects Johannes Brodwall Chief scientist, Steria 
© ThoughtWorks, 2008 Improving Productivity and Quality With Agile Patrick Kua.
Counting Principles The Fundamental Counting Principle: If one event can occur m ways and another can occur n ways, then the number of ways the events.
Chapter 3b Counting Rules. Permutations  How many ways can 5 students in a class of 30 be assigned to the front row in the seating chart?  There are.
Intro to Probability & Games
Quality assurance of agile software engineering Shipeng Xu.
Programming with eyes wide open. Your host today Subby Angelov Team
Introduction to Agile Methodologies and Concepts Roy Osherove Principal, Team Agile Blog : ISerializable.com.
Test Driven Development Coding Katas ADRIAN O’SULLIVAN, LEAD APPLICATION DEVELOPER DEUTSCHE BANK GLOBAL TECHNOLOGY.
1 The game of poker You are given 5 cards (this is 5-card stud poker) The goal is to obtain the best hand you can The possible poker hands are (in increasing.
TEST-DRIVEN DEVELOPMENT AND MVP Cory Foy and Michael Russo.
TDD,BDD and Unit Testing in Ruby
Coding Dojo Agile Riga Day 2012 Johannes Brodwall, Principal Architect Steria
Extreme Startup Agile Riga Day 2012 Johannes Brodwall, Principal Architect Steria
Agile Awareness Workshop 2008 Flavours of Agile II eXtreme Programming V I K A S H A Z R A T I June 14' 2008.
Remote Pair Programming Agile 2013 Johannes Brodwall Exilesoft Chief Guest starring: Niruka Ruhunage.
Agile and XP Development Dan Fleck 2008 Dan Fleck 2008.
Poker Solutions.
Game Rules Rules define game objects and define allowable actions by the players.
3.8 Counting Techniques: Combinations. If you are dealt a hand in poker (5 cards), does it matter in which order the cards are dealt to you? A  K  J.
1 Melikyan/DM/Fall09 Discrete Mathematics Ch. 6 Counting and Probability Instructor: Hayk Melikyan Today we will review sections 6.4,
Tulsa.NET User Group INTRO TO OBJECT ORIENTED PROGRAMMING.
Experience Agile Programming SDC 2012, Göteborg Johannes Brodwall Steria Featuring: Ole Chr Rynning.
Coming up: What is Agile? XP Development Dan Fleck 2010 Dan Fleck 2010.
Going to Sri Lanka Miles Johannes Brodwall, Chief scientist Exilesoft Global.
Clear Lines Consulting · clear-lines.comSilicon Valley Code Camp 2008 · Nov 8, 2008 · 1 Test-Driven Development An introduction for C# developers.
Cerberus. Introduction Cerberus is test case generator tool. Used for automation of unit testing.
Extreme Programming.
Future Media  BBC MMXI TDD at the BBC David Craddock, Jack Palfrey and Tom Canter.
SCRUMBAN?!?! What is it and how can it help your team?
Test driving to clean CODE Kenrick Chien CTO, Critical Phase.
AP-1 4. Agile Processes. AP-2 Agile Processes Focus on creating a working system Different attitude on measuring progress XP Scrum.
Process Presentation 27 th May 2010 Team BASH Sher Jun Tan, Rosh Sam Abraham, Sascha Morris, Waqas Khalid Lone, Rafael.
Scalatest. 2 Test-Driven Development (TDD) TDD is a technique in which you write the tests before you write the code you want to test This seems backward,
Test-Driving ASP.NET Development Tampa Code Camp – July 15 th, 2006 Cory Foy
Phoenix Scrum User Group Simplifying Scrum Online May 21 st 2009.
Experience Agile Programming XP Days Ukraine Йоханнес Бродвалл, Just-a-programmer Стерия
CS Lecture 8 Developing Your Counting Muscles.
Engineering Practices Necessary for Scrum andrew fuqua enterprise agile coach LeadingAgile, LLC
Experience Agile Programming Agile Meetup, Sri Lanka Johannes Brodwall Steria Featuring: Shihan Iqbal.
By: John Cook 11/06/2009 PTTE John Cook 3/4/2016.
Coding Dojo Sofware People 2012 Johannes Brodwall, Principal Architect Steria
Kanban Advanced Software Engineering Dr Nuha El-Khalili.
RATIONAL UNIFIED PROCESS PROCESS FRAMEWORK OVERVIEW.
Texas Holdem A Poker Variant vs. Flop TurnRiver. How to Play Everyone is dealt 2 cards face down (Hole Cards) 5 Community Cards Best 5-Card Hand Wins.
Coming up: What is Agile? XP Development Dan Fleck 2010 Dan Fleck 2010.
Introduction to Software Engineering Muhammad Nasir Agile Software Development(3)
Probability Intro. Coin toss u Toss two coins 10 times keeping track of the results (head/tails) u Now toss 3 coins 10 times u Make a chart of all the.
Manifesto for Agile Software Development
Quick Intro to Kanban followed by a demo
THE TEXAS HOLD’EM.
Waterfall and Agile Quality Techniques
Code Reviews From Hell And Automatizations.
Johanna Rothman Create Technical Excellence Chapter 9
Probability of casino games
Mathematics for Computer Science MIT 6.042J/18.062J
TDD adoption plan 11/20/2018.
Permutation – The number of ways to ARRANGE ‘n’ items ‘r’ at
Integers.
Lincoln Agile Community & Lincoln.code() - 11/02/16
TDD & ATDD 1/15/2019.
Combinations.
Term Project: Poker Game
A quick intro to SCRUM and KANBAN By John Voris.
Presentation transcript:

TDD & PP Workshop for Sterias FHS og T&D team, 9. desember, 2010 Johannes Brodwall Anders Karlsen

TODO: MAKE NICE Intro 10m Prep: Fizzbuzz (UncleBobs regler) – 25m Dojo: Yahtzee 45m Prep: Tennis (Johannes regler: Enklest test, enklest kode,kode guider test) – 35m Lunsj – 60m 20m lean vs agile Dojo: Poker 90m 13:50 Legacy demonstrasjon Diskusjon

Lean vs Agile

LeanAgile By invitationIncluding DesigningDoing Feed forwardFeedback High throughputLow latency PlannedReactive/adaptive Create models of the worldShare models of the world ProcessPeople Manage complex problems StandardizeInspect and adapt

Test-driven development

Uncle Bob’s Rules No code without test Only enough test for red Only enough code for green

Demo: FizzBuzz

What to watch for

How we interact How we use Eclipse The design of the code The design of the tests Refactorings

What did you notice?

Code dojo: Yahtzee

Test-driven development (recap)

Uncle Bob’s Rules No code without test Only enough test for red Only enough code for green

Test-driven design

Johannes’s Rules Test for simplest structure Implement simplest structure Use limitations in code to guide next test Refactor all the time

Johannes’s Rules Test for simplest structure Implement simplest structure Use limitations in code to guide next test

Demo: Tennis

Code dojo: Poker hands

High card Pair Two pair Three of a kind Straight Flush Full house Four of a kind Straight flush

Real world testing

Rules Arrange Act Assert

Demo: Legacy code

Recap Uncle Bob’s rules Johannes’s rules Arrange-act-assert

Working together Scrum board with magnets Rotate pairs daily Pair programming star

Open discussion

Takk for oppmerksomheten twitter.com/jhannes twitter.com/anderskar