Spock - The Logical Enterprise Testing Tool

Size: px
Start display at page:

Download "Spock - The Logical Enterprise Testing Tool"

Transcription

1 NFJS Software Symposium Series 2013 Spock - The Logical Enterprise Testing Tool Ken Sipe

2 About Speaker Developer: Embedded, C++, Java, Groovy, Grails, C#, Objective C Speaker: JavaOne 2009 Rock Star, NFJS, JAX Microsoft MCP Sun Certified Java 2 Architect Master of Scrums Agile Coach Instructor: VisiBroker CORBA Rational Rose, OOAD

3 Agenda n Testing n Introduction to Spock n Mocking

4 Spock Intro 4

5 Spock is... n testing framework... n based on Groovy n fully compatible with JUnit n result of learnings from RSpec, BDD, JUnit 5

6 Spock Can... n Reduces lines of code n Make tests more readable n Be extended 6

7 JUnit 7

8 Taxonomy of JUnit

9 JUnit Pain Points? 9

10 Unit testing needs n Concise, Clear and Readable n Promote user thinking context stimulus expectations n Productivity 10

11 Groovy 11

12 Taxonomy of GroovyTestCase

13 Groovy and Testing

14 Groovy Power Assert Condition not satisfied: interest == calc.calculate(amt, year) com.math.simpleinterestcalculator@606e1dec false

15 Groovy Improvements n Concise, Clear and Readable n Promote user thinking context stimulus expectations n Productivity 15

16 Spock 16

17 Spock n Programmers Environment Groovy n Promotes Clarity structural blocks removes noise 17

18 Why use Spock? n Expressive testing language n Easy to learn n Usable from unit to end-to-end n Leverages Groovy n Runs with JUnit Runner IDE CI 18

19 Taxonomy of a Spec 19

20 First Spec

21 Terms n Specification compare to TestCase or GroovyTestCase Instructs JUnit to run with Sputnik (JUnit runner) n Fields initialized for each test think setup not shared between feature methods 21

22 More Fields n Shared Setup once think setupspec() n statics only use for constants 22

23 Fixture Methods n before / after a feature n before / after a spec n optional 23

24 Feature Methods n heart of spec n four phases setup the features fixture provide stimulus to system describes the response clean up 24

25 Blocks given: when: then: expect: where: and: setup: preconditions, data fixtures actions that trigger some outcome makes assertions about outcome short alt to when & then applies varied inputs sub-divides other blocks alias for given cleanup: post-conditions, housekeeping 25

26 Common Blocks n When / Then / Where n Given / When / Then 26

27 Blocks n setup must be first must be the only no special semantics label is optional label given: is an alias 27

28 When / Then Blocks n used together possible to have many per feature n then restrictions conditions exception conditions automatic asserts interactions variable defs 28

29 Conditions n checking for exceptions 29

30 Throwing an Exception NOT! 30

31 Mocks and Expectations 31

32 Cleanup on Feature X n cleanup block only followed by a where block no repeats 32

33 Where Blocks last in a method no repeats used for data-driven features 33

34 Helper Methods either return a boolean n or assert 34

35 Specification Functions and Spock.lang.* 35

36 n old() n thrown() / notthrown n with {} 36

37 @Subject 37

38 Spock.lang.* 38

39 39

40 Built-in dispose 40

41 Built-in @Timeout(value=10, unit=timeunit.milliseconds) 41

42 Built-in Extensions: 42

43 Hamcrest 43

44 JUnit Rules 44

45 SpockConfig 45

46 References n Getting Spock n Source from Presentation 46

47 Summary n Closing and Q&A Please fill out the session evaluation Ken Sipe n ken.sipe@gmail.com n kensipe.blogspot.com n

The ACK and NACK of Programming

The ACK and NACK of Programming NFJS Software Symposium Series 2012 The ACK and NACK of Programming Ken Sipe About Speaker http://kensipe.blogspot.com/ http://del.icio.us/kensipe twitter: @kensipe ken.sipe@gmail.com Developer: Embedded,

More information

JUnit in EDA Introduction. 2 JUnit 4.3

JUnit in EDA Introduction. 2 JUnit 4.3 Lunds tekniska högskola Datavetenskap, Nov 25, 2010 Görel Hedin EDA260 Programvaruutveckling i grupp projekt Labb 3 (Test First): Bakgrundsmaterial JUnit in EDA260 1 Introduction The JUnit framework is

More information

Tuesday, November 15. Testing

Tuesday, November 15. Testing Tuesday, November 15 1 Testing Testing Waterfall model show testing as an activity or box In practice, testing is performed constantly There has never been a project where there was too much testing. Products

More information

Testing with JUnit 1

Testing with JUnit 1 Testing with JUnit 1 What are we doing here? Learning the mechanics of how to write tests in Java using JUnit Without considering issues like coverage Using JUnit is sometimes called unit testing Unit

More information

