Testers can write good code too. Corina

Size: px
Start display at page:

Download "Testers can write good code too. Corina"

Transcription

1 Testers can write good code too Corina Pip

2 Twitter: Blog: Travel blog: Photos: GitHub:

3 testers LOOOVE to write A LOT of code

4 WHAT WE WANT FROM OUR TEST CODE To not be just a sequence of assertions To follow coding standards To be easy to read

5 WHAT WE WANT FROM OUR TEST CODE To be easy to maintain To be beautiful Repeatable results

6 FIRST STEP OF WRITING CODE ANALYSIS Make sure requirements are clear Spend time identifying best solution Write, draw, visualize

7 PRINCIPLE 0: THE LAZY PRINCIPLE Write as little code as possible Write efficient code Don t reinvent the wheel Use existing libraries

8 CODE REVIEWS QA should be included in all code reviews QA should ask for QA and Dev to perform test code reviews Should be included in DoD

9 REFACTORING Refactoring IS allowed When you have a more optimal solution

10 NO WORKAROUND CODE If the environment is to blame for test failures Rather, have the environment fixed

11 SEPARATE PROD / DEV TESTS Ideally create separate code projects for production tests and dev tests No more: oops did I just run that in production? Production = lighter tests; possibly lighter configuration Dev = everything Better dependency management

12 JAVA

13 USE PROPER NAMING, FOR EVERYTHING Classes; methods; variables; constants; packages; modules Give them a relevant name Makes code easier to read Makes it easier to find stuff TestUtils vs DbDataUtils; avariable vs random value

14 REUSE CODE, DON T COPY/PASTE IT Results in fewer lines of code Single point of change Easier maintenance Available to many tests Don t create a new method for one line of code

15 REUSE CODE, DON T COPY/PASTE IT Don t pass in too many parameters refactor Don t pass in constants make them local to methods Process parameters in method don t pass the whole processing as parameter If method is too long, maybe break it into several ones

16 MIND YOUR TRY/CATCHES Biggest cause of tests that should fail, but incorrectly don t! Source of invalid results: not properly configuring the try branch forgetting about the catch branch

17 MIND YOUR TRY/CATCHES use cases 1. Test should only pass if the exception is not thrown - equivalent to codetoberunhere; - only useful if you want to throw specific exception

18 MIND YOUR TRY/CATCHES use cases 2. Test should only pass if the exception is thrown

19 MIND YOUR TRY/CATCHES use cases 3. Test should pass no matter if the exception is thrown or not

20 OPTIMIZE YOUR IMPORTS Don t import * except when really needed Import static when needed Assert.assertEquals(..,..) assertequals(..,..) import static org.testng.assert.assertequals; Don t leave unused imports

21 VARIABLE SCOPES Define variables inside methods/blocks where they are used Define inline variables if you will use them just once

22 SIMPLIFY YOUR IFS variable = (conditiontobetrue)? valuewhentrue : valuewhenfalse if (somethingthatevaluatesasboolean is true) {return true;} else {return false;} REPLACE WITH: return somethingthatevaluatesasboolean;

23 PROPER CONSOLE OUTPUT Print test data to your console where needed Helps understand the state in which the tests are Helps get a step by step idea of how tests run Helps reproduce issue when you output the data used by the tests When no visibility of tests running (e.g. CI)

24 SEPARATION OF CONCERNS PRINCIPLE

25 SELENIUM

26 DON T SLEEP. WAIT FOR IT When you know your system under test is sluggish - wait before/for all the actions page load button to be clickable label to have certain text CSS attribute to have some value

27 WebDriverWait wait = new WebDriverWait(driver, TIMEOUT); ExpectedCondition thecondition = new ExpectedCondition<Boolean>() { public Boolean apply(webdriver arg0) { try { condition; return true; } catch (SomeException e ) { return false; } catch (AnotherException f) { return false; }}}; wait.until(thecondition);

28 DON T SLEEP. WAIT FOR IT Better to wait than fail Don t sleep: hard wait; will wait for exactly N seconds Do wait: flexibility; will wait UP to N seconds You even can replace asserts with waits

29 DON T CHECK ISDISPLAYED THEN INTERACT WebElements are initialized lazily element.isdisplayed(); element.click(); REPLACE with: element.click();

30 DON T HARDCODE BROWSER IN TESTS Should switch easily from one browser to the other Avoids any one browser/driver not working Tests should be browser unaware Use getter to retrieve WebElements (when different selectors on mobile vs desktop)

31 USE LISTS FOR SIMILAR ITEMS <ul> <li>coffee</li> <li>tea</li> <li>milk</li> </ul> webelement1 webelement2 webelement3 List<WebElement> list.get(0)

32 TESTNG

33 DON T DO ALL TEST DATA Do not create ALL test data All tests depend on the full generation of the test data Running a single test needs to wait for ALL test data generation to be done If test data fails to generate an exception is thrown and no test will run Running from testing.xml takes much longer

34 DON T DO ALL TEST DATA Move test data generation into methods where possible Keep only common test data generation

35 SOME TOOLS

