Intelligent Testing, Improvement and AssuranceSlide 1 Open Source Script Languages and Utilities What Every Tester Should Know Paul Gerrard

Slides:



Advertisements
Similar presentations
Basic Computer Vocabulary
Advertisements

Test Automation Framework Ashesh Jain 2007EE50403 Manager Amit Maheshwari.
Story-Based Test Automation Using Free Tools
Server-Side vs. Client-Side Scripting Languages
Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation.
Building an APRS Weather Station for Under $300 APRS Wx station presentation by Chris, W8CWG, Mound Amateur Radio Association 3 Dec 2014.
Introduction to Computer Terminology
Application Software: Essentials for knowledge workers
Dynamic Web site With PHP and MySQL. MySQL The combination of MySQL database and PHP scripting language is optimum for building dynamic websites. MySQL.
Computers They're Not Magic! (for the most part)‏ Adapted from Ryan Moore.
Embedded Programming and Robotics Lesson 12 Introducing the Raspberry Pi Intro to Raspberry Pi1.
Linux Operations and Administration
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Lesson 4 Computer Software
Lesson 4: What Is Software?
Presents. fileProGI Design Goals GUI Runtime Client for filePro Point and Click operation without processing table changes New functional capabilities.
1 Network Statistic and Monitoring System Wayne State University Division of Computing and Information Technology Information Technology.
Operating Systems Operating System
© Paradigm Publishing Inc. 4-1 Chapter 4 System Software.
Fundamentals of Networking Discovery 1, Chapter 2 Operating Systems.
Next on the CC Lab agenda: Creating a podcast. We will break this session into three parts: 1.Recording a sound file 2.Getting the results into proper.
Lesson 6 Operating Systems and Software
IDK0040 Võrgurakendused I Building a site: Implementation Deniss Kumlander.
Chapter 4 Software Hardware matters little compared to software?
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
Chapter 4 System Software.
The PC The PC is a standard computing platform, built around a EISA bus (1988) –IBM compatible –“Intel Architecture” from Intel or AMD or other companies.
Hands-On Virtual Computing
1 ITSK 2611 Welcome. 2 Operating System 3 What is an OS Resource Manager –Disk –Memory –CPU Device Manager –Printers –Video Card –Sound Card Utility.
Today, each and every one of us makes use of a computer for some reason or the other. Before we begin with any computer hardware tutorials, let us first.
Review Security Hardening IPTables SELinux. Today Installations and updates – Rpm command and packages Apache “Issue Ownership”
What is system software and what are its parts? Programs that control operation of computer Two parts are operating systems utility programs.
Raspberry Pi.
An Intern’s Guide to basic WMS 2011 setup in just 8 easy steps © 2011 Microsoft Corporation By: Livi Erickson.
SQL Queries Relational database and SQL MySQL LAMP SQL queries A MySQL Tutorial and applications Database Building Assignment.
By Naveed Ahmad! How to setup a. First of all, what are the parts of a Raspberry Pi? Source:
CHEMS Training CHEMS 2003 AREV CHEMS CHEMSPRO AdHoc Reporting County Requirements.
General rules 1. Rule: 2. Rule: 3. Rule: 10. Rule: Ask questions ……………………. 11. Rule: I do not know your skill. If I tell you things you know, please stop.
1 Copyright © 2015 Pexus LLC Patriot PS Personal Server Installing Patriot PS ISO Image on.
Introduction :  In the beginning, the calculator is the basic idea of computers out, then that arrived at the large computers.  in1980 or late seventies.
17 Establishing Dial-up Connection to the Internet Using Windows 9x 1.Install and configure the modem 2.Configure Dial-Up Adapter 3.Configure Dial-Up Networking.
Computing Fundamentals Module Lesson 23 — Computer Software
11 Computers, C#, XNA, and You Session 1.1. Session Overview  Find out what computers are all about ...and what makes a great programmer  Discover.
CS 221 – May 8 Course objectives – Assemble computer cluster – Linux and C – Practice basic parallelizing technique Stay tuned: I will provide some useful.
Gorman, Stubbs, & CEP Inc. 1 Introduction to Operating Systems Lesson 8 Linux.
Learning Aim B.  In this section, you will consider the resources necessary for designing your website.  You will also think about any constraints that.
2: Operating Systems Networking for Home & Small Business.
Raspberry Pi Project Control Your Home Lights with a Raspberry Pi.
1 BCS 4 th Semester. Step 1: Download SQL Server 2005 Express Edition Version Feature SQL Server 2005 Express Edition SP1 SQL Server 2005 Express Edition.
John Samuels October, Why Now?  Vista Problems  New Features  >4GB Memory Support  Experience.
Planning Server Deployments Chapter 1. Server Deployment When planning a server deployment for a large enterprise network, the operating system edition.
Advance startup options Shift Restart. Restart options.
Installing a Moodle Test Site The painless and easy way.
ICAICT201A USE COMPUTER OPERATING SYSTEM. USING THE CONTROL PANEL The Control Panel contains many options for configuring your computer, including: adding.
RaspberryPi.
Chapter 2 Operating Systems
Solar Pi – A Technology Innovation
2nd year Computer Science & Engineer
Chapter 5 Operating Systems.
Introduction to Raspberry Pi & Kano
Workshop on Raspberry Pi 3
Computer System Laboratory
Create setup scripts simply and easily.
PlaatScrum (Raspberry Pi scrum tool) Open Source Project
PlaatSign (Raspberry Pi Digital Content Viewer) Open Source Project
Developing Web-Based Applications
Raspberry Pi.
Raspberry Pi Pi 2 Model B.
Introduction to EV3Dev: Setup with Python
Web Application Development Using PHP
Presentation transcript:

