A Pecha Kucha by Curt Gratz.  Husband  Dad  Coach  Youth leader  Co-owner of Computer Know How  Member of TEAM ColdBox.

Slides:



Advertisements
Similar presentations
Attention (your target market) !. Are you (their problem) ?
Advertisements

If Teams held a bake sale, or something similar to one, that would be another great way to raise money for sports Teams. This money could go towards.
Facebook 101 Yui-Wah (Clement) Lee 李銳華 leeyuiwah.blogspot.com © Yui-Wah Lee 2008 怎樣在「俾面相簿」拋頭露面 Available from:
Intro to Computer Org. Pipelining, Part 2 – Data hazards + Stalls.
How to Enhance Personal Productivity By Janet Hadley
#IWishMyTeam Growing Effective Agile Chief Scientist – Bouvet.no.
Automated Testing but like For PowerShell Rob Reynolds.
Butterfly Life Cycle. This butterfly is laying eggs on parsley.
1/10Mikey Davis30 August 2013 Multi-point Sample Averaging.
Hobbies: Social networking YOU TUBE FACE BOOK MYSPACE.
EXtreme.NET Dr. Neil Roodyn. eXtreme.NET Who is Dr. Neil? MISSION: To increase the value of your Software Business Working with software for way too long.
The Downside to DRM. What is DRM? “Digital Rights Management” Software used to control access to copyrighted material Protect company from piracy.
1 Course Intro Construction & Evolution CSSE 375 Steve Chenoweth.
Computer Engineering 203 R Smith Agile Development 1/ Agile Methods What are Agile Methods? – Extreme Programming is the best known example – SCRUM.
1 CMSC 132: Object-Oriented Programming II Software Development III Department of Computer Science University of Maryland, College Park.
Quality Does not Belong with the Tester! Maaret Pyhäjärvi | Twitter: maaretp Maaret Pyhäjärvi Nimeä | Attribution (Finland)
Agile Development in Action Applying agile development practices to connect a blog with LiveWriter by: Mike.
Big Projects  Part of this class is about picking a cool software project and building it 1.
Living Requirements using Behavior Driven Development
Unit Testing Tips and Tricks: Database Interaction Louis Thomas.
By for Test Driven Development: Industry practice and teaching tool Robert Vanderwall, Ph.D. 1 WISTPC-15.
Iterator COMP 401, Spring 2013 Lecture 07 1/31/2013.
Unit 1 – Improving Productivity. 1.1Why did you use a computer? What other systems / resources could you have used? I could have used a pen and paper.
Using Nagios XI To Empower Your Developers To Own Their Own Checks Nick Winn Twitter: technick Nagios Forums: technick.
Experiences from years of agile coaching by Jimmy Nilsson.
1 Advanced Computer Programming Project Management: Methodologies Copyright © Texas Education Agency, 2013.
WELCOME COACHES to the PARK VALLEY UNITED FUTBOL CLUB.
Placement Strategy. Importance of Placement Placement strategy is one of the most important parts of your business to understand because it can have a.
Geometry 10 Mr. Nash 2008 – 2009 Lebanon City Schools.
Where Are My Leads Coming From How to have a conversation with your prospects Presented by: Jordan Hatch.
Kidblog Overview for Liaisons and ETITs Find helpful resources at: bcpsDDLpd.pbworks.com.
Math By Kaylee D. What have you found challenging about math this year? This Year I think something challenging was the pace of the math class. I think.
Clear Lines Consulting · clear-lines.comSilicon Valley Code Camp 2008 · Nov 8, 2008 · 1 Test-Driven Development An introduction for C# developers.
© ALEXANDRE CUVA  VERSION 2.00 Test Driven Design.
@DNNCon Don’t forget to include #DNNCon in your tweets! Effective Unit Testing for DNN James McKee Solutions Developer / Enterprise
Questions, Questions, Questions. I like to ask questions. I can ask questions to learn new things.
Why Is Obama A Good Leader?
ROBOT: TOM SPRING 2014 Team Members: Laura Romito Nathan Lively Ling Lin Edgar Aldahondo.
1©2015 Public Impact OpportunityCulture.org Flip through each thought bubble until you get to a card that says stop. Then pause for the next talking interchange.
November 20, 2015 FOR YOUTH DEVELOPMENT FOR HEALTHY LIVING FOR SOCIAL RESPONSIBILITY YMCA of Boulder Valley TRAINING HOME (formally referred to as Dev.
Refactoring & Testability. Testing in OOP programming No life in flexible methodologies and for refactoring- infected developers without SOME kind of.
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,
10 When even JSTL is not enough: custom tag development Sometimes JSTL and standard actions aren’t enough. When you need something custom, and you don’t.
Python Let’s get started!.
(1) Test Driven Development Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences University of Hawaii Honolulu.
Do’s and Don’t's of Accreditation Visits Barbara Ford San Francisco State University.
Transition Improvement Plan (TIP) Introduction to the TIP and Setting Up Your Teams and Plans
Refactoring Agile Development Project. Lecture roadmap Refactoring Some issues to address when coding.
Mobile Application Design and Development Insert Your App Name Here Northeastern University1 Name of App Tagline (80 chars max, including spaces) Put your.
Written by: Dr. JJ Shepherd
Test Driven Development Introduction Issued date: 8/29/2007 Author: Nguyen Phuc Hai.
Writing Better C# Using C# 6 By: Mitchel Sellers.
Defending Skills. What do we mean by defending skills? What are some examples of ways we can defend ourselves?
Part 1: Composition, Aggregation, and Delegation Part 2: Iterator COMP 401 Fall 2014 Lecture 10 9/18/2014.
Instructor: Chris Trenkov Hands-on Course Python for Absolute Beginners (Spring 2015) Class #003 (February 14, 2015)
The Best Prepared Wins Tips For Better Presentations.
Unit Testing CLUE PLAYERS.  How much design do we do before we begin to code?  Waterfall: Design it all! (slight exaggeration… but not much)  Agile:
WEEK 1 Why a writing course?. Why bother with writing? Because good writing is a key part of effective communication Because good writing can lead to.
Name of App Tagline (80 chars max, including spaces)
Test-driven development
10 Mistakes that Kill Sales Calls
Social networking tools (powerpoint extract)
Test-Driven Development
Name of App Tagline (80 chars max, including spaces)
MTSS Implementation Checklist for Behavior
Image Link You can also turn any image element into a link. Click the image you want to use, then select Link from the image toolbox.
Example of A* A (4,0) 4 OPEN: (A4) CLOSED: ().
State Design Pattern Brandon Jacobsen.
Name of App Tagline (80 chars max, including spaces)
Placement Strategy.
Presentation transcript:

A Pecha Kucha by Curt Gratz

 Husband  Dad  Coach  Youth leader  Co-owner of Computer Know How  Member of TEAM ColdBox

 Because your immature  Because the functionality your unit testing is HARD  Because the functionality your trying to build relies on something that isn’t built yet  Because you want to control the expectations

 When it’s appropriate… When using TDD (Test Driven Development) When your early in the development cycle When your agile and you need results from functionality not built yet You're mocking me, aren't you?

 Prior  Planning  Prevents  Piss  Poor  Performance

 Lots of techniques  Develop your mocking framework  MockBox  Enough already, on to some code examples…

 Inside a ColdBox application  Outside a Coldbox application

 In my handler I would do something like this to “Mock” my data.  And then my view would use that information.

 In my handler, I want my fully implemented code to be this  And my view would still be the same

 Mock right in the function Still have to touch the function  Create an object to do mocks Good technique outside ColdBox In ColdBox, it could be an interceptor object  preHandler() This is my preferred technique  So, let’s mock our example already…

 rc.userID Let it come from a form or URL Set it in the preHandler() No need to mock, as it’s a simple value and will be in our fully implemented “example”

 UserService  model.User.UserService

 clearMethods? If true, all methods in the target mock object will be removed You can then mock only the methods that you want to mock  callLogging? Add method call logging for all mocked methods only Get statistics on mocked calls, effects $results

 UserService.get()  model.User.User

 $ ????? Shortcut for mockMethod ○ This is the method that you will call upon in order to mock a method's behavior and return results ○ Can even throw an exception (throwException)

 user.getName()  user.getVisitCount()

 $results ??? Shortcut for mockResults ○ Comma delimited list ○ Cycles through list each time the mocked method is called ○ I.e. (5,6,7,5,6,7….)

 In my handler I can have my fully implemented code to be this…  And my view would still look like this…

 More information about MockBox Get  Contact information Blog: Twitter: gratzc MSN IM: