test with :) chen songyong
|
|
- Kristopher Golden
- 6 years ago
- Views:
Transcription
1 test with :) chen songyong
2 about me
3 about me Remote worker! Worked in start-ups, web consultancies, banks and digital in Twitter & Github
4 test in old days
5 test in old days
6
7 do you write test?
8 do you write test?
9 Q & A
10 why you test Forget to go for test first
11 why you test Forget to go for test first
12 technical debt
13 technical debt "we have not found anything to ease the transition from 'hairball of code with no unit tests' to 'unit-testable code'."
14 technical debt "we have not found anything to ease the transition from 'hairball of code with no unit tests' to 'unit-testable code'."
15 trust your mind code
16 my practice
17 my practice integration test
18 my practice integration test controller test
19 my practice integration test controller test model / lib test
20 my practice
21 my practice
22 my practice Test
23 my practice Test Implementation
24 my practice Test Implementation Pay button works
25 my practice Test Implementation Pay button works
26 my practice Test Implementation Pay button works views
27 my practice Test Implementation Pay button works views
28 my practice Test Implementation Pay button works views controller deals with pay request
29 my practice Test Implementation Pay button works views controller deals with pay request
30 my practice Test Implementation Pay button works views controller deals with pay request controller
31 my practice Test Implementation Pay button works views controller deals with pay request controller
32 my practice Test Implementation Pay button works views controller deals with pay request controller model/lib makes the transaction
33 my practice Test Implementation Pay button works views controller deals with pay request controller model/lib makes the transaction
34 my practice Test Implementation Pay button works views controller deals with pay request controller model/lib makes the transaction model/lib
35 my practice Test Implementation Pay button works views controller deals with pay request controller model/lib makes the transaction model/lib
36 my practice Test Implementation Pay button works views controller deals with pay request controller model/lib makes the transaction pass model/lib
37 my practice Test Implementation Pay button works views controller deals with pay request controller model/lib makes the transaction pass model/lib
38 my practice Test Implementation Pay button works views controller deals with pay request pass controller model/lib makes the transaction pass model/lib
39 my practice Test Implementation Pay button works views controller deals with pay request pass controller model/lib makes the transaction pass model/lib
40 my practice Test Implementation Pay button works pass views controller deals with pay request pass controller model/lib makes the transaction pass model/lib
41 why you test Forget to write test first! Too much extra work
42 YES is it true?
43 is it true? YES Writing test adds 15-35% development time in return for a 40-90% reduction in defect density on otherwise like-for-like projects. - A paper in ESE
44 No! is it true?
45 is it true? No! v.s. test in rails console
46 why you test Forget to write test first! Extra work! Maintenance is painful
47
48 it 'Sign Up should have title' do! visit '/tc/'! page.find('div#sign-up-modal').should have_css( #modalheader.h5-sign-up-header, :text => Apple Now )! end
49 it 'Sign Up should have title' do! visit '/tc/'! page.find('div#sign-up-modal').should have_css( #modalheader.h5-sign-up-header, :text => Apple Now )! end
50 why you test Forget to write test first! Extra work! Maintenance is painful! Running test takes longer and longer
51 why you test Forget to write test first! Extra work! Maintenance is painful! Running test takes longer and longer
52 easiest way to go
53 easiest way to go CPU!! Data storage!! Memory
54 easiest way to go CPU!! Data storage!! Memory
55 test suite example
56 test suite example ruby / rails / rspec-rails ~>2.0 / PostgreSQL /Factory Girl / Database cleaner
57 test suite example ruby / rails / rspec-rails ~>2.0 / PostgreSQL /Factory Girl / Database cleaner 370+ mixed with unit test, integration test (w/ capybara inc. JavaScript)
58 test suite example ruby / rails / rspec-rails ~>2.0 / PostgreSQL /Factory Girl / Database cleaner 370+ mixed with unit test, integration test (w/ capybara inc. JavaScript) No remote request (w/ VCR)
59 test suite example ruby / rails / rspec-rails ~>2.0 / PostgreSQL /Factory Girl / Database cleaner 370+ mixed with unit test, integration test (w/ capybara inc. JavaScript) No remote request (w/ VCR)
60 Tool / Framework Ryan Bates Railscasts spork! zeus! spring! Parallel test! Guard!
61 Tool / Framework Ryan Bates Railscasts SKIP spork! zeus! spring! Parallel test! Guard!
62 rspec v.s. rake spec
63 rspec v.s. rake spec Update: run via bin/rspec
64 rspec v.s. rake spec Update: run via bin/rspec
65 rspec v.s. rake spec Update: run via bin/rspec
66 database clean strategy
67 database clean strategy :transaction
68 database clean strategy :transaction simply rollback - fastest
69 database clean strategy :transaction simply rollback - fastest Failed at:
70 database clean strategy :transaction simply rollback - fastest Failed at: multiple connections
71 database clean strategy :transaction simply rollback - fastest Failed at: multiple connections integration test
72 database clean strategy
73 database clean strategy :truncation
74 database clean strategy :truncation TRUNCATE table
75 database clean strategy :truncation TRUNCATE table remove all records
76 database clean strategy :truncation TRUNCATE table remove all records VACUUM table
77 database clean strategy :truncation TRUNCATE table remove all records VACUUM table index
78 database clean strategy :truncation TRUNCATE table remove all records VACUUM table index Failed at:
79 database clean strategy :truncation TRUNCATE table remove all records VACUUM table index Failed at: concurrent access to a table
80 database clean strategy
81 database clean strategy :deletion
82 database clean strategy :deletion DELETE from table
83 database clean strategy :deletion DELETE from table scan the table
84 database clean strategy :deletion DELETE from table scan the table less predictable
85 database clean strategy :deletion DELETE from table scan the table less predictable Bad at:
86 database clean strategy :deletion DELETE from table scan the table less predictable Bad at: Large tables
87 Deletion
88 Deletion Truncation
89 database Clean strategy
90 database Clean strategy
91 refactor gemfile
92 refactor gemfile stop loading gems not used in the code
93 refactor gemfile stop loading gems not used in the code e.g. gem unicorn, require: false
94 refactor gemfile stop loading gems not used in the code e.g. gem unicorn, require: false specify dependencies for test environment
95 refactor gemfile stop loading gems not used in the code e.g. gem unicorn, require: false specify dependencies for test environment jquery-rails, will_paginate, exception_notification
96 refactor gemfile stop loading gems not used in the code e.g. gem unicorn, require: false specify dependencies for test environment jquery-rails, will_paginate, exception_notification
97 refactor gemfile stop loading gems not used in the code e.g. gem unicorn, require: false specify dependencies for test environment jquery-rails, will_paginate, exception_notification
98 defer garbage collection
99 defer garbage collection
100 defer garbage collection
101 Original + rspec command + DB clean strategy + refactor Gemfile + delay garbage collection
102 factory v.s. fixture
103 factory v.s. fixture Flexibility
104 factory v.s. fixture Flexibility
105 factory v.s. fixture Flexibility Callbacks & validations
106 factory v.s. fixture Flexibility Callbacks & validations
107 factory v.s. fixture Flexibility Callbacks & validations Speed
108 ! best practice
109 ! best practice create(:user) v.s. build(:user) v.s. build_stubbed(:user)
110 ! best practice create(:user) v.s. build(:user) v.s. build_stubbed(:user) require spec_helper v.s. require lib_class.rb
111 ! best practice create(:user) v.s. build(:user) v.s. build_stubbed(:user) require spec_helper v.s. require lib_class.rb mock/stub or not to mock/stub
112 ! best practice create(:user) v.s. build(:user) v.s. build_stubbed(:user) require spec_helper v.s. require lib_class.rb mock/stub or not to mock/stub let v.s. let! v.s. before block
113 ! best practice create(:user) v.s. build(:user) v.s. build_stubbed(:user) require spec_helper v.s. require lib_class.rb mock/stub or not to mock/stub let v.s. let! v.s. before block
114 not about speed but...
115 not about speed but... Selective testing
116 not about speed but... Selective testing slow
117 not about speed but... Selective testing slow focus
118 not about speed but... Selective testing slow focus Fail immediately --fail-fast
119 not about speed but... Selective testing slow focus Fail immediately --fail-fast Display message immediately
120 not about speed but... Selective testing slow focus Fail immediately --fail-fast Display message immediately -- format Fuubar
121 not about speed but... Selective testing slow focus Fail immediately --fail-fast Display message immediately -- format Fuubar rspec -p spec
122
123
124 (real) Q & A
125 (real) Q & A
Client Side MVC with Backbone & Rails. Tom
Client Side MVC with Backbone & Rails Tom Zeng @tomzeng tom@intridea.com Client Side MV* with Backbone & Rails Benefits of Client Side MVC Backbone.js Introduction Client Side MV* Alternatives Backbone
More informationIntroduction and first application. Luigi De Russis. Rails 101
Introduction and first application Luigi De Russis 2 About Rails Ruby on Rails 3 Framework for making dynamic web applications created in 2003 Open Source (MIT License) for the Ruby programming language
More informationJS 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 informationEveryday Rails Testing with RSpec
Everyday Rails Testing with RSpec A practical approach to test-driven development Aaron Sumner This book is for sale at http://leanpub.com/everydayrailsrspec This version was published on 2014-12-20 This
More informationKeeping Rails on the Tracks
Keeping Rails on the Tracks Mikel Lindsaar @raasdnil lindsaar.net Working in Rails & Ruby for 5+ Years http://lindsaar.net/ http://stillalive.com/ http://rubyx.com/ On the Rails? What do I mean by on the
More informationRails Engines. Use Case. The Implementation
Rails Engines Rails engines range from simple plugins to powerful micro-applications. The discussions we ve had so far about Railties are closely related to the function of a Rails engine. One interesting
More informationDay 3: 26/April/2012 Scaffolding Generation of Skeletons; Test run Memopad
Day 3: 26/April/2012 Scaffolding Generation of Skeletons; Test run Memopad p Generate WEB screens of the MemoPad Database Application n Setting up for Database Connection n Automatic generation of DB Files
More informationRubyMine, the most advanced Ruby and Rails IDE
RubyMine, the most advanced Ruby and Rails IDE JetBrains RubyMine is a powerful Integrated development environment (IDE) built specifically for Ruby and Rails developers. How does RubyMine match up against
More informationA mockup of a user s Home page with a status feed.
530 Chapter 11: Following Users Figure 11.18 A mockup of a user s Home page with a status feed. 11.3.1 Motivation and Strategy The basic idea behind the feed is simple. Figure 11.19 shows a sample microposts
More informationDemystifying Rails Plugin Development
Demystifying Rails Plugin Development Nick Plante :: Voices That Matter Professional Ruby Conference November 18th, 2008 Obligatory Introduction Plugins are generalized, reusable code libraries Ext or
More informationContents in Detail. Foreword by Xavier Noria
Contents in Detail Foreword by Xavier Noria Acknowledgments xv xvii Introduction xix Who This Book Is For................................................ xx Overview...xx Installation.... xxi Ruby, Rails,
More informationComp 97: Design Document
Tufts University School of Engineering Department of Electrical and Computer Engineering Comp 97: Design Document Fall 2013 Name: Jillian Silver Josh Fishbein Jillian.Silver@ tufts.edu Joshua.fishbein@tufts.edu
More informationFast, Sexy, and Svelte: Our Kind of Rails Testing. Dan Manges (ThoughtWorks) zak (unemployed)
Fast, Sexy, and Svelte: Our Kind of Rails Testing Dan Manges (ThoughtWorks) zak (unemployed) a translation without buzzwords notes short build times maintainable comprehensive coverage this talk: how to
More informationIntroduction to Ruby on Rails
Introduction to Ruby on Rails Keven Richly keven.richly@hpi.de Software Engineering II WS 2017/18 Prof. Plattner, Dr. Uflacker Enterprise Platform and Integration Concepts group Introduction to Ruby on
More informationIntroduction to Ruby on Rails
Introduction to Ruby on Rails Software Engineering II WS 2016/17 Arian Treffer arian.treffer@hpi.de Prof. Plattner, Dr. Uflacker Enterprise Platform and Integration Concepts group Introduction to Ruby
More informationTesting Rails. Josh Steiner. Joël Quenneville
Testing Rails Josh Steiner Joël Quenneville Contents Introduction 1 Why test?................................. 1 Test Driven Development........................ 3 Characteristics of an Effective Test Suite.................
More informationRefactoring Legacy Code
By: Adam Culp Twitter: @adamculp https://joind.in/11658 1 2 About me PHP 5.3 Certified Consultant at Zend Technologies Zend Certification Advisory Board Organizer SoFloPHP (South Florida) Organized SunshinePHP
More informationCrystal for Rubyists
Crystal for Rubyists Serdar Dogruyol Contents Preamble 2 Why Crystal? 3 Installing Crystal 5 Binary installers.............................. 5 From Source................................ 5 Future Proofing............................
More informationRuby on Rails 3. Robert Crida Stuart Corbishley. Clue Technologies
Ruby on Rails 3 Robert Crida Stuart Corbishley Clue Technologies Topic Overview What is Rails New in Rails 3 New Project Generators MVC Active Record UJS RVM Bundler Migrations Factory Girl RSpec haml
More informationFILE - JAVA WEB SERVICE TUTORIAL
20 February, 2018 FILE - JAVA WEB SERVICE TUTORIAL Document Filetype: PDF 325.73 KB 0 FILE - JAVA WEB SERVICE TUTORIAL Web Services; Java Security; Java Language; XML; SSL; 1 2 3 Page 1 Next. Web service
More informationKeeping Rails Applications on Track with Brakeman. Justin RailsConf 2012
Keeping Rails Applications on Track with Brakeman Justin Collins @presidentbeef RailsConf 2012 1 Everyone knows they should worry about security 2 But when should you worry? 3 Idealized Software Development
More informationIntroduction to Ruby on Rails
Introduction to Ruby on Rails Ralf Teusner ralf.teusner@hpi.de Software Engineering II WS 2018/19 Prof. Plattner, Dr. Uflacker Enterprise Platform and Integration Concepts group Introduction to Ruby on
More informationiframe programming with jquery jquery Summit 2011
iframe programming with jquery jquery Summit 2011 who invited this guy? name s ben strange last name work at disqus co-author, Third-party JavaScript disqus? dis cuss dĭ-skŭs' third-party commenting platform
More informationEpisode 298. Getting Started With Spree
Episode 298 Getting Started With Spree Spree 1 is a fully-featured e-commerce solution that can be easily integrated into a Rails application. If you need to turn a Rails app into a store that sells products
More informationApache Buildr in Action
Apache Buildr in Action A short intro BED 2012 Dr. Halil-Cem Gürsoy, adesso AG 29.03.12 About me Round about 12 Years in the IT, Development and Consulting Before that development in research (RNA secondary
More informationTesting PDI solutions
Testing PDI solutions Slawomir Chodnicki BI Consultant slawo@twineworks.com The sample project. -- bin # entry point scripts -- environments # environment configuration -- etl # ETL solution `-- spec #
More informationCHORDS: Cloud-Hosted Real-time Data
CHORDS: Cloud-Hosted Real-time Data Services for the Geosciences Mike Daniels (NCAR), Branko Kerkez (UMich), V. Chandrasekar (CSU), Sara Graves (UAH), D. Sarah Stamps (VT), Aaron Botnick (NCAR), Charlie
More informationJavascript Performance in the Browser. Charlie Fiskeaux II User Interface Engineer
Javascript Performance in the Browser Charlie Fiskeaux II User Interface Engineer About Me & Circonus Lead User Interface Engineer for Circonus Industry-leading monitoring and analytics platform We deploy
More informationGrowing Embedded Applications Organically with Ceedling and Friends. Greg Williams
Growing Embedded Applications Organically with Ceedling and Friends Greg Williams Embedded Development... Limited Memory Limited Processing Power Language Limitations Short Timelines Growing Complexity
More informationc122mar413.notebook March 06, 2013
These are the programs I am going to cover today. 1 2 Javascript is embedded in HTML. The document.write() will write the literal Hello World! to the web page document. Then the alert() puts out a pop
More informationGuide to Business Continuity Preparedness
Guide to Business Continuity Preparedness Released June 22, 2016 Revised June 6, 2018 duo.com Table of contents 1. Overview Why do I need this guide? Planning for success 2. Types of outages How do I know
More informationBackend Web Frameworks
Backend Web Frameworks How do we: inspect the requested URL and return the appropriate page? deal with POST requests? handle more advanced concepts like sessions and cookies? scale the application to
More informationUnit testing in CakePHP. Making bullet resistant code.
Unit testing in CakePHP Making bullet resistant code. Goals for next hour If you are not familiar with Unit Testing, introduce you to the concepts and practices of Unit testing. If you are familiar with
More informationLecture 3. Miscellaneous Ruby and Testing 1 / 48
Lecture 3 Miscellaneous Ruby and Testing 1 / 48 Homework 1 Grades were released! TAs provided feedback on best practices, but did not take off points Keep the comments in mind for future assignments! Any
More informationRuby Gem Internals by Examples
SF Software Design in Ruby Meetup Group Ruby Gem Internals by Examples Ben Zhang, 1/14/2014 benzhangpro@gmail.com http://www.meetup.com/software-design-in-ruby-study-group/ Types of Ruby Gem Features Global
More informationAutovacuum, explained for engineers PGCon 2016, Ottawa. Ilya Kosmodemiansky
Autovacuum, explained for engineers PGCon 2016, Ottawa Ilya Kosmodemiansky ik@postgresql-consulting.com Outline What is it and why is it so important? Aggressiveness of autovacuum What else important can
More informationAgile Web Development with Rails 5.1
Extracted from: Agile Web Development with Rails 5.1 This PDF file contains pages extracted from Agile Web Development with Rails 5.1, published by the Pragmatic Bookshelf. For more information or to purchase
More informationRuby on Rails Welcome. Using the exercise files
Ruby on Rails Welcome Welcome to Ruby on Rails Essential Training. In this course, we're going to learn the popular open source web development framework. We will walk through each part of the framework,
More informationRails AntiPatterns. Chad Pytel. Best Practice Ruby on Rails Refactoring. Tammer Saleh. AAddison-Wesley
Rails AntiPatterns Best Practice Ruby on Rails Refactoring Chad Pytel Tammer Saleh AAddison-Wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich * Paris
More informationMOCKING TO FACILITATE UNIT TESTING. Abstract
MOCKING TO FACILITATE UNIT TESTING Abstract Unit Testing is easy if the object you're testing has no dependencies. In reality, however, objects have dependencies, often making it di!cult, if not impossible,
More informationInstantaneous protection and fast scans without the hassle of time-consuming patches and signature updates.
Instantaneous protection and fast scans without the hassle of time-consuming patches and signature updates. Smarter, Faster and More Effective Protection Instantaneous Cloud-Predictive Malware Protection
More informationCPS 110 Midterm. Spring 2011
CPS 110 Midterm Spring 2011 Ola! Greetings from Puerto Rico, where the air is warm and salty and the mojitos are cold and sweet. Please answer all questions for a total of 200 points. Keep it clear and
More informationDeploying Rails with Kubernetes
Deploying Rails with Kubernetes AWS Edition Pablo Acuña This book is for sale at http://leanpub.com/deploying-rails-with-kubernetes This version was published on 2016-05-21 This is a Leanpub book. Leanpub
More informationPerformance Optimization 101. Louis-Philippe Gauthier Team AdGear Trader
Performance Optimization 101 Louis-Philippe Gauthier Team leader @ AdGear Trader Exercise HTTP API server API GET /date - returns today s date GET /time - returns the unix time in seconds HTTP API server
More informationDay 6: 24/May/2012. TDD (Test Driven Development)
Day 6: 24/May/2012 TDD (Test Driven Development) p Understand what TDD (Test Driven Development) is. p Understand the words related to the Test Driven Development p Get used to the Rails-Way of TDD p We
More informationBefore-image log, checkpoints, crashes
Before-image log, checkpoints, crashes Gus Björklund. Progress. PUG Challenge Americas, 9-12 June 2013 abstract In this talk we examine the "before-image file", what it's for, how it works, and how you
More informationQuickBooks for Windows Conversion Instructions
QuickBooks for Windows Conversion Instructions QuickBooks Windows Web Connect Introduction As First National Bank & Trust Co. completes its system conversion, you will need to modify your QuickBooks settings
More informationIntroduction to Docker. Antonis Kalipetis Docker Athens Meetup
Introduction to Docker Antonis Kalipetis - @akalipetis Docker Athens Meetup Contents Introduction to Docker, Containers, and the Matrix from Hell Why people care: Separation of Concerns Technical Discussion
More informationRSpec Core Project: RSpec Core 2.11 Publisher: RSpec. Issues. Open Feedback Dialog. rspec-core provides the structure for RSpec code examples:
Open Feedback Dialog Project: RSpec Core 2.11 Publisher: RSpec RSpec Core 2.11 rspec-core provides the structure for RSpec code examples: describe Account do it "has a balance of zero when first opened"
More information20480B - Version: 1. Programming in HTML5 with JavaScript and CSS3
20480B - Version: 1 Programming in HTML5 with JavaScript and CSS3 Programming in HTML5 with JavaScript and CSS3 20480B - Version: 1 5 days Course Description: This course provides an introduction to HTML5,
More informationLecture 3. Miscellaneous Ruby and Testing 1 / 40
Lecture 3 Miscellaneous Ruby and Testing 1 / 40 Homework 1 Grades were released! TAs provided feedback on best practices, but did not take off points Keep the comments in mind for future assignments! Any
More informationRailsConf Europe 2008 Juggernaut Realtime Rails. Alex MacCaw and Stuart Eccles
RailsConf Europe 2008 Juggernaut Realtime Rails Alex MacCaw and Stuart Eccles RailsConf Europe 2008 Juggernaut Realtime Rails Alex MacCaw and Stuart Eccles http://www.madebymany.co.uk/ server push HTTP
More informationTest Driven Development: Pair programming to the max. Klaas van Gend, 040coders.nl, March 15, 2018
Test Driven Development: Pair programming to the max Klaas van Gend, 040coders.nl, March 15, 2018 1 Klaas van Gend Hobby: Hobby: {040coders.nl} Hobby: 2 3 1949 1953 4 source optics 4 meter stage more optics
More informationIN ACTION. Ryan Bigg Yehuda Katz Steve Klabnik Rebecca Skinner SAMPLE CHAPTER MANNING
IN ACTION Ryan Bigg Yehuda Katz Steve Klabnik Rebecca Skinner SAMPLE CHAPTER MANNING Rails 4 in Action by Ryan Bigg Yehuda Katz Steve Klabnik and Rebecca Skinner Chapter 3 Copyright 2015 Manning Publications
More informationRails + Legacy Databases Brian Hogan - RailsConf 2009 twitter: bphogan IRC: hoganbp
Rails + Legacy Databases Brian Hogan - RailsConf 2009 twitter: bphogan IRC: hoganbp So the main thing I want you to take away from this talk is... Please don t do it! Questions? Just kidding. The point
More informationGraphQL. Concepts & Challenges. - I m Robert Mosolgo - Work from home Ruby developer - From Charlottesville VA - For GitHub
GraphQL Concepts & Challenges - I m Robert Mosolgo - Work from home Ruby developer - From Charlottesville VA - For GitHub Rails API WHY - You have your Rails app, why bother with an API? - You have clients.
More informationMastering Modern Payments
Mastering Modern Payments Using Stripe with Rails by Pete Keen Sample Chapter State and History So far in our little example app we can buy and sell downloadable products using Stripe. We're not keeping
More informationBetter late than never
Better late than never Integrating Selenium after the fact R. Tyler Croy tyler@linux.com Hello and thanks for coming. I'm R. Tyler Croy and I'm going to talk a bit this evening about the integrating Selenium
More informationHomework 1. Notes. What To Turn In. Unix Accounts. Reading. Handout 3 CSCI 334: Spring, 2017
Homework 1 Due 14 February Handout 3 CSCI 334: Spring, 2017 Notes This homework has three types of problems: Self Check: You are strongly encouraged to think about and work through these questions, but
More informationRACK / SSO. and a little bit about the Bundler. Tuesday, December 1, 2009 hello hello
RACK / SSO and a little bit about the Bundler hello hello COREY DONOHOE @atmos / atmos@atmos.org i m a software developer and open source participant for a number of years this is me in hawaii last month
More informationRefactoring Without Ropes
Refactoring Without Ropes Roger Orr OR/2 Limited The term 'refactoring' has become popular in recent years; but how do we do it safely in actual practice? Refactoring... Improving the design of existing
More informationAgile Behaviour Driven Development (BDD) and Integrated Testing with the Cucumber Framework. Melbourne ANZTB SIGIST, 15 th June 2011
Agile Behaviour Driven Development (BDD) and Integrated Testing with the Cucumber Framework Damian Versaci Melbourne ANZTB SIGIST, 15 th June 2011 Contents The Importance of Requirements Behaviour Driven
More informationCan you upgrade to Puppet 4.x? PuppetCamp Düsseldorf Martin Alfke
Can you upgrade to Puppet 4.x? PuppetCamp Düsseldorf Martin Alfke About me Martin Alfke Berlin/Germany Freelancer / Trainer PuppetLabs Training Partner Puppet User Group Berlin
More informationWeb System Development by Ruby on Rails. Day 3(4/Oct/2012) First Project Internationalization
Web System Development by Ruby on Rails Day 3(4/Oct/2012) First Project Internationalization Today s Goal (Continued) Run Rails 3 on CentOS, and generate the first project. Generate the bi-lingual screen
More informationYaffs Tuning. Charles Manning
Yaffs Tuning Charles Manning 2012-07-22 Yaffs has many options for tuning for speed or memory use. This document details them for Yaffs Direct and Linux, covering compile time flags and settings, initialisation
More informationSpring Dependency Injection & Java 5
Spring Dependency Injection & Java 5 Alef Arendsen Introductions Alef Arendsen Spring committer since 2003 Now Principal at SpringSource (NL) 2 3 Imagine A big pile of car parts Workers running around
More informationQiufeng Zhu Advanced User Interface Spring 2017
Qiufeng Zhu Advanced User Interface Spring 2017 Brief history of the Web Topics: HTML 5 JavaScript Libraries and frameworks 3D Web Application: WebGL Brief History Phase 1 Pages, formstructured documents
More informationString Calculator TDD Kata
String Calculator TDD Kata Created by Roy Osherove http://osherove.com/tdd-kata-1 Ruby Solution based on performance by Corey Haines http://katas.softwarecraftsmanship.org/?p=80 Basic Requirements Create
More informationRake Tasks. David Grayson Las Vegas Ruby Meetup
Rake Tasks David Grayson Las Vegas Ruby Meetup 2013-08-14 Two main types of Rails commands: rails rails new rails server rails console rails generate rake rake db:migrate rake spec rake routes rake middleware
More informationHelp Me! A Consumer Product Assistance Application
Grand Valley State University ScholarWorks@GVSU Technical Library School of Computing and Information Systems 2016 Help Me! A Consumer Product Assistance Application Ryan Kingsley Grand Valley State University
More informationLotus Protector for Mail Security
Lotus Protector for Mail Security A Consultant in your Pocket series webinar Presented by: Victor Toal Lotus Protector for Mail Security What we will cover in this Webinar 1 Lotus Protector for Mail Security
More informationUPGRADING IMIS NEWLIN
UPGRADING IMIS NEWLIN JOLME, INTEGR8TIV @njolme @integr8tiv AGENDA UPGRADING IMIS, THE TECHNICAL PERSPECTIVE Want to be on the latest greatest release of imis but not sure where to start? This technical
More informationLecture 1. Basic Ruby 1 / 61
Lecture 1 Basic Ruby 1 / 61 What does this do? 3.times do print 'Hello, world!' end 2 / 61 Why Ruby? Optimized for programmer happiness Used for Ruby on Rails Very popular web framework 3 / 61 Course Policies
More informationAutomation Script Development using Capybara
Automation Script Development using Capybara Yesha N B 1, Dr. Jitranath Mungara 2 1 Student, B.E, Information Science and Engineering Department, NHCE, Bangalore, India 2 Head of Department, Information
More informationMemshare: a Dynamic Multi-tenant Key-value Cache
Memshare: a Dynamic Multi-tenant Key-value Cache ASAF CIDON*, DANIEL RUSHTON, STEPHEN M. RUMBLE, RYAN STUTSMAN *STANFORD UNIVERSITY, UNIVERSITY OF UTAH, GOOGLE INC. 1 Cache is 100X Faster Than Database
More informationInstructions for the Day of Ruby Ruby on Rails Tutorial
Instructions for the Day of Ruby Ruby on Rails Tutorial 1. Make sure you have the vendor files from http://www.cornetdesign.com/files/dor.zip. 2. Open a terminal window and change to a project directory.
More informationManaging Workflows. Starting Prime Network Administration CHAPTER
CHAPTER 10 Prime Network Administration can be used to manage deployed workflow templates. Topics include: Starting Prime Network Administration, page 10-1 Viewing the List of Templates and Template Properties,
More informationLie, Cheat and Deceive: Change the Rules of Cyber Defense
SESSION ID: SPO-W10A Lie, Cheat and Deceive: Change the Rules of Cyber Defense Sameh Sabry Associate Vice President Professional Services Spire Solutions Why continue to do things the way we always have?
More informationOne-Slide Summary. Lecture Outine. Automatic Memory Management #1. Why Automatic Memory Management? Garbage Collection.
Automatic Memory Management #1 One-Slide Summary An automatic memory management system deallocates objects when they are no longer used and reclaims their storage space. We must be conservative and only
More informationFree and Open Source Software (FOSS) for Bioinformatics and Computational Biology
Free and Open Source Software (FOSS) for Bioinformatics and Computational Biology Pjotr Prins - 14 Feb 2013 Wageningen University Free and Open Source Software (FOSS) p. 1 What is FOSS? FOSS: free and
More informationONSITE BOOTCAMP. Onsite. Course Packet MEAN RUBY ON RAILS PYTHON IOS JAVA.NET
ONSITE BOOTCAMP Onsite Course Packet Packet MEAN RUBY ON RAILS PYTHON IOS JAVA.NET Last updated on Nov 20, 2017 TABLE OF CONTENTS 2 ONSITE BOOTCAMP Program Overview, Prerequisites Schedule Curriculum Overview
More informationMvcc Unmasked BRUCE MOMJIAN
Mvcc Unmasked BRUCE MOMJIAN This talk explains how Multiversion Concurrency Control (MVCC) is implemented in Postgres, and highlights optimizations which minimize the downsides of MVCC. Creative Commons
More informationRev: A02 Updated: July 15, 2013
Rev: A02 Updated: July 15, 2013 Welcome to Pivotal Command Center Pivotal Command Center provides a visual management console that helps administrators monitor cluster performance and track Hadoop job
More informationu Covered: l Management of CPU & concurrency l Management of main memory & virtual memory u Currently --- Management of I/O devices
Where Are We? COS 318: Operating Systems Storage Devices Jaswinder Pal Singh Computer Science Department Princeton University (http://www.cs.princeton.edu/courses/cos318/) u Covered: l Management of CPU
More informationChiliProject - Bug # 529: builder is not part of the bundle. Add it to Gemfile
ChiliProject - Bug # 529: builder is not part of the bundle. Add it to Gemfile Status: Closed Priority: Normal Author: Enno Grà per Category: Created: 2011-07-17 Assignee: Updated: 2012-06-23 Due date:
More informationA Separation of Concerns Clean Architecture on Android
A Separation of Concerns Clean Architecture on Android Kamal Kamal Mohamed Android Developer, //TODO Find Better Title @ Outware Mobile Ryan Hodgman Official Despiser of Utils Classes @ Outware Mobile
More informationCourse 20480: Programming in HTML5 with JavaScript and CSS3
Course 20480: Programming in HTML5 with JavaScript and CSS3 Overview About this course This course provides an introduction to HTML5, CSS3, and JavaScript. This course helps students gain basic HTML5/CSS3/JavaScript
More informationGIN in 9.4 and further
GIN in 9.4 and further Heikki Linnakangas, Alexander Korotkov, Oleg Bartunov May 23, 2014 Two major improvements 1. Compressed posting lists Makes GIN indexes smaller. Smaller is better. 2. When combining
More informationCOURSE 20480B: PROGRAMMING IN HTML5 WITH JAVASCRIPT AND CSS3
ABOUT THIS COURSE This course provides an introduction to HTML5, CSS3, and JavaScript. This course helps students gain basic HTML5/CSS3/JavaScript programming skills. This course is an entry point into
More informationEvents & Callbacks (ESaaS 6.5)! 2013 Armando Fox & David Patterson, all rights reserved
Events & Callbacks (ESaaS 6.5)! 2013 Armando Fox & David Patterson, all rights reserved Events" What: occurrences that affect the user interface" User interacts with a page element" Previously-set timer
More informationSeven proven ways to ruin your Test Automation
Seven proven ways to ruin your Test Automation Agenda Introduce each method Explain about possible defences against it List efficient countermeasures Rate it Conclusion TEST AUTOMATION PATTERNS TEST AUTOMATION
More informationOverview of the Ruby Language. By Ron Haley
Overview of the Ruby Language By Ron Haley Outline Ruby About Ruby Installation Basics Ruby Conventions Arrays and Hashes Symbols Control Structures Regular Expressions Class vs. Module Blocks, Procs,
More informationScale out Read Only Workload by sharing data files of InnoDB. Zhai weixiang Alibaba Cloud
Scale out Read Only Workload by sharing data files of InnoDB Zhai weixiang Alibaba Cloud Who Am I - My Name is Zhai Weixiang - I joined in Alibaba in 2011 and has been working on MySQL since then - Mainly
More informationProgramming in HTML5 with JavaScript and CSS3
Programming in HTML5 with JavaScript and CSS3 20480B; 5 days, Instructor-led Course Description This course provides an introduction to HTML5, CSS3, and JavaScript. This course helps students gain basic
More informationRepresenting Data Elements
Representing Data Elements Week 10 and 14, Spring 2005 Edited by M. Naci Akkøk, 5.3.2004, 3.3.2005 Contains slides from 18.3.2002 by Hector Garcia-Molina, Vera Goebel INF3100/INF4100 Database Systems Page
More informationTRANSACTIONAL FLASH CARSTEN WEINHOLD. Vijayan Prabhakaran, Thomas L. Rodeheffer, Lidong Zhou
Department of Computer Science Institute for System Architecture, Operating Systems Group TRANSACTIONAL FLASH Vijayan Prabhakaran, Thomas L. Rodeheffer, Lidong Zhou CARSTEN WEINHOLD MOTIVATION Transactions
More informationHomework 1. Reading. Problems. Handout 3 CSCI 334: Spring, 2012
Homework 1 Due 14 February Handout 3 CSCI 334: Spring, 2012 Reading 1. (Required) Mitchell, Chapter 3. 2. (As Needed) The Lisp Tutorial from the Links web page, as needed for the programming questions.
More information{SDD} Applied NoSQL in.net. Software Design & Development. Michael
{SDD} 2015 Software Design & Development Applied NoSQL in.net Michael Kennedy @mkennedy http://blog.michaelckennedy.net Objectives Describe the changes in the world of data management Install MongoDB and
More informationA power point by R Tyler Croy
A power point by R Tyler Croy Mr. Kanies 6 th Period GitHub Decentral High School 2014 http://tiny.cc/mrkaniesisthebest Who is Tyler! GitHub Decentral High Senior (GO CATS!) Member of the Ruby Pep Band
More informationRust for high level applications. Lise Henry
Rust for high level applications Lise Henry Who am I Elisabeth Henry A.k.a Lizzie Crowdagger Computer science background Semi-professional fantasy writer I like Rust, but not really into systems programming
More information