(Almost) Frictionless Testing: Removing the Pain from TDD Erik Peterson

Slides:



Advertisements
Similar presentations
Exploring Machine Learning in Computer Games Presented by: Matthew Hayden Thurs, 25 th March 2010.
Advertisements

xUnit Test Patterns (Some) xUnit Test Patterns (in practice) by Adam Czepil.
Peli de Halleux Senior Research Software Design Engineer Microsoft Research.
My New Year Resolutions For 2012 By Jordan W.. Definition for Resolution The action to solving a problem New Oxford American Dictionary.
A turtle family decided to go on a picnic. The turtles, being naturally slow about things took seven years to prepare for their outing. Finally the turtle.
Unit Testing ASP.Net MVC
Sunita Sarawagi.  Enables richer forms of queries  Facilitates source integration and queries spanning sources “Information Extraction refers to the.
My Beats Karen Tipping Dylan Barrett Mike Smith. Overview Goal: To dynamically create tracks for guitar hero using any song as input. Terminology for.
Test-Driven Development With Visual Studio 2005 Erno de Weerd Info Support.
Mapping HealthCare Center Presenter: Mr. Menglim SMAE Mr. Saovorak KHOY Royal University of Phnom Penh 1.
Is it easy to be young?. Why is the teens’ life difficult? What problems do teens have? What are the reasons of the problems? Who can solve the problems?
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
Stimulsoft Reports.Net 20 Problems which Stimulsoft Reports.Net solves
MondayTuesdayWednesdayThursdayFriday 8h à 10h10 10h20 à 11h20 INDIVIDUAL GRAMMAR INDIVIDUAL GRAMMAR 12h20 à 14h30 14h40 à 15h40 CONVERSATION INDIVIDUAL.
ArcGIS Server Cadre Bad name, good mission Wyatt Pearsall.
Oracle Designer.  What is Oracle Designer?  What does Oracle Designer do?  How does Oracle Designer aid in the Systems Development Life Cycle?  Other.
Test Driven Development Arrange, Act, Assert… Awesome Jason Offutt Software Engineer Central Christian Church
@DNNCon Don’t forget to include #DNNCon in your tweets! Effective Unit Testing for DNN James McKee Solutions Developer / Enterprise
Backing up a Database Using RB2000 Start and End of the Day Module.
Mock Objects in Action Paulo Caroli & Sudhindra Rao Agile 2009 © ThoughtWorks 2008.
Salvation Is Here Words and music by Joel Houston God above all the world in motion God above all my hopes and fears I don’t care what the world throws.
Unit Testing ASP.Net MVC Craig Berntson Mojo Software Worx.
Testing and Plotting Simple Slopes of Interaction Effects.
Loop Analysis and Repair Nafi Diallo Computer Science NJIT Advisor: Dr. Ali Mili.
Reading Attention Quiz. 1. When I read, I... let my mind wander 1 - most of the time 2 - sometimes 3 - almost never.
Left Cross A motorist fails to see a cyclist and makes a left turn--it accounts for almost half of all bike-car crashes. How to avoid this collision: Watch.
Test-Driven Development Eduard Miric ă. The problem.
Project Summary My project is a training tool designed to help new programming students learn to code. The project will measure the student's programming.
Decimals 100 Game Will you be the first to put the decimals in order? Simply arrange them from smallest to largest. It’s easy! But don’t get too confident…
1 Running Experiments for Your Term Projects Dana S. Nau CMSC 722, AI Planning University of Maryland Lecture slides for Automated Planning: Theory and.
INDIVIDUAL LEARNING PLAN YOUR PERSONALITY TYPE OR HOLLAND CODE.
The Intranet Challenge: Keeping Content Fresh Cindy L. Chick Special Libraries Association June 11, 2002.
Techniques for List Creation (2) Data formatting and control level processing Basics for Interactive Lists Detail lists The Program Interface Interactive.
Pauoa Elementary School Room C-8. My story Problem The candy store opens at 5:05 AM. The candy store closes at 6:55 AM. What is the elapsed time?
What Your Employer Expects! Mrs. Westbrook Work Based Learning Coordinator Douglas County High School.
By: Vivian W.. For movement, I made the turtle and the kodu move. Some pros of movement was that you could make the kodu do a bunch of different actions.
Container Classes. How do we do better? Tough to delete correctly: startLocation.
Self Reflection Are you meeting your target on your target card? Why/Why not? Are you meeting your target on your target card? Why/Why not? Read through.
A Just Right Book How Do I Know? Help!!! Too Easy You have read the book a lot. You understand the story very well. You know all or almost all the words.
Testing WebForms w/ Model-View-Presenter Erik Peterson.
Left Brain-Right Brain Test Objective: Students will complete a test to determine whether they are a right-brain or left-brain person.
Beginning Software Craftsmanship Brendan Enrick Steve Smith
Smalltalk Testing - SUnit
Facets of Core Competencies and Sample Prompts
Solving Word Problems Using the CUBES method.
Testing and Plotting Simple Slopes of Interaction Effects
Hire Toyota Innova in Delhi for Outstation Tour
Whole Health in Your Practice
Malwarebytes Not Working after Update
Structured Query Language (SQL) William Klingelsmith
Testing in PowerShell Powered by Pester NATHAN ZIEHNERT 5/25/2018.
Soil Analysis.
Solve: 1. 4<
أنماط الإدارة المدرسية وتفويض السلطة الدكتور أشرف الصايغ
MOCK TEST 10 ( ) DETAILED ANALYSIS.
TDD & ATDD 1/15/2019.
Test Driven Development
Health Health: Learning Experience 13
Test Driven Development
Reference datasets.
C.2.10 Sample Questions.
C.2.8 Sample Questions.
C.2.8 Sample Questions.
© 2012 Snack Music Productions
CSC 497/583 Advanced Topics in Computer Security
Gapfill - answers I don't want a lot for Christmas

Plenary
Presentation transcript:

(Almost) Frictionless Testing: Removing the Pain from TDD Erik Peterson

Why Does TDD Fail? Confusing Record/Playback model Setting up a lot of context Difficulty setting up/tearing down databases

Specifications aka Unit Tests

The Record/Playback Model Solved by the AAA Syntax: Arrange Act Assert

Generating Mocks Solved using reflection Can be retrieved from a dictionary

Mapping Tests aka Integration Tests

My Requirements for an Integration Test 1. The ability to pass sample data into a method so that you can write tests against it

My Requirements for an Integration Test 2. The ability to allow data you don’t care about be dynamically generated behind the scenes so that you don’t have to worry about it

My Requirements for an Integration Test 3. The data generated by the tests should be easy to clean up so that the database is left in a clean state