36 Maven: Checkstyle plugin (DEMO) Goal: fail the Maven build when poor code is found 2 step setup: Import Maven plugin into your project

37 Maven: Checkstyle plugin (DEMO) Create checkstyle.xml file contains a list of checks on the code Maven, Google and Sun checkstyle files Extract from a checkstyle file: Failure example: For reference please go to: ing-maven-checkstyle-in-your-project-to-help-adhereto-coding-standards/

38 IDE tools IntelliJ: Inspect code (DEMO) Refer to

39 IDE tools IntelliJ: Inspect code (DEMO) Refer to

40 KEEP UP WITH YOUR FRAMEWORK Constantly take a look at the new features released Read the changelogs Take a look at the features it offers, apart from the most commonly used by you

41 CONSTANT LEARNING Learn the programming languages / frameworks before writing code Learn how to improve the code you wrote

42 FIND GOOD SOURCES OF INFORMATION Start with the official documentation Developers Trust them Don t trust them (they change their mind a lot) Google, StackOverflow, etc: check the code properly before using it Twitter, blogs, books, conferences, workshops

43 THANK YOU! Twitter: Blog: Travel blog: Photos: GitHub:

SeU Certified Selenium Engineer (CSE) Syllabus

SeU Certified Selenium Engineer (CSE) Syllabus SeU Certified Selenium Engineer (CSE) Syllabus Released Version 2018 Selenium United Version 2018, released 23.08.2018 Page 1 of 16 Copyright Notice This document may be copied in its entirety, or extracts

More information

SeU Certified Selenium Engineer (CSE) Syllabus

SeU Certified Selenium Engineer (CSE) Syllabus SeU Certified Selenium Engineer (CSE) Syllabus Released Version 2018 Selenium United Version 2018, released 23.08.2018 Page 1 of 16 Copyright Notice This document may be copied in its entirety, or extracts

More information

Advanced Java Testing. What s next?

Advanced Java Testing. What s next? Advanced Java Testing What s next? Vincent Massol, February 2018 Agenda Context & Current status quo Coverage testing Testing for backward compatibility Mutation testing Environment testing Context: XWiki

More information

SELENIUM. Courses Offered. Ph: / Course Coverage:- Date:..Timings.. Duration Fees. Testing Tools QTP Load Runner Hadoop

