Jemmy tutorial. Introduction to Jemmy testing framework. Pawel Prokop. March 14,
|
|
|
- Arleen Douglas
- 10 years ago
- Views:
Transcription
1 tutorial Introduction to testing framework March 14, 2012
2 Recording tests Testing frameworks Summary Manualy testing error prone slow and not efficient repeating test costs a lot no place for TDD boring for developers (dinner syndrome) flexible look & feel fast feedback
3 Recording tests Testing frameworks Summary Recording user actions to exercise the application efficient fast preparation fast execution cheap hard to modify during application development common functionalities no place for TDD
4 Recording tests Testing frameworks Summary Available tools for test recording SWTBot is an open-source Java based functional testing tool for testing SWT and Eclipse based applications. Marathon allows to record the script that can be modified later manualy. Supports assertions. Jacareto is a tool that allows capture actions on applications and replay them later.
5 Recording tests Testing frameworks Summary Write code that simulates user actions efficient moderate slow preparation parts of code may be reused fast execution easy to modify during application development can be used with TDD
6 Recording tests Testing frameworks Summary Testing frameworks UISpec4J is an open source framework to test Swing applications. JFCUnit is an extension of JUnit that allows to execute unit tests against Swing based interface. is an open source framework that allows to simulate user interactions with Swing applications.
7 Recording tests Testing frameworks Summary Summary Manual testing Recording Framework Efficiency Preparation time + + +/- Execution time Price Reusability TDD Flexibility + - -
8 Introduction Installation introduction documentation not so many tutorials not so many presentations and documents good javadoc is enough to start few samples low vitality
9 Introduction Installation framework How works? the same JVM as tested application simulates user operations on the components by calling events events are stored on the QueueTool class and then provided to AWT EventQueue search components recursively by given criteria (caption, name) criteria defined as implementation of ComponentChooser interface
10 Introduction Installation framework in TDD approach design UI interface and the components implement jemmy tests to fit the interface run failing tests create implementation and re-run tests until they pass
11 Introduction Installation Installation Eclipse add jemmy.jar to the Java Build Path
12 Introduction Installation Installation Netbeans add Jar/Folder to Libraries
13 Introduction Installation Integration with JUnit 2 p u b l i c class CommonTest { 3 protected s t a t i c JMyApplication a p p l i c a t i o n = n u l l ; 4 5 public CommonTest ( ) { } 6 8 public s t a t i c void setupclass ( ) throws Exception { } 9 11 public s t a t i c void teardownclass ( ) throws Exception { } p u b l i c void setup ( ) throws Exception { 15 application = new JMyApplication ( ) ; 16 a p p l i c a t i o n. startjmyforms ( ) ; 17 } public void teardown ( ) throws Exception { 21 a p p l i c a t i o n. stopjmyforms ( ) ; 22 } 23 }
14 Introduction Installation Integration with Ant
15 Introduction Installation Integration with Ant 1 < p r o j e c t name= "Sample"> 2 < t a r g e t name= " j u n i t " > 3 < j u n i t printsummary= " yes " > 4 <classpath path= " l i b s / j u n i t 4.5. j a r " / > 5 <classpath path= " l i b s / jemmy. j a r " / > 6 <classpath path= " b u i l d / t e s t / classes / " / > 7 <classpath path= " b u i l d / classes / " / > 8 <batchtest fork= " yes "> 9 < f i l e s e t d i r = " t e s t " i n cludes=" / Test. java " / > 10 < / b a t c h t e s t > 11 < / j u n i t > 12 < / t a r g e t > 13 < / p r o j e c t > 1 ant f j u n i t. xml j u n i t
16 Operators Concept depended approach Component choosers Timeouts Find components Operators Communication with UI controls is realized by operators defines own operators for every AWT/Swing UI component JFrameOperator JDialogOperator JButtonOperator JCheckBoxOperator JComboBoxOperator JFileChooserOperator...and many others Operators can be extended by the developer
17 Operators Concept depended approach Component choosers Timeouts Find components Operators - small example Yes/No dialog operator 1 p u b l i c class YesNoDialogOperator extends JDialogOperator { 2 p u b l i c YesNoDialogOperator ( ) { 3 super ( " Confirmation " ) ; 4 } 5 6 public void pushyes ( ) { 7 new JButtonOperator ( t h i s, " Yes " ). push ( ) ; 8 } 9 10 public void pushno ( ) { 11 new JButtonOperator ( t h i s, "No" ). push ( ) ; 12 } 13 }
18 Operators Concept depended approach Component choosers Timeouts Find components Operators - small example Usage 1 / /... 3 public void test_some_functionality ( ) { 4 / /... 5 YesNoDialogOperator operator = new YesNoDialogOperator ( ) ; 6 a s s e r t N o t N u l l ( operator ) ; 7 operator. pushyes ( ) ; 8 / /... 9 } 10 / /...
19 Operators Concept depended approach Component choosers Timeouts Find components Load application with jemmy class reference 1 new ClassReference ( " jemmysample. SampleApplication " ). startapplication ( ) ; direct call 1 SampleApplication. main ( n u l l ) ;
20 Operators Concept depended approach Component choosers Timeouts Find components Concept depended approach create classes that support some application s functionality: 1 class MyMainDialog extends JDialogOperator { 2 public s t a t i c String dialogcaption = "My Dialog " ; 3 4 public MyMainDialog ( ) { super ( dialogcaption ) ; } 5 6 p u b l i c void pushbuttoncancel ( ) { 7 new JButtonOperator ( " Cancel " ). push ( ) ; 8 } 9 } and then use them from test suites: 2 public void test_dialog_can_cancel ( ) { 3 MyMainDialog dialogoperator = new MyMainDialog ( ) ; 4 dialogoperator. pushbuttoncancel ( ) ; 5 }
21 Operators Concept depended approach Component choosers Timeouts Find components Application Shadow 1 p u b l i c class JMyApplication { 2 private JFrameOperator mainframe = n u l l ; 3 4 public JFrameOperator getmainframe ( ) { 5 return mainframe ; 6 } 7 8 public i n t startjmyforms ( ) { 9 SampleApplication. main ( n u l l ) ; 10 mainframe = new JFrameOperator ( "JMyForms " ) ; 11 r e t u r n 0; 12 } public i n t stopjmyforms ( ) { 15 JMenuBarOperator menubarop = new JMenuBarOperator ( mainframe ) ; 16 JMenuOperator filemenu = new JMenuOperator (menubarop. getmenu ( 0 ) ) ; 17 filemenu. pushmenu ( " F i l e E x i t " ) ; 18 r e t u r n 0; 19 } 20 }
22 Operators Concept depended approach Component choosers Timeouts Find components The Component Choosers How to find component? using its index inside the container textfield next to label using Component Chooser implementation NameComponentChooser uses a name property PropChooser uses properties and methods to match a component Developer can define custom component choosers - implementing ComponentChooser interface
23 Operators Concept depended approach Component choosers Timeouts Find components RegexpFrameTitleChooser 1 p u b l i c class RegexpFrameTitleChooser implements ComponentChooser { 2 Pattern p a t t e r n = n u l l ; 3 4 p u b l i c RegexpFrameTitleChooser ( S t r i n g p a t t e r n ) { 5 t h i s. p a t t e r n = Pattern. compile ( p a t t e r n ) ; 6 } 7 9 public boolean checkcomponent ( Component component ) { 10 i f ( component instanceof JFrame ) { 11 S t r i n g f r a m e T i t l e = ( ( JFrame ) component ). g e t T i t l e ( ) ; 12 Matcher matcher = pattern. matcher ( frametitle ) ; 13 return matcher. matches ( ) ; 14 } 15 return false ; 16 } public String getdescription ( ) { 20 return pattern. pattern ( ) ; 21 } 22 }
24 Operators Concept depended approach Component choosers Timeouts Find components ShowingComponentChooser 1 p u b l i c class ShowingNameComponentChooser extends NameComponentChooser { 2 p u b l i c ShowingNameComponentChooser ( S t r i n g name) { 3 super (name ) ; 4 } 5 7 public boolean checkcomponent ( Component component ) { 8 i f ( super. checkcomponent ( component ) && component. isshowing ( ) ) { 9 return true ; 10 } 11 return false ; 12 } }
25 Operators Concept depended approach Component choosers Timeouts Find components Timeouts time values (milliseconds) to wait for something to be done by the application
26 Operators Concept depended approach Component choosers Timeouts Find components Timeouts to delay simulated user behaviour kept by org.netbeans.jemmy.timeouts class 1 / / Set delay before key i s pressed during t y p i n g 2 Properties. getcurrenttimeouts ( ). settimeout 3 ( " JTextComponentOperator. PushKeyTimeout ", 50); each instance can have its own timeouts set 1 / / Set delay between button pressing and releasing. 2 JButtonOperator btnoperator = new JButtonOperator ( " Process " ) ; 3 btnoperator. gettimeouts ( ) 4. settimeout ( " AbstractButtonOperator. PushButtonTimeout ", 500);
27 Operators Concept depended approach Component choosers Timeouts Find components Timeouts cont. to wait until timeout exception is raised 1 / / wait up to 5 seconds f o r JDialog 2 Properties. getcurrenttimeouts ( ). settimeout 3 ( " DialogWaiter. WaitDialogTimeout ", 5000); 4 JDialogOperator albums = new JDialogOperator ( " Dialog Caption " ) ;
28 Operators Concept depended approach Component choosers Timeouts Find components More timeouts JComboBoxOperator.BeforeSelectingTimeout - time to sleep after list opened and before item selected JComboBoxOperator.WaitListTimeout - time to wait list opened ComponentOperator.WaitStateTimeout - time to wait for item to be selected JTextComponentOperator.PushKeyTimeout - time between key pressing and releasing during text typing JTextComponentOperator.BetweenKeysTimeout - time to sleep between two chars typing
29 Operators Concept depended approach Component choosers Timeouts Find components find method vs operator constructor static find method returns the operator or null immediately: 2 public void test_some_functionality ( ) { 3 / /... 4 JDialogOperator mydialog = JDialogOperator. f i n d D i a l o g ( " E r r o r ", true, t r u e ) ; 5 i f ( n u l l == mydialog ) { 6 / / no E r r o r d i a l o g i s c u r r e n t l y displayed 7 } 8 / /... 9 } constructor blocks until component appears on the screen or timeout. 1 public void test_some_functionality ( ) { 2 / /... 3 JDialogOperator mydialog = new JDialogOperator ( " E r r o r " ) ; 4 / /... 5 }
30 Screenshot Dump componenets Screenshot feature Capture screen shot 1 / /... 3 public void testsomefunctionality ( ) { 4 / /... 5 org. netbeans. jemmy. u t i l. PNGEncoder 6. capturescreen ( " testsomefunctionality. png " ) ; 7 / /... 8 } 9 / /... Image modes black and white grayscale colour
31 Screenshot Dump componenets Dump components in JVM Dump components in JVM Dump all components 1 / /... 3 public void testsomefunctionality ( ) { 4 / /... 5 org. netbeans. jemmy. u t i l. Dumper. dumpall ( " jemmy_example. xml " ) ; 6 / /... 7 } 8 / /... Dump component 1 / /... 2 public void testsomefunctionality ( ) { 3 / /... 4 Component comp = application. getmainframe ( ). getcomponent ( 0 ) ; 5 org. netbeans. jemmy. u t i l. Dumper. dumpcomponent ( comp, 6 " jemmy_example_component. xml " ) ; 7 / /... 8 } 9 / /...
32 GUIBrowser tool GUIBrowser tool shows all GUI objects in current JVM shows components in hierarchy allows to take snapshot in defined time delay displays component members (name, caption, size...)
33 GUIBrowser tool Launch GUIBrowser tool 1 new ClassReference ( " org. netbeans. jemmy. e x p l o r e r. GUIBrowser " ). s t a r t A p p l i c a t i o n ( ) ;
34 GUIBrowser tool Questions? Questions?
35 GUIBrowser tool Links 1. Operators: 2. repository: 3. tutorial: 4. this presentation: jemmy_introduction.pdf
36 GUIBrowser tool Credits 1. flickr/ant/binux 2. flickr/clock/kobiz7
UI Performance Monitoring
UI Performance Monitoring SWT API to Monitor UI Delays Terry Parker, Google Contents 1. 2. 3. 4. 5. 6. 7. Definition Motivation The new API Monitoring UI Delays Diagnosing UI Delays Problems Found! Next
Unit Testing. and. JUnit
Unit Testing and JUnit Problem area Code components must be tested! Confirms that your code works Components must be tested t in isolation A functional test can tell you that a bug exists in the implementation
Appium mobile test automation
Appium mobile test automation for Google Android and Apple ios Last updated: 4 January 2016 Pepgo Limited, 71-75 Shelton Street, Covent Garden, London, WC2H 9JQ, United Kingdom Contents About this document...
Generating Automated Test Scripts for AltioLive using QF Test
Generating Automated Test Scripts for AltioLive using QF Test Author: Maryam Umar Contents 1. Introduction 2 2. Setting up QF Test 2 3. Starting an Altio application 3 4. Recording components 5 5. Performing
Java Unit testing with JUnit 4.x in Eclipse
Lars Vogel Version 0.2 Copyright 2007 Lars Vogel 30.06.2007 Abstract This article gives a short overview of JUnit 4.x and its usage within Eclipse. You should be able to run tests
Unit Testing JUnit and Clover
1 Unit Testing JUnit and Clover Software Component Technology Agenda for Today 2 1. Testing 2. Main Concepts 3. Unit Testing JUnit 4. Test Evaluation Clover 5. Reference Software Testing 3 Goal: find many
Author: Sascha Wolski Sebastian Hennebrueder http://www.laliluna.de/tutorials.html Tutorials for Struts, EJB, xdoclet and eclipse.
JUnit Testing JUnit is a simple Java testing framework to write tests for you Java application. This tutorial gives you an overview of the features of JUnit and shows a little example how you can write
TESTING WITH JUNIT. Lab 3 : Testing
TESTING WITH JUNIT Lab 3 : Testing Overview Testing with JUnit JUnit Basics Sample Test Case How To Write a Test Case Running Tests with JUnit JUnit plug-in for NetBeans Running Tests in NetBeans Testing
IBM Tivoli Workload Scheduler Integration Workbench V8.6.: How to customize your automation environment by creating a custom Job Type plug-in
IBM Tivoli Workload Scheduler Integration Workbench V8.6.: How to customize your automation environment by creating a custom Job Type plug-in Author(s): Marco Ganci Abstract This document describes how
JDemo - Lightweight Exploratory Developer Testing
JDemo Lightweight Exploratory Developer Testing Ilja Preuß [email protected] disy Informationssysteme GmbH, Karlsruhe, Germany Agile 2008 Motivation Introduction to JDemo Demonstration Experiences Demos
Slides prepared by : Farzana Rahman TESTING WITH JUNIT IN ECLIPSE
TESTING WITH JUNIT IN ECLIPSE 1 INTRODUCTION The class that you will want to test is created first so that Eclipse will be able to find that class under test when you build the test case class. The test
Unit Testing & JUnit
Unit Testing & JUnit Lecture Outline Communicating your Classes Introduction to JUnit4 Selecting test cases UML Class Diagrams Rectangle height : int width : int resize(double,double) getarea(): int getperimeter():int
International Journal of Advanced Engineering Research and Science (IJAERS) Vol-2, Issue-11, Nov- 2015] ISSN: 2349-6495
International Journal of Advanced Engineering Research and Science (IJAERS) Vol-2, Issue-11, Nov- 2015] Survey on Automation Testing Tools for Mobile Applications Dr.S.Gunasekaran 1, V. Bargavi 2 1 Department
Eclipse with Mac OSX Getting Started Selecting Your Workspace. Creating a Project.
Eclipse with Mac OSX Java developers have quickly made Eclipse one of the most popular Java coding tools on Mac OS X. But although Eclipse is a comfortable tool to use every day once you know it, it is
Approach of Unit testing with the help of JUnit
Approach of Unit testing with the help of JUnit Satish Mishra [email protected] About me! Satish Mishra! Master of Electronics Science from India! Worked as Software Engineer,Project Manager,Quality
AP Computer Science Java Subset
APPENDIX A AP Computer Science Java Subset The AP Java subset is intended to outline the features of Java that may appear on the AP Computer Science A Exam. The AP Java subset is NOT intended as an overall
Debugging Java Applications
Debugging Java Applications Table of Contents Starting a Debugging Session...2 Debugger Windows...4 Attaching the Debugger to a Running Application...5 Starting the Debugger Outside of the Project's Main
Table of Contents. LESSON: The JUnit Test Tool...1. Subjects...2. Testing 123...3. What JUnit Provides...4. JUnit Concepts...5
Table of Contents LESSON: The JUnit Test Tool...1 Subjects...2 Testing 123...3 What JUnit Provides...4 JUnit Concepts...5 Example Testing a Queue Class...6 Example TestCase Class for Queue...7 Example
ID TECH UniMag Android SDK User Manual
ID TECH UniMag Android SDK User Manual 80110504-001-A 12/03/2010 Revision History Revision Description Date A Initial Release 12/03/2010 2 UniMag Android SDK User Manual Before using the ID TECH UniMag
Milosz Mazurkiewicz GUI TEST AUTOMATION WITH SWTBOT
Milosz Mazurkiewicz GUI TEST AUTOMATION WITH SWTBOT Technology and Communication 2010 VAASAN AMMATTIKORKEAKOULU UNIVERSITY OF APPLIED SCIENCES Degree Programme of Information Technology ABSTRACT Author
A Practical Guide to Test Case Types in Java
Software Tests with Faktor-IPS Gunnar Tacke, Jan Ortmann (Dokumentversion 203) Overview In each software development project, software testing entails considerable expenses. Running regression tests manually
Build management & Continuous integration. with Maven & Hudson
Build management & Continuous integration with Maven & Hudson About me Tim te Beek [email protected] Computer science student Bioinformatics Research Support Overview Build automation with Maven Repository
Plugin JUnit. Contents. Mikaël Marche. November 18, 2005
Plugin JUnit Mikaël Marche November 18, 2005 JUnit is a Java API enabling to describe unit tests for a Java application. The JUnit plugin inside Salomé-TMF enables one to execute automatically JUnit tests
The Darwin Game 2.0 Programming Guide
The Darwin Game 2.0 Programming Guide In The Darwin Game creatures compete to control maps and race through mazes. You play by programming your own species of creature in Java, which then acts autonomously
Testing, Debugging, and Verification
Testing, Debugging, and Verification Testing, Part II Moa Johansson 10 November 2014 TDV: Testing /GU 141110 1 / 42 Admin Make sure you are registered for the course. Otherwise your marks cannot be recorded.
Using NetBeans IDE to Build Quick UI s Ray Hylock, GISo Tutorial 3/8/2011
Using NetBeans IDE to Build Quick UI s Ray Hylock, GISo Tutorial 3/8/2011 We will be building the following application using the NetBeans IDE. It s a simple nucleotide search tool where we have as input
JAVA DEVELOPER S GUIDE TO ASPRISE SCANNING & IMAGE CAPTURE SDK
Technical Library JAVA DEVELOPER S GUIDE TO ASPRISE SCANNING & IMAGE CAPTURE SDK Version 10 Last updated on June, 2014 ALL RIGHTS RESERVED BY LAB ASPRISE! 1998, 2014. Table of Contents 1 INTRODUCTION...6
Computing Concepts with Java Essentials
2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. Computing Concepts with Java Essentials 3rd Edition Cay Horstmann
An Overview of Java. overview-1
An Overview of Java overview-1 Contents What is Java Major Java features Java virtual machine Java programming language Java class libraries (API) GUI Support in Java Networking and Threads in Java overview-2
Applets, RMI, JDBC Exam Review
Applets, RMI, JDBC Exam Review Sara Sprenkle Announcements Quiz today Project 2 due tomorrow Exam on Thursday Web programming CPM and servlets vs JSPs Sara Sprenkle - CISC370 2 1 Division of Labor Java
First Java Programs. V. Paúl Pauca. CSC 111D Fall, 2015. Department of Computer Science Wake Forest University. Introduction to Computer Science
First Java Programs V. Paúl Pauca Department of Computer Science Wake Forest University CSC 111D Fall, 2015 Hello World revisited / 8/23/15 The f i r s t o b l i g a t o r y Java program @author Paul Pauca
Java Interview Questions and Answers
1. What is the most important feature of Java? Java is a platform independent language. 2. What do you mean by platform independence? Platform independence means that we can write and compile the java
Tutorial: Time Of Day Part 2 GUI Design in NetBeans
Tutorial: Time Of Day Part 2 GUI Design in NetBeans October 7, 2010 Author Goals Kees Hemerik / Gerard Zwaan Getting acquainted with NetBeans GUI Builder Illustrate the separation between GUI and computation
Capabilities of a Java Test Execution Framework by Erick Griffin
Capabilities of a Java Test Execution Framework by Erick Griffin Here we discuss key properties and capabilities of a Java Test Execution Framework for writing and executing discrete Java tests for testing
How to develop your own app
How to develop your own app It s important that everything on the hardware side and also on the software side of our Android-to-serial converter should be as simple as possible. We have the advantage that
Tutorial: Getting Started
9 Tutorial: Getting Started INFRASTRUCTURE A MAKEFILE PLAIN HELLO WORLD APERIODIC HELLO WORLD PERIODIC HELLO WORLD WATCH THOSE REAL-TIME PRIORITIES THEY ARE SERIOUS SUMMARY Getting started with a new platform
UNIT TESTING. Written by Patrick Kua Oracle Australian Development Centre Oracle Corporation
UNIT TESTING Written by Patrick Kua Oracle Australian Development Centre Oracle Corporation TABLE OF CONTENTS 1 Overview..1 1.1 Document Purpose..1 1.2 Target Audience1 1.3 References.1 2 Testing..2 2.1
Licensed for viewing only. Printing is prohibited. For hard copies, please purchase from www.agileskills.org
Unit Test 301 CHAPTER 12Unit Test Unit test Suppose that you are writing a CourseCatalog class to record the information of some courses: class CourseCatalog { CourseCatalog() { void add(course course)
Fair Scheduler. Table of contents
Table of contents 1 Purpose... 2 2 Introduction... 2 3 Installation... 3 4 Configuration...3 4.1 Scheduler Parameters in mapred-site.xml...4 4.2 Allocation File (fair-scheduler.xml)... 6 4.3 Access Control
Software Quality Exercise 2
Software Quality Exercise 2 Testing and Debugging 1 Information 1.1 Dates Release: 12.03.2012 12.15pm Deadline: 19.03.2012 12.15pm Discussion: 26.03.2012 1.2 Formalities Please submit your solution as
Syllabus for CS 134 Java Programming
- Java Programming Syllabus Page 1 Syllabus for CS 134 Java Programming Computer Science Course Catalog 2000-2001: This course is an introduction to objectoriented programming using the Java language.
Beyond Unit Testing. Steve Loughran Julio Guijarro HP Laboratories, Bristol, UK. steve.loughran at hpl.hp.com julio.guijarro at hpl.hp.
Beyond Unit Testing Steve Loughran Julio Guijarro HP Laboratories, Bristol, UK steve.loughran at hpl.hp.com julio.guijarro at hpl.hp.com Julio Guijarro About Us Research scientist at HP Laboratories on
Winning the Battle against Automated Testing. Elena Laskavaia March 2016
Winning the Battle against Automated Testing Elena Laskavaia March 2016 Quality Foundation of Quality People Process Tools Development vs Testing Developers don t test Testers don t develop Testers don
Performance Testing from User Perspective through Front End Software Testing Conference, 2013
Performance Testing from User Perspective through Front End Software Testing Conference, 2013 Authors: Himanshu Dhingra - Overall 9+ years IT extensive experience years on Automation testing - Expertise
Effective unit testing with JUnit
Effective unit testing with JUnit written by Eric M. Burke [email protected] Copyright 2000, Eric M. Burke and All rights reserved last revised 12 Oct 2000 extreme Testing 1 What is extreme Programming
Unit Testing webmethods Integrations using JUnit Practicing TDD for EAI projects
TORRY HARRIS BUSINESS SOLUTIONS Unit Testing webmethods Integrations using JUnit Practicing TDD for EAI projects Ganapathi Nanjappa 4/28/2010 2010 Torry Harris Business Solutions. All rights reserved Page
GUIs with Swing. Principles of Software Construction: Objects, Design, and Concurrency. Jonathan Aldrich and Charlie Garrod Fall 2012
GUIs with Swing Principles of Software Construction: Objects, Design, and Concurrency Jonathan Aldrich and Charlie Garrod Fall 2012 Slides copyright 2012 by Jeffrey Eppinger, Jonathan Aldrich, William
Continuous Integration
Continuous Integration Stefan Sprenger ([email protected]) Semesterprojekt Verteilte Echtzeitrecherche in Genomdaten 15. Dezember 2015 Motivation 2 How was software developed before CI?
Continuous Integration: Aspects in Automation and Configuration Management
Context Continuous Integration: Aspects in and Configuration Management Christian Rehn TU Kaiserslautern January 9, 2012 1 / 34 Overview Context 1 Context 2 3 4 2 / 34 Questions Context How to do integration
Tutorial 5: Developing Java applications
Tutorial 5: Developing Java applications p. 1 Tutorial 5: Developing Java applications Georgios Gousios [email protected] Department of Management Science and Technology Athens University of Economics and
Unit Testing and JUnit
Unit Testing and JUnit Testing Objectives Tests intended to find errors Errors should be found quickly Good test cases have high p for finding a yet undiscovered error Successful tests cause program failure,
Going Interactive: Combining Ad-Hoc and Regression Testing
Going Interactive: Combining Ad-Hoc and Regression Testing Michael Kölling 1, Andrew Patterson 2 1 Mærsk Mc-Kinney Møller Institute, University of Southern Denmark, Denmark [email protected] 2 Deakin University,
Automation using Selenium
Table of Contents 1. A view on Automation Testing... 3 2. Automation Testing Tools... 3 2.1 Licensed Tools... 3 2.1.1 Market Growth & Productivity... 4 2.1.2 Current Scenario... 4 2.2 Open Source Tools...
Analog Monitoring Tool AMT 0.3b User Manual
Analog Monitoring Tool AMT 0.3b User Manual 1 Introduction AMT (Analog Monitoring Tool) is a tool for checking the correctness of analog and mixed-signal simulation traces with respect to a formal specification
Android Development. http://developer.android.com/develop/ 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系
Android Development http://developer.android.com/develop/ 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系 Android 3D 1. Design 2. Develop Training API Guides Reference 3. Distribute 2 Development Training Get Started Building
How To Test In Bluej
Unit Testing in BlueJ Version 1.0 for BlueJ Version 1.3.0 Michael Kölling Mærsk Institute University of Southern Denmark Copyright M. Kölling 1 INTRODUCTION.........................................................................
Java CPD (I) Frans Coenen Department of Computer Science
Java CPD (I) Frans Coenen Department of Computer Science Content Session 1, 12:45-14:30 (First Java Programme, Inheritance, Arithmetic) Session 2, 14:45-16:45 (Input and Programme Constructs) Materials
Habanero Extreme Scale Software Research Project
Habanero Extreme Scale Software Research Project Comp215: Java Method Dispatch Zoran Budimlić (Rice University) Always remember that you are absolutely unique. Just like everyone else. - Margaret Mead
How To Write A File Station In Android.Com (For Free) On A Microsoft Macbook Or Ipad (For A Limited Time) On An Ubuntu 8.1 (For Ubuntu) On Your Computer Or Ipa (For
QtsHttp Java Sample Code for Android Getting Started Build the develop environment QtsHttp Java Sample Code is developed using ADT Bundle for Windows. The ADT (Android Developer Tools) Bundle includes:
+ Introduction to JUnit. IT323 Software Engineering II By: Mashael Al-Duwais
1 + Introduction to JUnit IT323 Software Engineering II By: Mashael Al-Duwais + What is Unit Testing? 2 A procedure to validate individual units of Source Code Example: A procedure, method or class Validating
INTRODUCTION TO COMPUTER PROGRAMMING. Richard Pierse. Class 7: Object-Oriented Programming. Introduction
INTRODUCTION TO COMPUTER PROGRAMMING Richard Pierse Class 7: Object-Oriented Programming Introduction One of the key issues in programming is the reusability of code. Suppose that you have written a program
JUnit Automated Software Testing Framework. Jeff Offutt. SWE 437 George Mason University 2008. Thanks in part to Aynur Abdurazik. What is JUnit?
JUnit Automated Software Testing Framework Jeff Offutt SWE 437 George Mason University 2008 Thanks in part to Aynur Abdurazik What is JUnit? Open source Java testing framework used to write and run repeatable
Tools for Integration Testing
Tools for Integration Testing What is integration ing? Unit ing is ing modules individually A software module is a self-contained element of a system Then modules need to be put together to construct the
Java 7 Recipes. Freddy Guime. vk» (,\['«** g!p#« Carl Dea. Josh Juneau. John O'Conner
1 vk» Java 7 Recipes (,\['«** - < g!p#«josh Juneau Carl Dea Freddy Guime John O'Conner Contents J Contents at a Glance About the Authors About the Technical Reviewers Acknowledgments Introduction iv xvi
Project 4 DB A Simple database program
Project 4 DB A Simple database program Due Date April (Friday) Before Starting the Project Read this entire project description before starting Learning Objectives After completing this project you should
Demo: Embedding Windows Presentation Foundation elements inside a Java GUI application. Version 7.3
Demo: Embedding Windows Presentation Foundation elements inside a Java GUI application Version 7.3 JNBridge, LLC www.jnbridge.com COPYRIGHT 2002 2015 JNBridge, LLC. All rights reserved. JNBridge is a registered
Swing. A Quick Tutorial on Programming Swing Applications
Swing A Quick Tutorial on Programming Swing Applications 1 MVC Model View Controller Swing is based on this design pattern It means separating the implementation of an application into layers or components:
MarathonITE. GUI Testing for Java/Swing Applications
MarathonITE GUI Testing for Java/Swing Applications Overview Test automation is not a sprint... it is a marathon Test Automation As the applications in today s environment grow more complex, the testing
Java 6 'th. Concepts INTERNATIONAL STUDENT VERSION. edition
Java 6 'th edition Concepts INTERNATIONAL STUDENT VERSION CONTENTS PREFACE vii SPECIAL FEATURES xxviii chapter i INTRODUCTION 1 1.1 What Is Programming? 2 J.2 The Anatomy of a Computer 3 1.3 Translating
IDE s for Java, C, C++ David Rey - DREAM
1 IDE s for Java, C, C++ David Rey - DREAM 2 Overview Introduction about IDE s What is an IDE What is not an IDE IDEs examples for java IDEs examples for C++ Eclipse example: overview Eclipse demo Project
Game Programming with Groovy. James Williams @ecspike Sr. Software Engineer, BT/Ribbit
Game Programming with Groovy James Williams @ecspike Sr. Software Engineer, BT/Ribbit About Me Sr. Software Engineer at BT/Ribbit Co-creator of Griffon, a desktop framework for Swing using Groovy Contributer
CS 2112 Spring 2014. 0 Instructions. Assignment 3 Data Structures and Web Filtering. 0.1 Grading. 0.2 Partners. 0.3 Restrictions
CS 2112 Spring 2014 Assignment 3 Data Structures and Web Filtering Due: March 4, 2014 11:59 PM Implementing spam blacklists and web filters requires matching candidate domain names and URLs very rapidly
Evaluation of AgitarOne
Carnegie Mellon University, School of Computer Science Master of Software Engineering Evaluation of AgitarOne Analysis of Software Artifacts Final Project Report April 24, 2007 Edited for public release
Java is commonly used for deploying applications across a network. Compiled Java code
Module 5 Introduction to Java/Swing Java is commonly used for deploying applications across a network. Compiled Java code may be distributed to different machine architectures, and a native-code interpreter
Pemrograman Dasar. Basic Elements Of Java
Pemrograman Dasar Basic Elements Of Java Compiling and Running a Java Application 2 Portable Java Application 3 Java Platform Platform: hardware or software environment in which a program runs. Oracle
Testing Methodology Assignment 1 Unit testing using JUnit
Assignment 1 Unit testing using JUnit Justin Pearson Palle Raabjerg Farshid Hassani Bijarbooneh Deadline: 30 th of November Submission Instructions 1. You are expected to work in pairs. 2. To pass the
Robotium Automated Testing for Android
Robotium Automated Testing for Android Hrushikesh Zadgaonkar Chapter No. 1 "Getting Started with Robotium" In this package, you will find: A Biography of the author of the book A preview chapter from the
directory to "d:\myproject\android". Hereafter, I shall denote the android installed directory as
1 of 6 2011-03-01 12:16 AM yet another insignificant programming notes... HOME Android SDK 2.2 How to Install and Get Started Introduction Android is a mobile operating system developed by Google, which
Announcement. SOFT1902 Software Development Tools. Today s Lecture. Version Control. Multiple iterations. What is Version Control
SOFT1902 Software Development Tools Announcement SOFT1902 Quiz 1 in lecture NEXT WEEK School of Information Technologies 1 2 Today s Lecture Yes: we have evolved to the point of using tools Version Control
Japan Communication India Skill Development Center
Japan Communication India Skill Development Center Java Application System Developer Course Detail Track 1B Java Application Software Developer: Phase1 DBMS Concept 20 Entities Relationships Attributes
GUI Test Automation How-To Tips
www. routinebot.com AKS-Labs - Page 2 - It s often said that First Impression is the last impression and software applications are no exception to that rule. There is little doubt that the user interface
Automated Integration Testing & Continuous Integration for webmethods
WHITE PAPER Automated Integration Testing & Continuous Integration for webmethods Increase your webmethods ROI with CloudGen Automated Test Engine (CATE) Shiva Kolli CTO CLOUDGEN, LLC NOVEMBER, 2015 EXECUTIVE
Android Environment SDK
Part 2-a Android Environment SDK Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html 1 2A. Android Environment: Eclipse & ADT The Android
Running a Program on an AVD
Running a Program on an AVD Now that you have a project that builds an application, and an AVD with a system image compatible with the application s build target and API level requirements, you can run
Selenium Automation set up with TestNG and Eclipse- A Beginners Guide
Selenium Automation set up with TestNG and Eclipse- A Beginners Guide Authors: Eevuri Sri Harsha, Ranjani Sivagnanam Sri Harsha is working as an Associate Software Engineer (QA) for IBM Policy Atlas team
Android Programming. Høgskolen i Telemark Telemark University College. Cuong Nguyen, 2013.06.18
Høgskolen i Telemark Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Cuong Nguyen, 2013.06.18 Faculty of Technology, Postboks 203, Kjølnes ring
JUnit - A Whole Lot of Testing Going On
JUnit - A Whole Lot of Testing Going On Advanced Topics in Java Khalid Azim Mughal [email protected] http://www.ii.uib.no/~khalid Version date: 2006-09-04 ATIJ JUnit - A Whole Lot of Testing Going On 1/51
Principles of integrated software development environments. Learning Objectives. Context: Software Process (e.g. USDP or RUP)
Principles of integrated software development environments Wolfgang Emmerich Professor of Distributed Computing University College London http://sse.cs.ucl.ac.uk Learning Objectives Be able to define the
Java Software Structures
INTERNATIONAL EDITION Java Software Structures Designing and Using Data Structures FOURTH EDITION John Lewis Joseph Chase This page is intentionally left blank. Java Software Structures,International Edition
Software project management. and. Maven
Software project management and Maven Problem area Large software projects usually contain tens or even hundreds of projects/modules Will become messy if the projects don t adhere to some common principles
Android Environment SDK
Part 2-a Android Environment SDK Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html 1 Android Environment: Eclipse & ADT The Android