Intelligent Testing, Improvement and AssuranceSlide 1 Open Source Script Languages and Utilities What Every Tester Should Know Paul Gerrard Twitter: Web: gerrardconsulting.comgerrardconsulting.com

“I’m a tester, not a techie” Like saying, “I don’t know how a plane works” OK if you’re a steward, but not OK if you’re a professional pilot Intelligent Testing, Improvement and AssuranceSlide 2

Your team are at a disadvantage if you don’t have someone who ‘knows how to code’ Increasingly, employers are looking for testers with programming skills Intelligent Testing, Improvement and AssuranceSlide 3

Agenda My thesis: – You, or at least your team, need scripting (and open source skills) The march of open source How do I start? Ten things scripting languages can do for you Intelligent Testing, Improvement and AssuranceSlide 4

Some Open Source Research Courtesy of the Times 23 October 2012

Intelligent Testing, Improvement and AssuranceSlide 6

Intelligent Testing, Improvement and AssuranceSlide 7

Open Source is on the march Clearly, most IT management have decided that OS is worth pursuing – Reduce or eliminate licensing costs – Take ownership of risk and support or (preferred) hire professional services to take the burden Whichever route your organisation takes, it seems likely we’ll all be working much more with open source products. Intelligent Testing, Improvement and AssuranceSlide 8

Most Script Languages are Open Source Free to download, all platforms, many books, enthusiastic user communities

What is a scripting language? Mostly script languages have a unix/linux heritage But because they are open source, they have ALL been ported to windows, Mac whatever Examples: – Python, Perl, PHP, (V)Basic (program) – Bash+others, Windows Cmd prompt, Powershell These are not scripting languages: – C, Java, C++, Visual C/Basic Intelligent Testing, Improvement and AssuranceSlide 10

“How do I get started with open source” Buy a RaspberyPI (Or tear off a DVD from a Linux magazine and install on an old pc) Intelligent Testing, Improvement and AssuranceSlide 11

What is a Raspberry PI? Intelligent Testing, Improvement and AssuranceSlide 12

What it is really It’s a fully functional computer for $25 Not particularly fast, but all you need is: – A power supply (micro usb) – Connector to TV (poor) or HDMI to monitor – Network cable to your router – SDHC Card - 2Gb works >8Gb better – Keyboard and Mouse Case – cases can cost as much as the RPI Intelligent Testing, Improvement and AssuranceSlide 13