SELENIUM. Courses Offered. Ph: / Course Coverage:- Date:..Timings.. Duration Fees. Testing Tools QTP Load Runner Hadoop SELENIUM Java for Selenium Selenium IDE Selenium WebDriver JUnit Framework TestNG Framework Course Coverage:- SVN Maven DataBase Testing Using Selenium Grid POM(Page Object Model Date:..Timings.. Duration

More information

Selenium Testing Course Content

Selenium Testing Course Content Selenium Testing Course Content Introduction What is automation testing? What is the use of automation testing? What we need to Automate? What is Selenium? Advantages of Selenium What is the difference

More information

Jenkins: A complete solution. From Continuous Integration to Continuous Delivery For HSBC

Jenkins: A complete solution. From Continuous Integration to Continuous Delivery For HSBC Jenkins: A complete solution From Integration to Delivery For HSBC Rajesh Kumar DevOps Architect @RajeshKumarIN www.rajeshkumar.xyz Agenda Why Jenkins? Introduction and some facts about Jenkins Supported

More information

Testing. Technion Institute of Technology Author: Assaf Israel. Author: Assaf Israel - Technion

Testing. Technion Institute of Technology Author: Assaf Israel. Author: Assaf Israel - Technion Testing Technion Institute of Technology 236700 1 Author: Assaf Israel Why test? Programming is incremental by nature We want to verify we haven t broken anything Tests not only examine the code s functionality

More information

Selenium. Duration: 50 hrs. Introduction to Automation. o Automating web application. o Automation challenges. o Automation life cycle

Selenium. Duration: 50 hrs. Introduction to Automation. o Automating web application. o Automation challenges. o Automation life cycle Selenium Duration: 50 hrs. Introduction to Automation o Automating web application o Automation challenges o Automation life cycle o Role of selenium in test automation o Overview of test automation tools

More information

Automation Best Practices for CI/CD. Leo Laskin, Sr. Solutions Architect

Automation Best Practices for CI/CD. Leo Laskin, Sr. Solutions Architect Automation Best Practices for CI/CD Leo Laskin, Sr. Solutions Architect Agenda Topic 1 CI/CD Topic 4 Other tips Topic 2 Best Practice Testing Topic 3 Selenium Testing THE PATH TO CI/CD Waterfall Fast Waterfall

More information

Sonatype CLM - IDE User Guide. Sonatype CLM - IDE User Guide

Sonatype CLM - IDE User Guide. Sonatype CLM - IDE User Guide Sonatype CLM - IDE User Guide i Sonatype CLM - IDE User Guide Sonatype CLM - IDE User Guide ii Contents 1 Introduction 1 2 Installing Sonatype CLM for Eclipse 2 3 Configuring Sonatype CLM for Eclipse 5

More information

Test suites Obviously you have to test your code to get it working in the first place You can do ad hoc testing (testing whatever occurs to you at

Test suites Obviously you have to test your code to get it working in the first place You can do ad hoc testing (testing whatever occurs to you at JUnit Test suites Obviously you have to test your code to get it working in the first place You can do ad hoc testing (testing whatever occurs to you at the moment), or You can build a test suite (a thorough

More information

Introduction to Renjin The R interpreter in the JVM

Introduction to Renjin The R interpreter in the JVM Introduction to Renjin The R interpreter in the JVM Maarten-Jan Kallen mj@bedatadriven.com September 12, 2014 Presented at KölnR 1 Presentation outline What is Renjin? Renjin's design goals Other R engines

More information

The age of automation is going to be the age of 'do it yourself. - Marshall McLuhan

The age of automation is going to be the age of 'do it yourself. - Marshall McLuhan Training Name Automation Software Testing using Selenium WebDriver with Java Training Introduction The age of automation is going to be the age of 'do it yourself. - Marshall McLuhan Selenium automates

More information

Checked and Unchecked Exceptions in Java

Checked and Unchecked Exceptions in Java Checked and Unchecked Exceptions in Java Introduction In this article from my free Java 8 course, I will introduce you to Checked and Unchecked Exceptions in Java. Handling exceptions is the process by

More information

Testing. Topics. Types of Testing. Types of Testing

Testing. Topics. Types of Testing. Types of Testing Topics 1) What are common types of testing? a) Testing like a user: through the UI. b) Testing like a dev: through the code. 2) What makes a good bug report? 3) How can we write code to test code (via

More information

Section 4: Graphs and Testing. Slides by Erin Peach and Nick Carney

Section 4: Graphs and Testing. Slides by Erin Peach and Nick Carney Section 4: Graphs and Testing Slides by Erin Peach and Nick Carney with material from Vinod Rathnam, Alex Mariakakis, Krysta Yousoufian, Mike Ernst, Kellen Donohue AGENDA Graphs JUnit Testing Test Script

More information

3.3 Web Graphics. 1. So why are graphics important?

3.3 Web Graphics. 1. So why are graphics important? 3.3 Web Graphics In today s module we are going to cover the art of creating graphics for your online campaigns. We will be creating graphics for Facebook & your Mailchimp Newsletter but you will be able

More information

*** Any Query *** Mail : 1. Introduction to Selenium. What is Selenium? Different automations tools. Selenium Automation Tools

*** Any Query *** Mail : 1. Introduction to Selenium. What is Selenium? Different automations tools. Selenium Automation Tools @999 (75% off) Learn Advance Selenium Online Video Course # Life time access with new Updates. # Basic to Advance level Course # Total Sessions : 65 Videoes / Total Duration : 138 Hrs # www.stqatools.com

More information

Mind Q Systems Private Limited

Mind Q Systems Private Limited Software Testing Tools Introduction Introduction to software Testing Software Development Process Project Vs Product Objectives of Testing Testing Principals Software Development Life Cycle SDLC SDLC Models

More information

lazy-object-proxy Release 1.3.1

lazy-object-proxy Release 1.3.1 lazy-object-proxy Release 1.3.1 Jun 22, 2017 Contents 1 Overview 1 1.1 Installation................................................ 2 1.2 Documentation.............................................. 2

More information

CS 370 The Pseudocode Programming Process D R. M I C H A E L J. R E A L E F A L L

CS 370 The Pseudocode Programming Process D R. M I C H A E L J. R E A L E F A L L CS 370 The Pseudocode Programming Process D R. M I C H A E L J. R E A L E F A L L 2 0 1 5 Introduction At this point, you are ready to beginning programming at a lower level How do you actually write your

More information

Object Oriented Software Design - I

Object Oriented Software Design - I Object Oriented Software Design - I Unit Testing Giuseppe Lipari http://retis.sssup.it/~lipari Scuola Superiore Sant Anna Pisa November 28, 2011 G. Lipari (Scuola Superiore Sant Anna) Unit Testing November

More information

The Power of Unit Testing and it s impact on your business. Ashish Kumar Vice President, Engineering

The Power of Unit Testing and it s impact on your business. Ashish Kumar Vice President, Engineering The Power of Unit Testing and it s impact on your business Ashish Kumar Vice President, Engineering Agitar Software, 2006 1 The Power of Unit Testing Why Unit Test? The Practical Reality Where do we go

More information

Web Design and Usability. What is usability? CSE 190 M (Web Programming) Spring 2007 University of Washington

Web Design and Usability. What is usability? CSE 190 M (Web Programming) Spring 2007 University of Washington Page 1 Web Design and Usability CSE 190 M (Web Programming) Spring 2007 University of Washington References: J. Nielsen's Designing Web Usability (2) What is usability? usability: the effectiveness with

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

Java Programming Basics

Java Programming Basics Java Programming Basics Why Java for Selenium Installing Java Installing Eclipse First Eclipse Project First Java program Concept of class file Datatypes in Java String class and functions Practical Examples

More information

Geo Catching Sprint #3 Kick-off

Geo Catching Sprint #3 Kick-off LP IDSE - GL Geo Catching Sprint #3 Kick-off 03/01/2017 Cécile Camillieri/Clément Duffau 1 GeoCatching sprint #1 Drawing of zones on a map User login and joining of a game Browser-based geolocation of

More information

Archan. Release 2.0.1

Archan. Release 2.0.1 Archan Release 2.0.1 Jul 30, 2018 Contents 1 Archan 1 1.1 Features.................................................. 1 1.2 Installation................................................ 1 1.3 Documentation..............................................

More information

Koenig Solutions Pvt. Ltd. Selenium with C#

Koenig Solutions Pvt. Ltd. Selenium with C# Selenium Course with C# Overview: Selenium with C# is a free automation testing tool for web applications. It is able to work with different browsers like Chrome, Firefox, IE, Opera and simulate human

More information

Introduction to Automation. What is automation testing Advantages of Automation Testing How to learn any automation tool Types of Automation tools

Introduction to Automation. What is automation testing Advantages of Automation Testing How to learn any automation tool Types of Automation tools Introduction to Automation What is automation testing Advantages of Automation Testing How to learn any automation tool Types of Automation tools Introduction to Selenium What is Selenium Use of Selenium

More information

Language alone won t pay your bills. Alan Franzoni - EP 2012 twitter: franzeur website:

Language alone won t pay your bills. Alan Franzoni - EP 2012 twitter: franzeur website: Language alone won t pay your bills Alan Franzoni - EP 2012 twitter: franzeur website: www.franzoni.eu What s this about? What s this about? Original idea: Why Python sucks What s this about? Original

More information

IntelliJ IDEA Static Code Analysis Hamlet D'Arcy

IntelliJ IDEA Static Code Analysis Hamlet D'Arcy IntelliJ IDEA Static Code Analysis Hamlet D'Arcy Canoo Engineering AG @HamletDRC http://hamletdarcy.blogspot.com Static Code Analysis Code Inspections JSR 305 and 308 Annotations Duplicate Detection Stack

More information

Jenkins: AMPLab s Friendly Butler. He will build your projects so you don t have to!

Jenkins: AMPLab s Friendly Butler. He will build your projects so you don t have to! Jenkins: AMPLab s Friendly Butler He will build your projects so you don t have to! What is Jenkins? Open source CI/CD/Build platform Used to build many, many open source software projects (including Spark

More information

Java. Error, Exception, and Event Handling. Error, exception and event handling. Error and exception handling in Java

Java. Error, Exception, and Event Handling. Error, exception and event handling. Error and exception handling in Java Computer Science Error, Exception, and Event Handling Java 02/23/2010 CPSC 449 228 Unless otherwise noted, all artwork and illustrations by either Rob Kremer or Jörg Denzinger (course instructors) Error,

More information

Le L c e t c ur u e e 5 To T p o i p c i s c t o o b e b e co c v o e v r e ed e Exception Handling

Le L c e t c ur u e e 5 To T p o i p c i s c t o o b e b e co c v o e v r e ed e Exception Handling Course Name: Advanced Java Lecture 5 Topics to be covered Exception Handling Exception HandlingHandlingIntroduction An exception is an abnormal condition that arises in a code sequence at run time A Java

More information

CS159. Nathan Sprague

CS159. Nathan Sprague CS159 Nathan Sprague What s wrong with the following code? 1 /* ************************************************** 2 * Return the mean, or -1 if the array has length 0. 3 ***************************************************

More information

Introduction to the NetBeans Platform Certified Training Course. Geertjan Wielenga Sun Microsystems

Introduction to the NetBeans Platform Certified Training Course. Geertjan Wielenga Sun Microsystems Introduction to the NetBeans Platform Certified Training Course Geertjan Wielenga Sun Microsystems Agenda Aim of the Next Two Days What's the Problem Domain? What is the NetBeans Platform? Why NetBeans

More information

What is it? CMSC 433 Programming Language Technologies and Paradigms Spring Approach 1. Disadvantage of Approach 1

What is it? CMSC 433 Programming Language Technologies and Paradigms Spring Approach 1. Disadvantage of Approach 1 CMSC 433 Programming Language Technologies and Paradigms Spring 2007 Singleton Pattern Mar. 13, 2007 What is it? If you need to make sure that there can be one and only one instance of a class. For example,

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

Tools. SWE 432, Fall Design and Implementation of Software for the Web

Tools. SWE 432, Fall Design and Implementation of Software for the Web Tools SWE 432, Fall 2016 Design and Implementation of Software for the Web Today Before we can really make anything, there s a bunch of technical stuff to get out of the way Tools make our lives so much

More information

About 1. Chapter 1: Getting started with cucumber 2. Remarks 2. Examples 3. A Cucumber feature 3. Pure Ruby Installation 4

About 1. Chapter 1: Getting started with cucumber 2. Remarks 2. Examples 3. A Cucumber feature 3. Pure Ruby Installation 4 cucumber #cucumber Table of Contents About 1 Chapter 1: Getting started with cucumber 2 Remarks 2 Examples 3 A Cucumber feature 3 Pure Ruby Installation 4 A Cucumber step definition in Ruby 4 Chapter 2:

More information

Part 1: jquery & History of DOM Scripting

Part 1: jquery & History of DOM Scripting Karl Swedberg: Intro to JavaScript & jquery 0:00:00 0:05:00 0:05:01 0:10:15 0:10:16 0:12:36 0:12:37 0:13:32 0:13:32 0:14:16 0:14:17 0:15:42 0:15:43 0:16:59 0:17:00 0:17:58 Part 1: jquery & History of DOM

More information

The Joy of Software Development

The Joy of Software Development The Joy of Software Development ABOUT ME Nemo @captn3m0 captnemo.in Work @Razorpay WHY? - Data Structures - Computer Architecture - Algorithms - Operating Systems - Software Eng - Computer Networks - Compiler

More information

xtreme Programming (summary of Kent Beck s XP book) Stefan Resmerita, WS2015

xtreme Programming (summary of Kent Beck s XP book) Stefan Resmerita, WS2015 xtreme Programming (summary of Kent Beck s XP book) 1 Contents The software development problem The XP solution The JUnit testing framework 2 The Software Development Problem 3 Risk Examples delivery schedule

More information

Approach to development in OTM projects

Approach to development in OTM projects Approach to development in OTM projects Anton Moiseev Anastasia Goncharova Amsterdam, March 2014 AGENDA What is extension Development problems Solution elements How we use it 2 DEVELOPMENT IN OTM PROJECTS

More information

COMP31212: Concurrency A Review of Java Concurrency. Giles Reger

COMP31212: Concurrency A Review of Java Concurrency. Giles Reger COMP31212: Concurrency A Review of Java Concurrency Giles Reger Outline What are Java Threads? In Java, concurrency is achieved by Threads A Java Thread object is just an object on the heap, like any other

More information

GOING MOBILE: Setting The Scene for RTOs.

GOING MOBILE: Setting The Scene for RTOs. GOING MOBILE: Setting The Scene for RTOs. 29 November, 4:00 pm 4:45 pm, General Session Presented by Lawrence Smith & Chris Adams WHERE: Usage of Mobile Devices Source: State of American Traveler Research

More information

Intro. Scheme Basics. scm> 5 5. scm>

Intro. Scheme Basics. scm> 5 5. scm> Intro Let s take some time to talk about LISP. It stands for LISt Processing a way of coding using only lists! It sounds pretty radical, and it is. There are lots of cool things to know about LISP; if

More information

1. Selenium Integrated Development Environment (IDE) 2. Selenium Remote Control (RC) 3. Web Driver 4. Selenium Grid

1. Selenium Integrated Development Environment (IDE) 2. Selenium Remote Control (RC) 3. Web Driver 4. Selenium Grid INTRODUCTION 1.0 Selenium Selenium is a free (open source) automated testing suite for web applications across different browsers and platforms. Selenium focuses on automating web-based applications. Testing

More information

Administration. Exceptions. Leftovers. Agenda. When Things Go Wrong. Handling Errors. CS 99 Summer 2000 Michael Clarkson Lecture 11

Administration. Exceptions. Leftovers. Agenda. When Things Go Wrong. Handling Errors. CS 99 Summer 2000 Michael Clarkson Lecture 11 Administration Exceptions CS 99 Summer 2000 Michael Clarkson Lecture 11 Lab 10 due tomorrow No lab tomorrow Work on final projects Remaining office hours Rick: today 2-3 Michael: Thursday 10-noon, Monday

More information

Picasa 1 https://www.google.com/a/ww-p.org/ Enter your WW-P network ID and Password -> Sign In You will get the screen below. Please note that because K-12 education accounts are unable to utilize the

More information

Sucuri Webinar Q&A HOW TO IDENTIFY AND FIX A HACKED WORDPRESS WEBSITE. Ben Martin - Remediation Team Lead

Sucuri Webinar Q&A HOW TO IDENTIFY AND FIX A HACKED WORDPRESS WEBSITE. Ben Martin - Remediation Team Lead Sucuri Webinar Q&A HOW TO IDENTIFY AND FIX A HACKED WORDPRESS WEBSITE. Ben Martin - Remediation Team Lead 1 Question #1: What is the benefit to spammers for using someone elses UA code and is there a way

More information

Unit Testing. CS 240 Advanced Programming Concepts

Unit Testing. CS 240 Advanced Programming Concepts Unit Testing CS 240 Advanced Programming Concepts F-22 Raptor Fighter 2 F-22 Raptor Fighter Manufactured by Lockheed Martin & Boeing How many parts does the F-22 have? 3 F-22 Raptor Fighter What would

More information

Creating A Visible Instructions Page In ICS

Creating A Visible Instructions Page In ICS Creating A Visible Instructions Page In ICS Many of the classic activities in ICS have a button with a speech balloon. Clicking this button gives the student audible instructions or directions about the

More information

Shift Left Testing: are you ready? Live Webinar, Sept 19

Shift Left Testing: are you ready? Live Webinar, Sept 19 Shift Left Testing: are you ready? Live Webinar, Sept 19 Guy Arieli CTO, Experitest 01 What exactly is Shift Left? Agenda 02 03 How Shift Left affects application development & testing organizational structures

More information

Utilizing Fast Testing to Transform Java Development into an Agile, Quick Release, Low Risk Process

Utilizing Fast Testing to Transform Java Development into an Agile, Quick Release, Low Risk Process Utilizing Fast Testing to Transform Java Development into an Agile, Quick Release, Low Risk Process Introduction System tests, often called slow tests, play a crucial role in nearly every Java development

More information

Exceptions and Design

Exceptions and Design Exceptions and Exceptions and Table of contents 1 Error Handling Overview Exceptions RuntimeExceptions 2 Exceptions and Overview Exceptions RuntimeExceptions Exceptions Exceptions and Overview Exceptions

More information

Introduction to Renjin The R interpreter in the JVM. Maarten-Jan Kallen

Introduction to Renjin The R interpreter in the JVM. Maarten-Jan Kallen Introduction to Renjin The R interpreter in the JVM Maarten-Jan Kallen mj@bedatadriven.com 1 Presentation outline What is Renjin? Renjin's design goals Other R engines Example Java application Example

More information

Framework for Enhancing the Performance of Unit Testing in Java Based Projects

Framework for Enhancing the Performance of Unit Testing in Java Based Projects Framework for Enhancing the Performance of Unit Testing in Java Based Projects Thesis submitted in partial fulfillment of the requirements for the award of degree of Master of Engineering in Computer Science

More information

MySQL. The Right Database for GIS Sometimes

MySQL. The Right Database for GIS Sometimes MySQL The Right Database for GIS Sometimes Who am I? Web/GIS Software Engineer with Cimbura.com BS in IT, MGIS Michael Moore I like making and using tools (digital or physical) GIS Web Services I m most

More information

Test-Driven Development (a.k.a. Design to Test) CSE260, Computer Science B: Honors Stony Brook University

Test-Driven Development (a.k.a. Design to Test) CSE260, Computer Science B: Honors Stony Brook University Test-Driven Development (a.k.a. Design to Test) CSE260, Computer Science B: Honors Stony Brook University http://www.cs.stonybrook.edu/~cse260 Person-hours Labor is sometimes measured in person-hours,

More information

Maja Schreiner. 9th Lean, Agile & Scrum Conference 2017

Maja Schreiner. 9th Lean, Agile & Scrum Conference 2017 Maja Schreiner 9th Lean, Agile & Scrum Conference 2017 Senior Test Master @ Swisscom, Switzerland maja.schreiner@gmail.com testmotion.wordpress.com Twitter: majaschreiner process of executing many different

More information

All India Council For Research & Training

All India Council For Research & Training WEB DEVELOPMENT & DESIGNING Are you looking for a master program in web that covers everything related to web? Then yes! You have landed up on the right page. Web Master Course is an advanced web designing,

More information

About 1. Chapter 1: Getting started with testng 2. Remarks 2. Versions 2. Examples 2. Installation or Setup 2. Quick program using TestNG 3

About 1. Chapter 1: Getting started with testng 2. Remarks 2. Versions 2. Examples 2. Installation or Setup 2. Quick program using TestNG 3 testng #testng Table of Contents About 1 Chapter 1: Getting started with testng 2 Remarks 2 Versions 2 Examples 2 Installation or Setup 2 Quick program using TestNG 3 TestNG Hello World Example 3 Run TestNG

More information

CSE 142/143 Unofficial Commenting Guide Eric Arendt, Alyssa Harding, Melissa Winstanley

CSE 142/143 Unofficial Commenting Guide Eric Arendt, Alyssa Harding, Melissa Winstanley CSE 142/143 Unofficial Commenting Guide Eric Arendt, Alyssa Harding, Melissa Winstanley In Brief: What You Need to Know to Comment Methods in CSE 143 Audience o A random person you don t know who wants

More information

An architect s website:!

An architect s website:! An architect s website:! Designing and building your own website - discussion notes / BANG. 1 First ask yourself 2 questions! * Is the website to get new business enquiries via online search? * Is the

More information

Abstract. Chapter 6 Writing a Program. Overview. Writing a program: Strategy. Building a program. Bjarne Stroustrup

Abstract. Chapter 6 Writing a Program. Overview. Writing a program: Strategy. Building a program. Bjarne Stroustrup Abstract Chapter 6 Writing a Program This lecture and the next describe the process of designing a program through the example of a simple desk calculator. Bjarne Stroustrup www.stroustrup.com/programming

More information

Recipes. Marketing For Bloggers. List Building, Traffic, Money & More. A Free Guide by The Social Ms Page! 1 of! 24

Recipes.  Marketing For Bloggers. List Building, Traffic, Money & More. A Free Guide by The Social Ms Page! 1 of! 24 16 Recipes Email Marketing For Bloggers List Building, Traffic, Money & More A Free Guide by The Social Ms Page 1 of 24 Brought to you by: Jonathan Gebauer, Susanna Gebauer INTRODUCTION Email Marketing

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

Section 4: Graphs and Testing

Section 4: Graphs and Testing Section 4: Graphs and Testing Slides by Kevin Pusich and Cody Kesting with material from Erin Peach and Nick Carney, Vinod Rathnam, Alex Mariakakis, Krysta Yousoufian, Mike Ernst, Kellen Donohue Agenda

More information

Video 2.1. Arvind Bhusnurmath. Property of Penn Engineering, Arvind Bhusnurmath. SD1x-2 1

Video 2.1. Arvind Bhusnurmath. Property of Penn Engineering, Arvind Bhusnurmath. SD1x-2 1 Video 2.1 Arvind Bhusnurmath SD1x-2 1 Topics Why is testing important? Different types of testing Unit testing SD1x-2 2 Software testing Integral part of development. If you ship a software with bugs,

More information

Automated Testing of Tableau Dashboards

Automated Testing of Tableau Dashboards Kinesis Technical Whitepapers April 2018 Kinesis CI Automated Testing of Tableau Dashboards Abstract Companies make business critical decisions every day, based on data from their business intelligence

More information

Syllabus Technosoft Academy. Course Syllabus. 1 P a g e

Syllabus Technosoft Academy. Course Syllabus. 1 P a g e Course Syllabus 1 P a g e Table of Contents Course Overview 3 Who Can Take 4 Curriculum Assignments & Units 5 2 P a g e Course Overview: This 4-month course provides students with a span of Software Test

More information

csc444h: so(ware engineering I matt medland

csc444h: so(ware engineering I matt medland csc444h: so(ware engineering I matt medland matt@cs.utoronto.ca http://www.cs.utoronto.ca/~matt/csc444 tes2ng top- 10 infrastructure source code control including other types of testing reproducible builds

More information

CSE 303: Concepts and Tools for Software Development

CSE 303: Concepts and Tools for Software Development CSE 303: Concepts and Tools for Software Development Hal Perkins Autumn 2008 Lecture 24 Introduction to C++ CSE303 Autumn 2008, Lecture 24 1 C++ C++ is an enormous language: All of C Classes and objects

More information

(Complete Package) We are ready to serve Latest Testing Trends, Are you ready to learn? New Batches Info

(Complete Package) We are ready to serve Latest Testing Trends, Are you ready to learn? New Batches Info (Complete Package) SELENIUM CORE JAVA We are ready to serve Latest Testing Trends, Are you ready to learn? New Batches Info START DATE : TIMINGS : DURATION : TYPE OF BATCH : FEE : FACULTY NAME : LAB TIMINGS

More information

These are notes for the third lecture; if statements and loops.

These are notes for the third lecture; if statements and loops. These are notes for the third lecture; if statements and loops. 1 Yeah, this is going to be the second slide in a lot of lectures. 2 - Dominant language for desktop application development - Most modern

More information

2.6 Error, exception and event handling

2.6 Error, exception and event handling 2.6 Error, exception and event handling There are conditions that have to be fulfilled by a program that sometimes are not fulfilled, which causes a so-called program error. When an error occurs usually

More information

JS Event Loop, Promises, Async Await etc. Slava Kim

JS Event Loop, Promises, Async Await etc. Slava Kim JS Event Loop, Promises, Async Await etc Slava Kim Synchronous Happens consecutively, one after another Asynchronous Happens later at some point in time Parallelism vs Concurrency What are those????

More information

Instructor Notes for 2 Days Java For Testers Training

Instructor Notes for 2 Days Java For Testers Training Contents Instructor Notes for 2 Days Java For Testers Training 1 Rough Timings Day 1........................... 2 Rough Timings Day 2........................... 3 Expanded Timings.............................

More information

cwmon-mysql Release 0.5.0

cwmon-mysql Release 0.5.0 cwmon-mysql Release 0.5.0 October 18, 2016 Contents 1 Overview 1 1.1 Installation................................................ 1 1.2 Documentation.............................................. 1 1.3

More information

CS 3 Introduction to Software Engineering. 3: Exceptions

CS 3 Introduction to Software Engineering. 3: Exceptions CS 3 Introduction to Software Engineering 3: Exceptions Questions? 2 Objectives Last Time: Procedural Abstraction This Time: Procedural Abstraction II Focus on Exceptions. Starting Next Time: Data Abstraction

More information

Java Review. Fundamentals of Computer Science

Java Review. Fundamentals of Computer Science Java Review Fundamentals of Computer Science Link to Head First pdf File https://zimslifeintcs.files.wordpress.com/2011/12/h ead-first-java-2nd-edition.pdf Outline Data Types Arrays Boolean Expressions

More information

Binghamton University. CS-140 Fall Problem Solving. Creating a class from scratch

Binghamton University. CS-140 Fall Problem Solving. Creating a class from scratch Problem Solving Creating a class from scratch 1 Recipe for Writing a Class 1. Write the class boilerplate stuff 2. Declare Fields 3. Write Creator(s) 4. Write accessor methods 5. Write mutator methods

More information

Magento Technical Guidelines

Magento Technical Guidelines Magento Technical Guidelines Eugene Shakhsuvarov, Software Engineer @ Magento 2018 Magento, Inc. Page 1 Magento 2 Technical Guidelines Document which describes the desired technical state of Magento 2

More information

SELENIUM TRAINING COURSE CONTENT

SELENIUM TRAINING COURSE CONTENT SECTION 1 : INTRODUCTION SELENIUM TRAINING COURSE CONTENT What is automation testing? When Automation Testing is needed? What is the use of automation testing? Different Automation Tools available in the

More information

Testing and Debugging

Testing and Debugging COS226 - Spring 2018 Class Meeting # 3 February 12, 2018 Testing and Debugging Tips & Tricks Ibrahim Albluwi COS 126 Unofficial Coding Strategy Repeat Until Deadline : Hack! Click Check All Submitted Files

More information

A faster approach for accessing Snap Deal URL using Multi browser with Selenium Web Driver

A faster approach for accessing Snap Deal URL using Multi browser with Selenium Web Driver A faster approach for accessing Snap Deal URL using Multi browser with Selenium Web Driver 1 Mahan Sunhare, 2 Abhishek Tiwari Student (M-tech), Guide MIT, Ujjain, India ABSTRACT: In current paper, we are

More information

On a blog, code can mean many things. It can refer to the complicated

On a blog, code can mean many things. It can refer to the complicated Bonus Chapter 2 Very Basic HTML Code On a blog, code can mean many things. It can refer to the complicated programming that makes up the software that runs your blog, or it can mean simple styles that

More information

Customizing the Blackboard Learn UI & Tag Libraries. George Kroner, Developer Relations Engineer

Customizing the Blackboard Learn UI & Tag Libraries. George Kroner, Developer Relations Engineer Customizing the Blackboard Learn UI & Tag Libraries George Kroner, Developer Relations Engineer Agenda Product capabilities Capabilities in more depth Building Blocks revisited (tag libraries) Tag libraries

More information

pytest-benchmark Release 2.5.0

pytest-benchmark Release 2.5.0 pytest-benchmark Release 2.5.0 September 13, 2015 Contents 1 Overview 3 1.1 pytest-benchmark............................................ 3 2 Installation 7 3 Usage 9 4 Reference 11 4.1 pytest_benchmark............................................

More information

Another Example. Other Constructs

Another Example. Other Constructs Another Example Re-do DemoSentinel02 using a sentinel of 'q' or 'Q' (for quit). Use a do-statement to setup the loop. DemoSentinel03.java Instructor Note: Demo from Eclipse 36 Other Constructs switch break

More information

Improve SSIS Delivery with a Patterns-Based Approach. Meagan Longoria July 19, 2017

Improve SSIS Delivery with a Patterns-Based Approach. Meagan Longoria July 19, 2017 Improve SSIS Delivery with a Patterns-Based Approach Meagan Longoria July 19, 2017 What If I Told You 90% of your data integration development in SQL Server could be automated? In 5 years, you will be

More information

In this lab we will practice creating, throwing and handling exceptions.

In this lab we will practice creating, throwing and handling exceptions. Lab 5 Exceptions Exceptions indicate that a program has encountered an unforeseen problem. While some problems place programmers at fault (for example, using an index that is outside the boundaries of

More information

Poetaster. Release 0.1.1

Poetaster. Release 0.1.1 Poetaster Release 0.1.1 September 21, 2016 Contents 1 Overview 1 1.1 Installation................................................ 1 1.2 Documentation.............................................. 1 1.3

More information

CONTINUOUS INTEGRATION; TIPS & TRICKS

CONTINUOUS INTEGRATION; TIPS & TRICKS CONTINUOUS INTEGRATION; TIPS & TRICKS BIO I DO TECH THINGS I DO THINGS I DO THINGS BLUE OCEAN BEEP BEEP REFACTOR PEOPLE S HOUSES MY TIPS & TRICKS FOR CI - CI Infrastructure - CI Architecture - Pipeline

More information

Google Analytics 101

Google Analytics 101 Copyright GetABusinessMobileApp.com All rights reserved worldwide. YOUR RIGHTS: This book is restricted to your personal use only. It does not come with any other rights. LEGAL DISCLAIMER: This book is

More information

CISC-124. Casting. // this would fail because we can t assign a double value to an int // variable

CISC-124. Casting. // this would fail because we can t assign a double value to an int // variable CISC-124 20180122 Today we looked at casting, conditionals and loops. Casting Casting is a simple method for converting one type of number to another, when the original type cannot be simply assigned to

More information

Unit testing. JUnit. JUnit and Eclipse. A JUnit test class 3/6/17. A method is flagged as a JUnit test case.

Unit testing. JUnit. JUnit and Eclipse. A JUnit test class 3/6/17. A method is flagged as a JUnit test case. Unit testing JUnit ENGI 5895 unit testing: Looking for errors in a subsystem in isolation. Generally a "subsystem" means a particular class or object. The Java library JUnit helps us to easily perform

More information

Expert Guidance on Migrating from Magento 1 to Magento 2

Expert Guidance on Migrating from Magento 1 to Magento 2 Expert Guidance on Migrating from Magento 1 to Magento 2 Gordon Knoppe Business Solutions Architect, ECG James Cowie Technical Architect, ECG Expert Consulting Group ECG Charter: To provide expert insight,

More information