Behaviour Driven Development with Java. Nikolay Vasilev 15 July 2011

Behaviour Driven Development with Java. Nikolay Vasilev 15 July 2011 Behaviour Driven Development with Java Nikolay Vasilev 15 July 2011 Content What BDD is? Jbehave JBehave and Selenium Jbehave Pros and Cons Questions and Answers References 2 BDD 3 Test-Driven Development

More information

JUnit 4 and Java EE 5 Better Testing by Design

JUnit 4 and Java EE 5 Better Testing by Design JUnit 4 and Java EE 5 Better Testing by Design Kent Beck Alberto Savoia Agitar Software Inc. www.agitar.com TS-1580 2006 JavaOne SM Conference Session TS-1580 Simplifying Developer Testing JUnit 4 further

More information

JUnit on Eclipse. Chien-Tsun Chen Sep. 23, 2003

JUnit on Eclipse. Chien-Tsun Chen Sep. 23, 2003 JUnit on Eclipse Chien-Tsun Chen Sep. 23, 2003 ctchen@ctchen.idv.tw Outline Introduction to JUnit Using JUnit on Eclipse, By Example Resources Q&A Introduction to JUnit What is JUnit? JUnit is an open

More information

Test Driven Development

Test Driven Development Test Driven Development driving the development of quality software through tests presented by Introduction and Agenda Andy Painter, Davisbase Consulting 15+ years in software development. 5+ years working

More information

Test Automation: Agile Enablement for Business Intelligence Teams

Test Automation: Agile Enablement for Business Intelligence Teams Test Automation: Agile Enablement for Business Intelligence Teams Lynn Winterboer Agile Analytics Educator & Coach @AgileLynn www.winterboeragileanalytics.com Lynn Winterboer Colorado Native Guest Ranch

More information

AGILE. Getting Started on Your Team. Davisbase. Copyright 2011 Davisbase LLC. Licensed for Classroom Use to ASPE for Webinar Use Only

AGILE. Getting Started on Your Team. Davisbase. Copyright 2011 Davisbase LLC. Licensed for Classroom Use to ASPE for Webinar Use Only AGILE Getting Started on Your Team Copyright 2011 LLC. Licensed for Classroom Use to ASPE for Webinar Use Only INTRO AND AGENDA Your Instructor: Christy Clement Agile Trainer and Coach Agenda: Picking

More information

Debugging Your Production JVM TM Machine

Debugging Your Production JVM TM Machine Debugging Your Production JVM TM Machine Ken Sipe Perficient (PRFT) kensipe@gmail.com @kensipe Abstract > Learn the tools and techniques used to monitor, trace and debugging running Java applications.

More information

The one bit everyone forgets: with JUnit. John Stegeman Xchanging

The one bit everyone forgets: with JUnit. John Stegeman Xchanging The one bit everyone forgets: Testing your ADF application with JUnit http://groups.google.com/group/adf-methodology ADF EMG A place to discuss best practices and methodologies for JDeveloper ADF enterprise

More information

A Guided Tour of Test Automation

A Guided Tour of Test Automation A Guided Tour of Test Automation My slides are available for you at: http://idiacomputing.com/publications.html A Test, Check, or Scenario Arrange Act Assert Given When Then Arrange Given The preconditions

More information

Agile Engineering. and other stuff I m working on

Agile Engineering. and other stuff I m working on Agile Engineering and other stuff I m working on 2008 Gilb conference on Risk Ryan Shriver > Managing Consultant > rshriver@dominiondigital.com Leader in IT Performance Improvement > www.dominiondigital.com

More information

Automated Testing in Dynamics 365 For Operations. Devin Steinke Solution Architect, PCL

Automated Testing in Dynamics 365 For Operations. Devin Steinke Solution Architect, PCL Automated Testing in Dynamics 365 For Operations Devin Steinke Solution Architect, PCL Testing Principals Testing Quadrants Automated & Manual Manual Functional Testing Story Tests Business Cycle or Integration

More information

JUnit Testing Framework Architecture

