Testing Frameworks (MiniTest)
|
|
|
- Amice Horton
- 9 years ago
- Views:
Transcription
1 Testing Frameworks (MiniTest) Computer Science and Engineering College of Engineering The Ohio State University Lecture 32
2 MiniTest and RSpec Many popular testing libraries for Ruby MiniTest (replaces older Test::Unit) Comes built-in Looks like JUnit (mapped to Ruby syntax) Well-named! RSpec Installed as a library (i.e., a "gem") Looks different from JUnit (and even Ruby!) Most unfortunate name! RSpec view is that test cases define expected behavior i.e., they are the spec! What is wrong with that?
3 Writing MiniTest Tests Require runner and UUT require 'minitest/autorun' require 'card' Test fixture = subclass of Minitest::Test class TestCard < Minitest::Test Test case = method in the fixture Method name must begin with test_ def test_identifies_set Contains assertion(s) exercising a single piece of code / behavior / functionality Should be small (i.e., test one thing) Should be indepent (i.e., of other tests) Test Suite = collection of fixtures
4 Example: test_card.rb require 'minitest/autorun' require 'card' # assume card.rb on load path class TestCard < Minitest::Test def test_has_number assert_respond_to Card.new, :number def = Card.new 1, "oval", "open", "red" assert_equal
5 Execution Model TestCard instance of instance has_number() remembers() has_number() remembers()
6 Execution Model: Implications Separate instances of test class created One instance / test case Test cases don't have side effects Passing/failing one test does not affect others Can not rely on order of tests Randomized order of execution Controllable with --seed command-line option Also controllable by invoking i_suck_and_my_tests_are_order_depent! Fixture: common set-up to all test cases Field(s) for instance(s) of class being tested Factor initialization code into its own method This method must be called setup
7 Good Practice: setup Initialize a fixture with a setup method (rather than initialize method) Reasons: If the code being tested throws an exception during the setup, the output is much more meaningful Symmetry with teardown method for cleaning up after a test case
8 Example: test_card.rb require 'minitest/autorun' require 'card' #assume card.rb is on load path class TestCard < Minitest::Test def = Card.new 1, "oval", "open", "red" def test_has_number :number def test_remembers_number assert_equal
9 Execution Model TestCard instance of instance of 1 setup() has_number() remembers() 1 setup() has_number() remembers()
10 MiniTest Assertion Methods Most have two versions: assert & refute Example: assert_nil, refute_nil No need for negation (use refute instead) Most take an optional message assert_empty Library.new, "A new library contains no books" Message appears when assertion fails Specials: pass/flunk always passes/fails skip skips the rest of the test case Performance benchmarking also available
11 Common Assertions Boolean condition: assert/refute { b b.available?} Is nil: (assert/refute)_nil Is empty: (assert/refute)_empty assert_empty Library.new
12 Asserting Equality Assert two objects are == equal assert_equal expected, actual Compares object values (i.e., == in Ruby) Failure produces useful output TestCard#test_total_number_of_cards Expected: 81 Actual: 27 Compare with basic assert exp == actual TestCard#test_shuffle_is_permutation Failed assertion, no message given Two objects are the same Compares reference values (i.e.,.equal?)
13 More Assertions String matches a regular expression assert_match Collection includes a particular Object is of a particular type assert_instance_of Object has a method :alarm Block raises an exception assert_raises ZeroDivisionError
14 Good Practice: Comparing Floats Never compare floating point numbers directly for equality assert_equal 1.456, calculated, Low-density experiment Numeric instabilities make exact equality problematic for floats Better approach: Equality with tolerance (delta or epsilon) assert_in_delta Math::PI, (22.0 / 7.0), 0.01, Archimedes algorithm" Delta for error, epsilon for relative error
15 Good Practice: Organization Keep tests in the same project as the code They are part of the build, the repo, etc. Helps to keep tests current Separate tests and implementation \set\lib contains card.rb \set\tests contains test_card.rb Name test classes consistently TestCard tests Card Test fixture is a Ruby program $ ruby tests\test_card.rb Test needs to be able to find UUT (require) Add location of UUT to load path $ ruby I lib tests\test_card.rb
16 Alternative Syntax Problem: cumbersome method names test_shuffle_changes_deck_configuration Solution: exploit Ruby language flexibility in API of testing library Methods are available that change the syntax and structure of test cases "Domain-specific language" for testing Result: MiniTest::Spec Notation inspired by Rspec
17 Writing MiniTest::Spec Tests Require spec library (+ runner + UUT) require 'minitest/spec Test fixture (an example group ) is a describe block describe Card do Can be nested, and identified by string The block contains examples Test case (an example ) is an it block it identifies a set Contains expectation(s) on a single piece of code / behavior / functionality Expectations are methods on 1
18 Example: test_card.rb require 'minitest/spec require 'minitest/autorunner' require 'card' #assume card.rb is on load path describe Card, 'card for game of set' do it 'has a number' do Card.new.must_respond_to :number it 'remembers its original number' = Card.new 1, "oval", "open", 1
19 Expectations vs. Assertions Positive and negative form must_be_empty wont_be_empty Have corresponding assertions Different argument order assert_equal expected, actual actual.must_equal expected No string argument Meaningful output comes from group and example name(s)
20 Obj.must_ + be x.must_be :<, 10 equal, be_same_as x.must_equal y be_nil be_empty, include be_instance_of, be_kind_of be_within_delta, be_within_epsilon match msg.must_match /^Dear/ respond_to raise output, be_silent
21 Setup/Teardown Methods before, after Arguments :each or :all describe Student do before :each = BuckID.new = Student.new buck_id it 'should come to class' do
22 let: Lazy Initialization describe Student do let(:student) {Student.new 1234} describe 'sleep deprivation' it 'misses class' do student.awake?.must_equal false
23 Rspec: Set up and Use Install the rspec gem locally [~] $ gem install rspec Set up your program to use rspec [myapp] $ rspec -init Init creates several things in myapp/ spec/ # put tests (foo_spec.rb) here spec/spec_helper.rb # configures paths.rspec # default command-line args Run tests [myapp] $ rspec spec/foo_spec.rb
24 Example Groups and Examples require_relative '../student' describe Student do #example group it 'can drop a class' do #example... context 'when atting lecture' do it 'stays awake during lecture' do... it 'stores info until exam' do...
25 RSpec Expectations Verb is should (or should_not) target.should condition #notice space Examples of condition ==, equal factor.should equal 34 be_true, be_false, be_nil, be_empty list.emtpy?.should be_true have(n).items, have_at_most(n).items include(item) list.should include(name) match(regex) respond_to(method_name) New form: expect().to (or not_to) expect(a_result).to eq "OSU"
26 Stubs Top-down: testing a class that uses A, B, C We don't have A, B, C, we want quick approximations of A, B, C Behave in certain way, returning canned answers Stub method Takes a hash { method_names: return_values } Returns an object with those methods stub_printer = stub :available? => true, :rer => nil Another form adds (or changes) a method/return value to an existing object long_str = 'something' long_str.stub! (:length).and_return( )
27 Mocks Stubs passively allow the test to go through Mocks monitor how they are used (and will fail if they aren't used right) it 'should know how to print itself' do mock_printer = mock('printer') mock_printer.should_receive (:available?).and_return(true) mock_printer.should_receive (mock_printer).should == 'Done'
28 Summary MiniTest Test case: method named test_ Test fixture: class exting Minitest::Test Execution model: multiple instances Indepence of test cases MiniTest::Spec Examples and expectations String descriptions RSpec Stubs and mocks
Ruby on Rails on Minitest
Ruby on Rails on Minitest 1 Setting Expectations Introductory Talk. Very Little Code. Not going to teach testing or TDD. What & why, not how. 218 Slides, 5.45 SPM. 2 WTF is minitest? 3 What is Minitest?
Rake Task Management Essentials
Rake Task Management Essentials Andrey Koleshko Chapter No. 8 "Testing Rake Tasks" In this package, you will find: A Biography of the author of the book A preview chapter from the book, Chapter NO.8 "Testing
Survey of Unit-Testing Frameworks. by John Szakmeister and Tim Woods
Survey of Unit-Testing Frameworks by John Szakmeister and Tim Woods Our Background Using Python for 7 years Unit-testing fanatics for 5 years Agenda Why unit test? Talk about 3 frameworks: unittest nose
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
Unit and Functional Testing for the ios Platform. Christopher M. Judd
Unit and Functional Testing for the ios Platform Christopher M. Judd Christopher M. Judd President/Consultant of leader Columbus Developer User Group (CIDUG) Remarkable Ohio Free Developed for etech Ohio
PHPUnit Manual. Sebastian Bergmann
PHPUnit Manual Sebastian Bergmann PHPUnit Manual Sebastian Bergmann Publication date Edition for PHPUnit 3.5. Updated on 2011-04-05. Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011 Sebastian Bergmann
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
Evaluation. Chapter 1: An Overview Of Ruby Rails. Copy. 6) Static Pages Within a Rails Application... 1-10
Chapter 1: An Overview Of Ruby Rails 1) What is Ruby on Rails?... 1-2 2) Overview of Rails Components... 1-3 3) Installing Rails... 1-5 4) A Simple Rails Application... 1-6 5) Starting the Rails Server...
UNIVERSITY OF CALIFORNIA Department of Electrical Engineering and Computer Sciences Computer Science Division. P. N. Hilfinger
UNIVERSITY OF CALIFORNIA Department of Electrical Engineering and Computer Sciences Computer Science Division CS 61B Fall 2014 P. N. Hilfinger Unit Testing with JUnit 1 The Basics JUnit is a testing framework
Test Automation Integration with Test Management QAComplete
Test Automation Integration with Test Management QAComplete This User's Guide walks you through configuring and using your automated tests with QAComplete's Test Management module SmartBear Software Release
System Level Integration and Test Leveraging Software Unit Testing Techniques
System Level Integration and Test Leveraging Software Unit Testing Techniques Ryan J. Melton Ball Aerospace & Technologies Corp. Boulder, CO ABSTRACT Ever try to decipher or debug a huge automated test
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
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
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
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
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.
Ruby On Rails A Cheatsheet. Ruby On Rails Commands
Ruby On Rails A Cheatsheet blainekall.com Ruby On Rails Commands gem update rails rails application rake appdoc rake --tasks rake stats ruby script/server update rails create a new application generate
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
Apache Thrift and Ruby
Apache Thrift and Ruby By Randy Abernethy In this article, excerpted from The Programmer s Guide to Apache Thrift, we will install Apache Thrift support for Ruby and build a simple Ruby RPC client and
CIS 192: Lecture 13 Scientific Computing and Unit Testing
CIS 192: Lecture 13 Scientific Computing and Unit Testing Lili Dworkin University of Pennsylvania Scientific Computing I Python is really popular in the scientific and statistical computing world I Why?
LINEAR INEQUALITIES. less than, < 2x + 5 x 3 less than or equal to, greater than, > 3x 2 x 6 greater than or equal to,
LINEAR INEQUALITIES When we use the equal sign in an equation we are stating that both sides of the equation are equal to each other. In an inequality, we are stating that both sides of the equation are
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
NewsletterAdmin 2.4 Setup Manual
NewsletterAdmin 2.4 Setup Manual Updated: 7/22/2011 Contact: [email protected] Contents Overview... 2 What's New in NewsletterAdmin 2.4... 2 Before You Begin... 2 Testing and Production...
Lab work Software Testing
Lab work Software Testing 1 Introduction 1.1 Objectives The objective of the lab work of the Software Testing course is to help you learn how you can apply the various testing techniques and test design
PHPUnit Manual. Sebastian Bergmann
PHPUnit Manual Sebastian Bergmann PHPUnit Manual Sebastian Bergmann Publication date Edition for PHPUnit 3.4. Updated on 2010-09-19. Copyright 2005, 2006, 2007, 2008, 2009, 2010 Sebastian Bergmann This
Performing Simple Calculations Using the Status Bar
Excel Formulas Performing Simple Calculations Using the Status Bar If you need to see a simple calculation, such as a total, but do not need it to be a part of your spreadsheet, all you need is your Status
Developing In Eclipse, with ADT
Developing In Eclipse, with ADT Android Developers file://v:\android-sdk-windows\docs\guide\developing\eclipse-adt.html Page 1 of 12 Developing In Eclipse, with ADT The Android Development Tools (ADT)
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
UFTP AUTHENTICATION SERVICE
UFTP Authentication Service UFTP AUTHENTICATION SERVICE UNICORE Team Document Version: 1.1.0 Component Version: 1.1.1 Date: 17 11 2014 UFTP Authentication Service Contents 1 Installation 1 1.1 Prerequisites....................................
Software Engineering Techniques
Software Engineering Techniques Low level design issues for programming-in-the-large. Software Quality Design by contract Pre- and post conditions Class invariants Ten do Ten do nots Another type of summary
Cucumber: Finishing the Example. CSCI 5828: Foundations of Software Engineering Lecture 23 04/09/2012
Cucumber: Finishing the Example CSCI 5828: Foundations of Software Engineering Lecture 23 04/09/2012 1 Goals Review the contents of Chapters 9 and 10 of the Cucumber textbook Testing Asynchronous Systems
10 Listing data and basic command syntax
10 Listing data and basic command syntax Command syntax This chapter gives a basic lesson on Stata s command syntax while showing how to control the appearance of a data list. As we have seen throughout
Moving from CS 61A Scheme to CS 61B Java
Moving from CS 61A Scheme to CS 61B Java Introduction Java is an object-oriented language. This document describes some of the differences between object-oriented programming in Scheme (which we hope you
Invitation to Ezhil : A Tamil Programming Language for Early Computer-Science Education 07/10/13
Invitation to Ezhil: A Tamil Programming Language for Early Computer-Science Education Abstract: Muthiah Annamalai, Ph.D. Boston, USA. Ezhil is a Tamil programming language with support for imperative
The NetBeans TM Ruby IDE: You Thought Rails Development Was Fun Before
The NetBeans TM Ruby IDE: You Thought Rails Development Was Fun Before Tor Norbye and Brian Leonard Sr. Software Engineers Sun Microsystems TS-5249 Learn how to jump-start your Ruby and Rails development
The Smalltalk Programming Language. Beatrice Åkerblom [email protected]
The Smalltalk Programming Language Beatrice Åkerblom [email protected] 'The best way to predict the future is to invent it' - Alan Kay. History of Smalltalk Influenced by Lisp and Simula Object-oriented
Testing Python. Applying Unit Testing, TDD, BDD and Acceptance Testing
Brochure More information from http://www.researchandmarkets.com/reports/2755225/ Testing Python. Applying Unit Testing, TDD, BDD and Acceptance Testing Description: Fundamental testing methodologies applied
+ 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 Computers and Programming. Testing
Introduction to Computers and Programming Prof. I. K. Lundqvist Lecture 13 April 16 2004 Testing Goals of Testing Classification Test Coverage Test Technique Blackbox vs Whitebox Real bugs and software
Arrays. Atul Prakash Readings: Chapter 10, Downey Sun s Java tutorial on Arrays: http://java.sun.com/docs/books/tutorial/java/nutsandbolts/arrays.
Arrays Atul Prakash Readings: Chapter 10, Downey Sun s Java tutorial on Arrays: http://java.sun.com/docs/books/tutorial/java/nutsandbolts/arrays.html 1 Grid in Assignment 2 How do you represent the state
Sorting. Lists have a sort method Strings are sorted alphabetically, except... Uppercase is sorted before lowercase (yes, strange)
Sorting and Modules Sorting Lists have a sort method Strings are sorted alphabetically, except... L1 = ["this", "is", "a", "list", "of", "words"] print L1 ['this', 'is', 'a', 'list', 'of', 'words'] L1.sort()
Object Oriented Software Design
Object Oriented Software Design Introduction to Java - II Giuseppe Lipari http://retis.sssup.it/~lipari Scuola Superiore Sant Anna Pisa September 14, 2011 G. Lipari (Scuola Superiore Sant Anna) Introduction
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
Introduction to Programming System Design. CSCI 455x (4 Units)
Introduction to Programming System Design CSCI 455x (4 Units) Description This course covers programming in Java and C++. Topics include review of basic programming concepts such as control structures,
Unit-testing with JML
Métodos Formais em Engenharia de Software Unit-testing with JML José Carlos Bacelar Almeida Departamento de Informática Universidade do Minho MI/MEI 2008/2009 1 Talk Outline Unit Testing - software testing
Talend Component: tjasperreportexec
Talend Component: tjasperreportexec Purpose This component creates (compile + fill + export) reports based on Jasper Report designs (jrxml files). Making reports in the ETL system provides multiple advantages:
ECE 122. Engineering Problem Solving with Java
ECE 122 Engineering Problem Solving with Java Introduction to Electrical and Computer Engineering II Lecture 1 Course Overview Welcome! What is this class about? Java programming somewhat software somewhat
Writing Self-testing Java Classes with SelfTest
Writing Self-testing Java Classes with SelfTest Yoonsik Cheon TR #14-31 April 2014 Keywords: annotation; annotation processor; test case; unit test; Java; JUnit; SelfTest. 1998 CR Categories: D.2.3 [Software
Part I. Multiple Choice Questions (2 points each):
Part I. Multiple Choice Questions (2 points each): 1. Which of the following is NOT a key component of object oriented programming? (a) Inheritance (b) Encapsulation (c) Polymorphism (d) Parallelism ******
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
Problem 1. CS 61b Summer 2005 Homework #2 Due July 5th at the beginning of class
CS 61b Summer 2005 Homework #2 Due July 5th at the beginning of class This homework is to be done individually. You may, of course, ask your fellow classmates for help if you have trouble editing files,
A Puppet Approach To Application Deployment And Automation In Nokia. Oliver Hookins Principal Engineer Services & Developer Experience
A Puppet Approach To Application Deployment And Automation In Nokia Oliver Hookins Principal Engineer Services & Developer Experience Who am I? - Rockstar SysAdmin Who am I? - Puppet User since 0.23 -
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
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
Java Programming Fundamentals
Lecture 1 Part I Java Programming Fundamentals Topics in Quantitative Finance: Numerical Solutions of Partial Differential Equations Instructor: Iraj Kani Introduction to Java We start by making a few
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
Rectifier circuits & DC power supplies
Rectifier circuits & DC power supplies Goal: Generate the DC voltages needed for most electronics starting with the AC power that comes through the power line? 120 V RMS f = 60 Hz T = 1667 ms) = )sin How
Concepts and terminology in the Simula Programming Language
Concepts and terminology in the Simula Programming Language An introduction for new readers of Simula literature Stein Krogdahl Department of Informatics University of Oslo, Norway April 2010 Introduction
vcenter Orchestrator Developer's Guide
vcenter Orchestrator 4.0 EN-000129-02 You can find the most up-to-date technical documentation on the VMware Web site at: http://www.vmware.com/support/ The VMware Web site also provides the latest product
PHP Integration Kit. Version 2.5.1. User Guide
PHP Integration Kit Version 2.5.1 User Guide 2012 Ping Identity Corporation. All rights reserved. PingFederate PHP Integration Kit User Guide Version 2.5.1 December, 2012 Ping Identity Corporation 1001
Instance Creation. Chapter
Chapter 5 Instance Creation We've now covered enough material to look more closely at creating instances of a class. The basic instance creation message is new, which returns a new instance of the class.
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
The Cucumber Book. Extracted from: Behaviour-Driven Development for Testers and Developers. The Pragmatic Bookshelf
Extracted from: The Cucumber Book Behaviour-Driven Development for Testers and Developers This PDF file contains pages extracted from The Cucumber Book, published by the Pragmatic Bookshelf. For more information
Web Applications Testing
Web Applications Testing Automated testing and verification JP Galeotti, Alessandra Gorla Why are Web applications different Web 1.0: Static content Client and Server side execution Different components
We will learn the Python programming language. Why? Because it is easy to learn and many people write programs in Python so we can share.
LING115 Lecture Note Session #4 Python (1) 1. Introduction As we have seen in previous sessions, we can use Linux shell commands to do simple text processing. We now know, for example, how to count words.
Tutorial IV: Unit Test
Tutorial IV: Unit Test What is Unit Test Three Principles Testing frameworks: JUnit for Java CppUnit for C++ Unit Test for Web Service http://www.cs.toronto.edu/~yijun/csc408h/ handouts/unittest-howto.html
Introduction to Python for Text Analysis
Introduction to Python for Text Analysis Jennifer Pan Institute for Quantitative Social Science Harvard University (Political Science Methods Workshop, February 21 2014) *Much credit to Andy Hall and Learning
Configuration Guide - OneDesk to SalesForce Connector
Configuration Guide - OneDesk to SalesForce Connector Introduction The OneDesk to SalesForce Connector allows users to capture customer feedback and issues in OneDesk without leaving their familiar SalesForce
Creating a Java application using Perfect Developer and the Java Develo...
1 of 10 15/02/2010 17:41 Creating a Java application using Perfect Developer and the Java Development Kit Introduction Perfect Developer has the facility to execute pre- and post-build steps whenever the
Hudson Continous Integration Server. Stefan Saasen, [email protected]
Hudson Continous Integration Server Stefan Saasen, [email protected] Continous Integration Software development practice Members of a team integrate their work frequently Each integration is verified by
Smarter Testing With Spock
Smarter Testing With Spock Peter Niederwieser Principal Engineer,Gradleware What we ll talk about Spock?! State Based Testing Data Driven Testing Interaction Based Testing Spock Extensions More Cool Stuff
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
Test Case Design Techniques
Summary of Test Case Design Techniques Brian Nielsen, Arne Skou {bnielsen ask}@cs.auc.dk Development of Test Cases Complete testing is impossible Testing cannot guarantee the absence of faults How to select
Introduction to Web Services
Department of Computer Science Imperial College London CERN School of Computing (icsc), 2005 Geneva, Switzerland 1 Fundamental Concepts Architectures & escience example 2 Distributed Computing Technologies
Database Migration Plugin - Reference Documentation
Grails Database Migration Plugin Database Migration Plugin - Reference Documentation Authors: Burt Beckwith Version: 1.4.0 Table of Contents 1 Introduction to the Database Migration Plugin 1.1 History
by Jonathan Kohl and Paul Rogers 40 BETTER SOFTWARE APRIL 2005 www.stickyminds.com
Test automation of Web applications can be done more effectively by accessing the plumbing within the user interface. Here is a detailed walk-through of Watir, a tool many are using to check the pipes.
What is a Loop? Pretest Loops in C++ Types of Loop Testing. Count-controlled loops. Loops can be...
What is a Loop? CSC Intermediate Programming Looping A loop is a repetition control structure It causes a single statement or a group of statements to be executed repeatedly It uses a condition to control
McAfee Cloud Identity Manager
NetSuite Cloud Connector Guide McAfee Cloud Identity Manager version 2.0 or later COPYRIGHT Copyright 2013 McAfee, Inc. All Rights Reserved. No part of this publication may be reproduced, transmitted,
Unit testing with JUnit and CPPUnit. Krzysztof Pietroszek [email protected]
Unit testing with JUnit and CPPUnit Krzysztof Pietroszek [email protected] Old-fashioned low-level testing Stepping through a debugger drawbacks: 1. not automatic 2. time-consuming Littering code
CSE 265: System and Network Administration. CSE 265: System and Network Administration
CSE 265: System and Network Administration MW 9:10-10:00am Packard 258 F 9:10-11:00am Packard 112 http://www.cse.lehigh.edu/~brian/course/sysadmin/ Find syllabus, lecture notes, readings, etc. Instructor:
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)
McAfee Cloud Identity Manager
Salesforce Cloud Connector Guide McAfee Cloud Identity Manager version 1.1 or later COPYRIGHT Copyright 2013 McAfee, Inc. All Rights Reserved. No part of this publication may be reproduced, transmitted,
Lecture 2 Notes: Flow of Control
6.096 Introduction to C++ January, 2011 Massachusetts Institute of Technology John Marrero Lecture 2 Notes: Flow of Control 1 Motivation Normally, a program executes statements from first to last. The
Java course - IAG0040. Unit testing & Agile Software Development
Java course - IAG0040 Unit testing & Agile Software Development 2011 Unit tests How to be confident that your code works? Why wait for somebody else to test your code? How to provide up-to-date examples
Test case design techniques I: Whitebox testing CISS
Test case design techniques I: Whitebox testing Overview What is a test case Sources for test case derivation Test case execution White box testing Flowgraphs Test criteria/coverage Statement / branch
Java SE 8 Programming
Oracle University Contact Us: 1.800.529.0165 Java SE 8 Programming Duration: 5 Days What you will learn This Java SE 8 Programming training covers the core language features and Application Programming
TypeScript for C# developers. Making JavaScript manageable
TypeScript for C# developers Making JavaScript manageable Agenda What is TypeScript OO in TypeScript Closure Generics Iterators Asynchronous programming Modularisation Debugging TypeScript 2 What is TypeScript
An automatic predictive datamining tool. Data Preparation Propensity to Buy v1.05
An automatic predictive datamining tool Data Preparation Propensity to Buy v1.05 Januray 2011 Page 2 of 11 Data preparation - Introduction If you are using The Intelligent Mining Machine (TIMi) inside
Iteration CHAPTER 6. Topic Summary
CHAPTER 6 Iteration TOPIC OUTLINE 6.1 while Loops 6.2 for Loops 6.3 Nested Loops 6.4 Off-by-1 Errors 6.5 Random Numbers and Simulations 6.6 Loop Invariants (AB only) Topic Summary 6.1 while Loops Many
Designing with Exceptions. CSE219, Computer Science III Stony Brook University http://www.cs.stonybrook.edu/~cse219
Designing with Exceptions CSE219, Computer Science III Stony Brook University http://www.cs.stonybrook.edu/~cse219 Testing vs. Debugging Testing Coding Does the code work properly YES NO 2 Debugging Testing