Raspbian OS A cut down version of the Debian Linux distribution – the same source as Ubuntu Python is the installed language, but you can install any script language in just a few commands (with an internet connection) I’ve had the full technology stack for Business Story Manager running on a RPI – Mysql, Web2py, Postfix mail, 100+ DB tables, 170 web screens all on an 8Gb SDHC card – Total cost: £35 Intelligent Testing, Improvement and AssuranceSlide 14

RaspberryPI in schools Intelligent Testing, Improvement and AssuranceSlide 15

Manufacturers are shipping 4-5,000 Raspberry PIs per DAY 250,000+ shipped so far Intelligent Testing, Improvement and AssuranceSlide 16

But I want a ‘proper PC/Workstation’ Intelligent Testing, Improvement and AssuranceSlide 17

Want a more powerful option? No need for $$$ workstations – Linux uses less than half the resources of Windows I buy most of my hardware off eBay nowadays A 2 nd hand Dell Optiplex small form factor PC sells for £30-35 I use one of these for all my applications development and a 5 year old server as a test environment (I could use a PI, but don’t). Intelligent Testing, Improvement and AssuranceSlide 18

Intelligent Testing, Improvement and AssuranceSlide 19 My development PC is a model like this – it cost me £27.50 plus £10 postage in May 2012 – works a treat

So, it’s easy to get started What can I actually do with my scripting skills? Intelligent Testing, Improvement and AssuranceSlide 20

Things a tester can do with a decent scripting language Only limited by your imagination I have done all these (and still do some today) Intelligent Testing, Improvement and AssuranceSlide 21

Extract text from flat files and generate test data Intelligent Testing, Improvement and AssuranceSlide 22

Generate test data combinations from a table of seed datavalues Intelligent Testing, Improvement and AssuranceSlide 23

Create an all-pairs table of test combinations for configuration tests Intelligent Testing, Improvement and AssuranceSlide 24

Compare the contents of files while masking columns, rows and selected patterns of data Intelligent Testing, Improvement and AssuranceSlide 25

Drive simple web transactions from the command line to load test data Intelligent Testing, Improvement and AssuranceSlide 26

Create a test environment monitoring utility that s you when your web servers are down Intelligent Testing, Improvement and AssuranceSlide 27

Backup your test results files into an archive Intelligent Testing, Improvement and AssuranceSlide 28

Generate template test automation code from HTML (Robot, Selenium etc.) Intelligent Testing, Improvement and AssuranceSlide 29

Generate a basic HTML web page mockup directly from story scenarios Intelligent Testing, Improvement and AssuranceSlide 30

Generate unit test harness code from your story scenarios Intelligent Testing, Improvement and AssuranceSlide 31

Create graphical coverage maps from your test records records Intelligent Testing, Improvement and AssuranceSlide 32

Analyse the text of your requirements and test documents using a natural language processor Intelligent Testing, Improvement and AssuranceSlide 33

Generate a first cut glossary of terms for your documentation and identify new terms as they appear Intelligent Testing, Improvement and AssuranceSlide 34

Create test reports in HTML from plain text reports or tester notes (and mail summaries to the team every day) Intelligent Testing, Improvement and AssuranceSlide 35

Post incident reports directly to a web based IR tool via the command line Intelligent Testing, Improvement and AssuranceSlide 36

OK that was more than ten But you get the idea You don’t need to be a super coder to do most of these things. Intelligent Testing, Improvement and AssuranceSlide 37

Close Convinced yet? Intelligent Testing, Improvement and AssuranceSlide 38

Discussion All sounds rosy - what’s stopping you? Hardware not the issue? – Can’t add uncertified hardware to our network – Can’t install software to our systems Our people won’t write code Our managers won’t let non-techies write code (Catch 22?) Developers won’t like it If developers are legacy/proprietary – they are in for a shock if they’re resistant/not ready. Intelligent Testing, Improvement and AssuranceSlide 39