JUnit Testing Framework Architecture JUnit Testing Framework Architecture Unit under test (usually a class or a small number of classes) Test environment (fixture) Program state (e.g., some collection of variables/objects that will be used

More information

Software Design and Analysis CSCI 2040

Software Design and Analysis CSCI 2040 Software Design and Analysis CSCI 2040 Introduce two important development practices in the context of the case studies: Test-Driven Development Refactoring 2 Logic is the art of going wrong with confidence

More information

Software Testing Prof. Meenakshi D Souza Department of Computer Science and Engineering International Institute of Information Technology, Bangalore

Software Testing Prof. Meenakshi D Souza Department of Computer Science and Engineering International Institute of Information Technology, Bangalore Software Testing Prof. Meenakshi D Souza Department of Computer Science and Engineering International Institute of Information Technology, Bangalore Lecture 04 Software Test Automation: JUnit as an example

More information

Agile Behaviour Driven Development (BDD) and Integrated Testing with the Cucumber Framework. Melbourne ANZTB SIGIST, 15 th June 2011

Agile Behaviour Driven Development (BDD) and Integrated Testing with the Cucumber Framework. Melbourne ANZTB SIGIST, 15 th June 2011 Agile Behaviour Driven Development (BDD) and Integrated Testing with the Cucumber Framework Damian Versaci Melbourne ANZTB SIGIST, 15 th June 2011 Contents The Importance of Requirements Behaviour Driven

More information

8. Quality Assurance

8. Quality Assurance 8. Quality Assurance Prof. Dr. Dirk Riehle, M.B.A. Friedrich Alexander-University Erlangen-Nürnberg Version of 22.03.2012 Agile Methods by Dirk Riehle is licensed under a Creative Commons Attribution-

More information

Software Engineering I (02161)

Software Engineering I (02161) Software Engineering I (02161) Week 3 Assoc. Prof. Hubert Baumeister DTU Compute Technical University of Denmark Spring 2013 Recap Requirements Engineering user- / system requirements functional- / non-functional

More information

Managing The Digital Network Workforce Transformation

Managing The Digital Network Workforce Transformation ITM-1018 Managing The Digital Network Workforce Transformation Carine Bongaerts IT Manager Network Services Agenda Introduction New Skills and Mindset Change Operating Model Change - DevOps Delivery Model

More information

Tools for Unit Test - JUnit

Tools for Unit Test - JUnit Tools for Unit Test - JUnit Conrad Hughes School of Informatics Slides thanks to Stuart Anderson 15 January 2010 Software Testing: Lecture 2 1 JUnit JUnit is a framework for writing tests Written by Erich

More information

By Philip Japikse MVP, MCSD.Net, MCDBA, CSM Principal Consultant Pinnacle Solutions Group

By Philip Japikse MVP, MCSD.Net, MCDBA, CSM Principal Consultant Pinnacle Solutions Group By Philip Japikse Phil.Japikse@pinnsg.com MVP, MCSD.Net, MCDBA, CSM Principal Consultant Pinnacle Solutions Group Phone:513-619-6323 Fax:513-791-5202 1 Principal Consultant, Pinnacle Solutions Group, Inc.

More information

This tutorial will show you, how to use RSpec to test your code when building applications with Ruby.

This tutorial will show you, how to use RSpec to test your code when building applications with Ruby. About the Tutorial RSpec is a unit test framework for the Ruby programming language. RSpec is different than traditional xunit frameworks like JUnit because RSpec is a Behavior driven development tool.

More information

Enterprise Java Development using JPA, Hibernate and Spring. Srini Penchikala Detroit JUG Developer Day Conference November 14, 2009

Enterprise Java Development using JPA, Hibernate and Spring. Srini Penchikala Detroit JUG Developer Day Conference November 14, 2009 Enterprise Java Development using JPA, Hibernate and Spring Srini Penchikala Detroit JUG Developer Day Conference November 14, 2009 About the Speaker Enterprise Architect Writer, Speaker, Editor (InfoQ)

More information

Unit testing basics & more...

Unit testing basics & more... Unit testing basics & more... by Papapetrou P.Patroklos Twitter hashtag : Thessaloniki Java Meetup - December 2014 Agenda Unit testing introduction Differences with other types of tests Key concepts Rules

More information

Test First Software Development

Test First Software Development Test First Software Development Jacob Kristhammar Roger Schildmeijer D04, Lund Institute of Technology, Sweden {d04jk d04rp}@student.lth.se 2008-02-06 Abstract In this in-depth study we will try to explain

More information

Automated Acceptance Testing

Automated Acceptance Testing Automated Acceptance Testing Björn Beskow Callista Enterprise AB bjorn.beskow@callista.se http://www.callista.se/enterprise CADEC 2004-01-28, Automated Acceptance Testing, Slide 1 Target audience and Objectives

More information

Lazytest Better Living Through Protocols. Stuart Sierra. Clojure NYC April 15, 2010

Lazytest Better Living Through Protocols. Stuart Sierra. Clojure NYC April 15, 2010 Lazytest Better Living Through Protocols Stuart Sierra Clojure NYC April 15, 2010 @stuartsierra #clojure clojure.core: tests as metadata (defn add ([x y] (+ x y)) {:test (fn [] (assert (= 7 (add 3 4))))})

More information

Bringing QA Into the Agile Process

Bringing QA Into the Agile Process Quality Assurance - SCQAA-OC 2/17/09 Bringing QA Into the Process SCQAA Meeting 2/17/09 Speaker: Paul Hodgetts, Logic, www.logic.com Rev 090217 Your Speaker: Paul Hodgetts Team coach, trainer, consultant,

More information

Unit Testing and JUnit

Unit Testing and JUnit Unit Testing and JUnit Moinul Hossain CS 791Z 03/02/2015 Outline What is Software Testing? What and Why Unit Testing? JUnit JUnit features and Examples Test Driven Development (TDD) What is Software Testing?

More information

Testing with easyb. Venkat Subramaniam

Testing with easyb. Venkat Subramaniam Testing with easyb Venkat Subramaniam venkats@agiledeveloper.com @venkat_s Testing with easyb Agile Development Sustainability Circle of Expectations and Circle of Relevance Types of Tests Behavior Driven

More information

Tools for Unit Test JUnit

Tools for Unit Test JUnit Tools for Unit Test JUnit Stuart Anderson JUnit is a framework for writing tests JUnit 1 Written by Erich Gamma (Design Patterns) and Kent Beck (extreme Programming) JUnit uses Java s reflection capabilities

More information

Effective Unit Testing

Effective Unit Testing Effective Unit Testing A guide forjava developers LASSE KOSKELA 11 MANNING Shelter Island contents xv preface acknowledgments xvii about this book xix about the cover illustration xxiv Part 1 Foundations

More information

Beyond JUnit: Introducing TestNG The Next Generation in Testing

Beyond JUnit: Introducing TestNG The Next Generation in Testing Beyond JUnit: Introducing TestNG The Next Generation in Testing Hani Suleiman CTO Formicary http://www.formicary.net hani@formicary.net TS 3097 2006 JavaOne SM Conference Session TS-3097 Testing Renewed

More information

Lecture 3. Miscellaneous Ruby and Testing 1 / 40

Lecture 3. Miscellaneous Ruby and Testing 1 / 40 Lecture 3 Miscellaneous Ruby and Testing 1 / 40 Homework 1 Grades were released! TAs provided feedback on best practices, but did not take off points Keep the comments in mind for future assignments! Any

More information

Building a Java ME Test Suite in 15 Minutes

Building a Java ME Test Suite in 15 Minutes Building a Java ME Test Suite in 15 Minutes Mikhail Gorshenev, Senior Staff Engineer Roman Zelov, Member of Technical Staff Alexander Glasman, Member of Technical Staff Sun Microsystems, Inc. http://www.sun.com/

More information

Levels of Testing Testing Methods Test Driven Development JUnit. Testing. ENGI 5895: Software Design. Andrew Vardy

Levels of Testing Testing Methods Test Driven Development JUnit. Testing. ENGI 5895: Software Design. Andrew Vardy Testing ENGI 5895: Software Design Andrew Vardy Faculty of Engineering & Applied Science Memorial University of Newfoundland March 6, 2017 Outline 1 Levels of Testing 2 Testing Methods 3 Test Driven Development

More information

Levels of Testing Testing Methods Test Driven Development JUnit. Testing. ENGI 5895: Software Design. Andrew Vardy

Levels of Testing Testing Methods Test Driven Development JUnit. Testing. ENGI 5895: Software Design. Andrew Vardy Testing ENGI 5895: Software Design Andrew Vardy Faculty of Engineering & Applied Science Memorial University of Newfoundland March 6, 2017 Outline 1 Levels of Testing 2 Testing Methods 3 Test Driven Development

More information

Groovy and Grails in Google App Engine

Groovy and Grails in Google App Engine Groovy and Grails in Google App Engine Benefit from a Java-like dynamic language to be more productive on App Engine Guillaume Laforge Head of Groovy Development Guillaume Laforge Groovy Project Manager

More information

<Project Name> Use Case Specification: <Use-Case Name> Version <1.0>

<Project Name> Use Case Specification: <Use-Case Name> Version <1.0> 1 z 5 2007-02-26 15:57 Use Case Specification: Version [Note: The following template is provided for use with the Rational Unified Process. Text enclosed in square

More information

From Java EE to Jakarta EE. A user experience

From Java EE to Jakarta EE. A user experience From Java EE to Jakarta EE A user experience A few words about me blog.worldline.tech @jefrajames Speaker me = SpeakerOf.setLastName( James ).setfirstname( Jean-François ).setbackgroundinyears(32).setmindset(

More information

AgileBill Krebs. Agile3d Academy. Enterprise Open Distributed. Agile Quality. Years 30 Books 240. Certs 8. Badges 6. O, Rq, Pm, Qa, Ns, Agile 01

AgileBill Krebs. Agile3d Academy. Enterprise Open Distributed. Agile Quality. Years 30 Books 240. Certs 8. Badges 6. O, Rq, Pm, Qa, Ns, Agile 01 Agile3d Academy AgileBill Krebs Agile Quality Enterprise Open Distributed Years 30 Books 240 Certs 8 Badges 6 O, Rq, Pm, Qa, Ns, Agile 01 Agile Testing: A Practical Guide for Testers and Agile Teams By

More information

Simplifying Development and Testing of GUIs with SAF (JSR 296) and FEST. Michael Hüttermann Training & Consulting Alex Ruiz Oracle Corporation

Simplifying Development and Testing of GUIs with SAF (JSR 296) and FEST. Michael Hüttermann Training & Consulting Alex Ruiz Oracle Corporation Simplifying Development and Testing of GUIs with SAF (JSR 296) and FEST Michael Hüttermann Training & Consulting Alex Ruiz Oracle Corporation Agenda Why do we need a Swing framework? Introducing the Swing

More information

STQA Mini Project No. 1

STQA Mini Project No. 1 STQA Mini Project No. 1 R (2) C (4) V (2) T (2) Total (10) Dated Sign 1.1 Title Mini-Project 1: Create a small application by selecting relevant system environment/ platform and programming languages.

More information

REST WEB SERVICES IN JAVA EE 6 AND SPRING 3. Srini Penchikala Austin Java User Group March 30, 2010

REST WEB SERVICES IN JAVA EE 6 AND SPRING 3. Srini Penchikala Austin Java User Group March 30, 2010 REST WEB SERVICES IN JAVA EE 6 AND SPRING 3 Srini Penchikala Austin Java User Group March 30, 2010 ABOUT THE SPEAKER Security Architect Certified SCRUM Master Writer, Editor (InfoQ) Detroit Java User Group

More information

Groovy & Grails Scripting for Modern Web Applications. Rohit Nayak Talentica Software

Groovy & Grails Scripting for Modern Web Applications. Rohit Nayak Talentica Software Groovy & Grails Scripting for Modern Web Applications Rohit Nayak Talentica Software Agenda Demo: Quick intro to Grails Scripting, Web Applications and Grails/Groovy REST service in Grails Demo Internals

More information

Testers can write good code too. Corina

Testers can write good code too. Corina Testers can write good code too Corina Pip https://iamalittletester.wordpress.com/ Twitter: Blog: https://iamalittletester.wordpress.com/ Travel blog: https://travelwithcori.wordpress.com/ Photos: https://www.flickr.com/photos/capreoara

More information

NYS Forum. Optimized Test Driven Development Maximize development efforts through Behavior Driven Development and Model Based Testing

NYS Forum. Optimized Test Driven Development Maximize development efforts through Behavior Driven Development and Model Based Testing NYS Forum Optimized Test Driven Development Maximize development efforts through Behavior Driven Development and Model Based Testing November 6 th, 2015 Driving Principles: Clarity and Collaboration BDD

More information

Junit Overview. By Ana I. Duncan

Junit Overview. By Ana I. Duncan Junit Overview By Ana I. Duncan 1 What Is Junit Why Junit, Why test? Junit Lifecycle Junit Examples from CM Other Testing frameworks Resources Before After Agenda 2 JUnit is a member of the xunit testing

More information

CSE : Python Programming. Packages (Tutorial, Section 6.4) Announcements. Today. Packages: Concretely. Packages: Overview

CSE : Python Programming. Packages (Tutorial, Section 6.4) Announcements. Today. Packages: Concretely. Packages: Overview Announcements CSE 399-004: Python Programming Lecture 07: Packages, Command-line arguments, and Unit testing February 26, 2007 http://www.seas.upenn.edu/~cse39904/ No homework this week There may be one

More information

Software Engineering I (02161)

Software Engineering I (02161) Software Engineering I (02161) Week 3 Assoc. Prof. Hubert Baumeister DTU Compute Technical University of Denmark Spring 2016 Recap Requirements Engineering functional / non-functional requirements Elicitation,

More information

Test-Driven Development JUnit

Test-Driven Development JUnit Test-Driven Development JUnit Click to edit Master EECS text 2311 styles - Software Development Project Second level Third level Fourth level Fifth level Wednesday, January 18, 2017 1 Simulator submission

More information

Learning Objectives of CP-SAT v 1.3

Learning Objectives of CP-SAT v 1.3 Learning Objectives of CP-SAT v 1.3 Knowledge with experience is power; certification is just a by-product What is CP-SAT? CP-SAT stands for Certified Practitioner Selenium Automation Testing certification

More information

ADD 3.0: Rethinking Drivers and Decisions in the Design Process

ADD 3.0: Rethinking Drivers and Decisions in the Design Process ADD 3.0: Rethinking Drivers and Decisions in the Design Process Rick Kazman Humberto Cervantes SATURN 2015 Outline Presentation Architectural design and types of drivers The Attribute Driven Design Method

More information

1) CB plugin for Jenkins 2) Requirements Mapping

1) CB plugin for Jenkins 2) Requirements Mapping 1) CB plugin for Jenkins 2) Requirements Mapping (Some of the names used for variables in trigger/build as provided by the plugin have already been updated to ensure more overall consistency. I left the

More information

Mamba Documentation. Release Néstor Salceda

Mamba Documentation. Release Néstor Salceda Mamba Documentation Release 0.9.2 Néstor Salceda Jul 12, 2018 Contents 1 Contents 3 1.1 Getting Started.............................................. 3 1.2 Example Groups.............................................

More information

Lecture 3. Miscellaneous Ruby and Testing

Lecture 3. Miscellaneous Ruby and Testing Lecture 3 Miscellaneous Ruby and Testing 1 Sublime Text Guide I wrote a quick Sublime Text Guide that will help with Rubocop offenses It ll walk you through: Using spaces instead of tabs by default Using

More information

DAVIS SYSTEMS

DAVIS SYSTEMS Lessons Learned Using Agile Practices with TSP by Noopur Davis Davis Systems presented at the 2010 TSP Symposium Pittsburgh, PA September 23, 2010 DAVIS 1 2010 Agenda Background Project Planning Practices

More information

How to be a C# ninja in 10 easy steps. Benjamin Day

How to be a C# ninja in 10 easy steps. Benjamin Day How to be a C# ninja in 10 easy steps Benjamin Day Benjamin Day Consultant, Coach, Trainer Scrum.org Classes Professional Scrum Developer (PSD) Professional Scrum Foundations (PSF) TechEd, VSLive, DevTeach,

More information

Software Engineering I (02161)

Software Engineering I (02161) Software Engineering I (02161) Week 3 Assoc. Prof. Hubert Baumeister DTU Compute Technical University of Denmark Spring 2017 Contents Programming Tips and Tricks Booleans Constants Delegation Requirements

More information

Specter Documentation

Specter Documentation Specter Documentation Release 0.6.1 John Vrbanac Apr 09, 2017 Contents 1 Documentation 2 1.1 Using Specter............................................... 2 1.2 Writing Specter Tests..........................................

More information

Learning Objectives of CP-SAT v 1.31

Learning Objectives of CP-SAT v 1.31 Learning Objectives of CP-SAT v 1.31 Knowledge with experience is power; certification is just a by-product What is CP-SAT? CP-SAT stands for Certified Professional Selenium Automation Testing certification

More information

Test-Driven Development JUnit

Test-Driven Development JUnit Test-Driven Development JUnit Click to edit Master EECS text 2311 styles - Software Development Project Second level Third level Fourth level Fifth level Wednesday, January 24, 2018 1 Unit Testing Testing

More information

Ryan Rich - Software Developer & Architect

Ryan Rich - Software Developer & Architect Ryan Rich - Software Developer & Architect Oceanside, CA 858-523-8540 ryanrich@richservices.com http://linkedin.com/in/ryanrich Full stack polyglot programmer and technical leader, with a strong interest

More information

Review of Lone Star Software Symposium: NFJS Peter Donton

Review of Lone Star Software Symposium: NFJS Peter Donton Review of Lone Star Software Symposium: NFJS 2010 Peter Donton Variety of Sessions and Speakers 50 sessions on a wide range of topics presented by knowledgeable professionals in approachable and manageable

More information

Asynchronous OSGi: Promises for the masses. Tim Ward.

Asynchronous OSGi: Promises for the masses. Tim Ward. Asynchronous OSGi: Promises for the masses Tim Ward http://www.paremus.com info@paremus.com Who is Tim Ward? @TimothyWard Senior Consulting Engineer, Trainer and Architect at Paremus 5 years at IBM developing

More information

Stephen Edwards. What is unit testing? Manuel Pérez- Quiñones. Virginia Tech. You betcha! For you: Repeatedly check behaviors of many student programs

Stephen Edwards. What is unit testing? Manuel Pérez- Quiñones. Virginia Tech. You betcha! For you: Repeatedly check behaviors of many student programs Software test == a check on the behavior of some piece of code The Absolute Beginner s Guide to JUnit in the Classroom Stephen Edwards Manuel Pérez- Quiñones Virginia Tech What is unit testing? Unit test

More information

Learn Software Test Automation Group Meetup. Presenter: Kate Droukman. au.linkedin.com/in/katedroukman. 21 April 2016

Learn Software Test Automation Group Meetup. Presenter: Kate Droukman. au.linkedin.com/in/katedroukman. 21 April 2016 Learn LeanFT @ Software Test Automation Group Meetup Presenter: Kate Droukman au.linkedin.com/in/katedroukman 21 April 2016 Agenda 2 Agenda Topic LeanFT Quick Intro LeanFT IDE Plugins & SDK Hands-On JUnit/OIC,

More information

Macro #clojureconj

Macro #clojureconj Macro Club @stuartsierra #clojureconj 500 sq ft I ( ) If it seems simple, you're probably doing it wrong. You can pry EMACS from my cold, dead fingers. The First Rule of Macro Club You do not

More information

Course Wrap-up. CSC207 Fall 2015

Course Wrap-up. CSC207 Fall 2015 Course Wrap-up CSC207 Fall 2015 10 weeks ago package basics; public class HelloWorld { } public static void main(string[] args) { System.out.println("Hello world!"); } Learning a new language A new memory

More information

How We Refactor, and How We Know It

How We Refactor, and How We Know It Emerson Murphy-Hill, Chris Parnin, Andrew P. Black How We Refactor, and How We Know It Urs Fässler 30.03.2010 Urs Fässler () How We Refactor, and How We Know It 30.03.2010 1 / 14 Refactoring Definition

More information

Behavior Driven Development (BDD) By Nabeel Ibrahim

Behavior Driven Development (BDD) By Nabeel Ibrahim Behavior Driven Development (BDD) By Nabeel Ibrahim About Me Quality Engineer at Slalom Consulting 8 years testing experience Experience with Web and Mobile automation Test strategy creation Love soccer

More information

Software Development Tools. COMP220/COMP285 Sebastian Coope Eclipse and JUnit: Creating and running a JUnit test case

Software Development Tools. COMP220/COMP285 Sebastian Coope Eclipse and JUnit: Creating and running a JUnit test case Software Development Tools COMP220/COMP285 Sebastian Coope Eclipse and JUnit: Creating and running a JUnit test case These slides are mainly based on Java Development with Eclipse D.Gallardo et al., Manning

More information

Tutorials for Struts, EJB, xdoclet and eclipse.

Tutorials for Struts, EJB, xdoclet and eclipse. Tutorials for Hibernate, EJB 2, EJB 3 Struts, JavaServerfaces (JSF) Tomcat, JBoss, Myeclipse, Eclipse and other Tutorials» Debugging, Testing, Tuning» Eclipse Junit testing tutorial Sprache / Language

More information

Test Automation Strategies in Continuous Delivery. Nandan Shinde Test Automation Architect (Tech CoE) Cognizant Technology Solutions

Test Automation Strategies in Continuous Delivery. Nandan Shinde Test Automation Architect (Tech CoE) Cognizant Technology Solutions Test Automation Strategies in Continuous Delivery Nandan Shinde Test Automation Architect (Tech CoE) Cognizant Technology Solutions The world of application is going through a monumental shift.. Evolving

More information

NASA World Wind Java SDK

NASA World Wind Java SDK NASA World Wind Java SDK Tom Gaskins NWW Technical Director http://worldwind.arc.nasa.gov TS-3489 2007 JavaOne SM Conference Session TS-3489 Today s Agenda Build an Application Deploy with Java Web Start

More information

THIS IS ONLY SAMPLE RESUME - DO NOT COPY AND PASTE INTO YOUR RESUME. WE ARE NOT RESPONSIBLE Name: xxxxxx

THIS IS ONLY SAMPLE RESUME - DO NOT COPY AND PASTE INTO YOUR RESUME. WE ARE NOT RESPONSIBLE Name: xxxxxx Name: xxxxxx Email ID: xxxxxx Ph: xxxxxx Summary: Over 7 years of experience in object oriented programming, design and development of Multi-Tier distributed, Enterprise applications using Java and J2EE

More information

Anders Fröberg TDDD80 STORAGE AND TESTING

Anders Fröberg TDDD80 STORAGE AND TESTING Anders Fröberg anders.froberg@liu.se TDDD80 STORAGE AND TESTING 1 Agenda: Test Unit testing vs Traditional Testing Debugging and Refactoring Deployment (Test Driven Development (TDD)) (Acceptance Test

More information

Fighting Layout Bugs. Techniques to automatically verify the work of HTML and CSS programmers QCon London 2010

Fighting Layout Bugs. Techniques to automatically verify the work of HTML and CSS programmers QCon London 2010 Fighting Layout Bugs Techniques to automatically verify the work of HTML and CSS programmers QCon London 2010 Who am I? Michael Tamm 2 / 96 System Architect Selenium committer Conference Speaker author

More information

The Project Management Professional Certifications Becoming ACP Certified

The Project Management Professional Certifications Becoming ACP Certified The Project Management Professional Certifications Becoming ACP Certified Introductions John Riopel PMP, MCP, MCTS Founder and CEO of PM Providers -Project Management Consulting and Training, and EPM Specialists

More information

Agile Software Development. Lecture 7: Software Testing

Agile Software Development. Lecture 7: Software Testing Agile Software Development Lecture 7: Software Testing Mahmoud El-Gayyar elgayyar@ci.suez.edu.eg Slides are a modified version of the slides by Prof. Kenneth M. Anderson Outline Testing Terminology Types

More information

Lecture 3. Miscellaneous Ruby and Testing 1 / 48

Lecture 3. Miscellaneous Ruby and Testing 1 / 48 Lecture 3 Miscellaneous Ruby and Testing 1 / 48 Homework 1 Grades were released! TAs provided feedback on best practices, but did not take off points Keep the comments in mind for future assignments! Any

More information

Software Engineering 2 (SWT2)

Software Engineering 2 (SWT2) Software Engineering 2 (SWT2) Chapter 5: Getting you ready for the project - Lego Scrum Exercise, Git, Infrastructure, your next week, Testing, PO presentation - Agenda 2 Lego Scrum Exercise Git Project

More information

Large-Scale Automation with Jenkins

Large-Scale Automation with Jenkins Large-Scale Automation with Jenkins Kohsuke Kawaguchi / kk@kohsuke.org / @kohsukekawa Architect, CloudBees, Inc. Have you met Jenkins? http://jenkins-ci.org/ 2 x 64,000 3 4 x 700 5 Context http://www.flickr.com/photos/spidermandragon5/2922128673/

More information

Project Horizon Technical Overview. Bob Rullo GM; Presentation Architecture

Project Horizon Technical Overview. Bob Rullo GM; Presentation Architecture Project Horizon Technical Overview Bob Rullo GM; Presentation Architecture robert.rullo@sungardhe.com Agenda Banner Evolution Overview Project Horizon Overview Project Horizon Architecture Review Preparing

More information

Agile Testing Course: 15 16/11

Agile Testing Course: 15 16/11 Agile Testing Dr. Ronen Bar-Nahor ronen@agilesparks.com 1 AgileSparks We help companies improve by Adopting agile principles and practices. We provide training and coaching to all organizational levels,

More information

Spock. Up & Running. Rob Fletcher WRITING EXPRESSIVE TESTS IN JAVA AND GROOVY

Spock. Up & Running. Rob Fletcher WRITING EXPRESSIVE TESTS IN JAVA AND GROOVY Spock Up & Running WRITING EXPRESSIVE TESTS IN JAVA AND GROOVY Rob Fletcher Spock: Up and Running Writing Expressive Tests in Java and Groovy Rob Fletcher Beijing Boston Farnham Sebastopol Tokyo Spock:

More information

Getting Started with. Lite.

Getting Started with. Lite. Getting Started with Lite www.boltiq.io Getting Started with Lite Download Download the app as either a container or Library. http://www.boltiq.io/bolt-lite/ See Examples Open the example test projects

More information

SAFe AGILE TRAINING COURSES

SAFe AGILE TRAINING COURSES SAFe AGILE TRAINING COURSES INDEX INTRODUCTION COURSE Implementing SAfe Leading SAFe SAFe for Teams SAFe Scrum Master CERTIFICATION SAFe Program Consultant SAFe Agilist SAFe Practitioner SAFe Scrum Master

More information

Composable Web Services Using Interoperable Technologies From Sun s Project Tango

Composable Web Services Using Interoperable Technologies From Sun s Project Tango Composable Web Services Using Interoperable Technologies From Sun s Project Tango Nicholas Kassem Technology Director Harold Carr Lead Architect TS-4661 Copyright 2006, Sun Microsystems, Inc., All rights

More information

More JUnit CS 4501 / 6501 Software Testing

More JUnit CS 4501 / 6501 Software Testing More JUnit CS 4501 / 6501 Software Testing [Ammann and Offutt, Introduction to Software Testing ] 1 Common methods review asserttrue(boolean condition) Assert that a condition is true asserttrue(string

More information

Eclipse technology in IFMS Interface Management System

Eclipse technology in IFMS Interface Management System Eclipse Finance Day 2013 Eclipse technology in IFMS Interface Management System Marc Schlienger A story today about Eclipse and IFMS SOA at Credit Suisse The construction of a System MDD in the large Leveraging

More information

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. 1 Copyright 2011, Oracle and/or its affiliates. All rights The forthcoming is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated

More information

Test Execution and Automation. CSCE Lecture 15-03/20/2018

Test Execution and Automation. CSCE Lecture 15-03/20/2018 Test Execution and Automation CSCE 747 - Lecture 15-03/20/2018 Executing Tests We ve covered many techniques to derive test cases. How do you run them on the program? You could run the code and check results

More information

Federated Web Services with Mobile Devices

Federated Web Services with Mobile Devices Federated Web Services with Mobile Devices Rajeev Angal Architect Sun Microsystems Pat Patterson Architect Sun Microsystems Session TS-6673 Copyright 2006, Sun Microsystems, Inc., All rights reserved.

More information

Practical Objects: Test Driven Software Development using JUnit

Practical Objects: Test Driven Software Development using JUnit 1999 McBreen.Consulting Practical Objects Test Driven Software Development using JUnit Pete McBreen, McBreen.Consulting petemcbreen@acm.org Test Driven Software Development??? The Unified Process is Use

More information

AuraTester User Guide

AuraTester User Guide AuraTester User Guide Automated testing tool for Oracle Forms based systems AuraPlayer Support Team Version 2 2/7/2011 This document is the sole property of AuraPlayer Ltd., it cannot be communicated to

More information

Accelerate High-Quality App Delivery with the Micro Focus DevOps Suite March 28, 2018

Accelerate High-Quality App Delivery with the Micro Focus DevOps Suite March 28, 2018 Accelerate High-Quality App Delivery with the Micro Focus DevOps Suite March 28, 2018 Today s Speakers: David Landsberg Director of Product Management Micro Focus Ayal Cohen Chief Functional Architect

More information