SlideShare a Scribd company logo
Expanding our Testing Horizons
Mark Micallef
PEST Research Lab, Malta
Monday, July 28, 2014
Expanding our Testing Horizons
Expanding our Testing Horizons
Expanding our Testing Horizons
Expanding our Testing Horizons
Expanding our Testing Horizons
Expanding our Testing Horizons
Two Worlds
• Understanding
• Clean Solutions
• Complete
• Perfect
• Value
• Pragmatic
• Working
Expanding our Testing Horizons
Idea: Catching problems earlier makes them easier to fix
Static Analysis
Parser
Source
Code
Analyser
Intermediate
Representation
Analysis
Static Analysis
Source Code
Expanding our Testing Horizons
The Problem
 Static analysis tools can identify thousands of alerts
 This leads to cognitive overload…
 … which in turn leads to…
 … the technique being abandoned
 Concept: Actionable Alert Identification Techniques (AAIT)
Expanding our Testing Horizons
Some discoveries
0
1
2
3
4
5
Priority of
alert
Size/Length of
the method
Size/Length of
the class
Age of alert Date of last
modification
Code churn Complexity of
a method
Nesting of a
line of code
Code (line)
coverage
NumberofInterviewees
Very useful Somewhat useful Slightly useful Irrelevant Missing
A context-specific AAIT
Expert System
Alerts
Context
Filtered and Ranked
Alerts
Idea: We should be aware of the effectiveness of our test suites
Expanding our Testing Horizons
Statement coverage can be misleading
public int multiply(int x, int y){
return (x y);
}
@Test
public void testMultiply(){
assertEquals(5, multiply(5, 1));
}
*/
Passes
x
Mutation Testing
Mutation Testing
Test Suite
Mutant 1 Mutant n
Program
Problems with Mutation Testing
Generating mutants is expensive
Executing tests is expensive
Susceptible to equivalent mutants
Manual investigation of unkilled mutants
Applying context
Version n
δ
δ
δ
δ
Version n+1
δ
δ
Version n+1 changes
δ δ
δ
δ
δ
δ
The results
Code Churn Affected
LOC
Unchanged
code
Decrease
in mutants
Decrease in
execution time
Low 12 99.8% 91% 91%
Medium 60 98.8% 62% 88%
High 720 85.6% 46% 89%
Insight: Testing will never provide guarantees
that bugs do not exists
Testing Activities
Test Planning
Test Case
Design
Execution
Reporting &
Management
Testing Activities
Test Planning
Test Case
Design
Execution
Reporting &
Management
Runtime
Testing
Testing
(Multiple Paths)
Runtime Testing
(Single user-generated Path)
Runtime Testing
Problems with Runtime Testing
Defining mathematical properties may
not come naturally to people
Performance Overheads
How do you fit this into your development
process?
Applying Context
Given I am a bank teller processing a transaction
And account 67 has $100 and account 113 has $50
When I transfer $50 from account 67 to account 113
Then account 67 will have $50
And account 113 will have $100
And this should happen within 3 seconds
And the transfer should be logged
And a receipt should be printed
And the respective clients should be notified
Relevant to feature
Cross-Cutting Criteria
Applying Context
Cross-Cutting Criteria
Feature 1 Feature 2 Feature 3
What can I do?
You can…
 Periodically scan academic journals for new ideas
 Try Google Scholar, set up alerts for your favourite topics
 Sell the benefits of research to yourself and colleagues
 Actively seek out collaborations with research groups,
local or otherwise
 Consider pursuing research for academic credit yourself
or sponsor and employee to do so
Some collaboration models
 Provide a case study
 Sponsor an intern
 Hand off a problem to a research group
 Contribute to a research trust
Thank you 
http://www.um.edu.mt/ict/cs/pest
@markmicallef
mmicallef@gmail.com

More Related Content

PPTX
Test case design techniques
PPTX
The Nature Of Patterns
DOCX
Ompp3 om (operations management) practical project problems are
PDF
Andrii Belas: A/B testing overview: use-cases, theory and tools
PPTX
2018-Sogeti-TestExpo-Intelligent_Predictive_Models.pptx
DOCX
Operations management chapter 03 homework assignment use this
PPTX
Introduction
PDF
Statistical hypothesis testing in e commerce
Test case design techniques
The Nature Of Patterns
Ompp3 om (operations management) practical project problems are
Andrii Belas: A/B testing overview: use-cases, theory and tools
2018-Sogeti-TestExpo-Intelligent_Predictive_Models.pptx
Operations management chapter 03 homework assignment use this
Introduction
Statistical hypothesis testing in e commerce

What's hot (18)

PDF
Towards a pattern recognition approach for transferring knowledge in acm v4 f...
PPTX
Developing a Computerized Adaptive Test
DOCX
Create a sql script containing your data definition language (ddl)
DOCX
Analyttica data science
PPTX
Supervised Machine Learning
PDF
RecSys 2016 Talk: Feature Selection For Human Recommenders
PPTX
Supervised learning
PPT
Lecture 7
PDF
Supervised and Unsupervised Machine Learning
PDF
Supervised learning
DOCX
Mk0013 marketing research
PPTX
Key learnings from my refactor journey.
PDF
Data Analysis Presentation
PDF
Unsupervised Machine Learning Ml And How It Works
PPTX
Using Multiple Accounts for Harvesting Solutions in MOOCs
 
PDF
Creating an in-house computerized adaptive testing (CAT) program with Concerto
PPTX
Computer Adaptive Test (cat)
PPTX
Introduction to Computerized Adaptive Testing (CAT)
Towards a pattern recognition approach for transferring knowledge in acm v4 f...
Developing a Computerized Adaptive Test
Create a sql script containing your data definition language (ddl)
Analyttica data science
Supervised Machine Learning
RecSys 2016 Talk: Feature Selection For Human Recommenders
Supervised learning
Lecture 7
Supervised and Unsupervised Machine Learning
Supervised learning
Mk0013 marketing research
Key learnings from my refactor journey.
Data Analysis Presentation
Unsupervised Machine Learning Ml And How It Works
Using Multiple Accounts for Harvesting Solutions in MOOCs
 
Creating an in-house computerized adaptive testing (CAT) program with Concerto
Computer Adaptive Test (cat)
Introduction to Computerized Adaptive Testing (CAT)
Ad

Viewers also liked (17)

PPTX
PDF
Conligus compensation plan
DOCX
Guia de mat 3°
PPT
nuevo codigo procesal penal
PPTX
Gas dirt bikes
PDF
Powerrideoutlet roketa mcr-100 250cc cruiser challenger
PPTX
Conducted Energy Weapon
PDF
Powerrideoutlet dirt bikes for sale
PDF
Guias de mate para quinto de fraccion
PDF
Fail So Hard: Success and Queerness by Raquel Rodriguez
DOCX
Guia de mat 3°
PDF
Powerrideoutlet -pro coolster dxr honda rancher clone 150cc atv
PDF
Conligus business presentation
PDF
Proceso inmediato NCPP
PDF
SSR Dirt Bike
PPTX
Proceso Penal Común y el juez penal
DOCX
Public financial management reforms
Conligus compensation plan
Guia de mat 3°
nuevo codigo procesal penal
Gas dirt bikes
Powerrideoutlet roketa mcr-100 250cc cruiser challenger
Conducted Energy Weapon
Powerrideoutlet dirt bikes for sale
Guias de mate para quinto de fraccion
Fail So Hard: Success and Queerness by Raquel Rodriguez
Guia de mat 3°
Powerrideoutlet -pro coolster dxr honda rancher clone 150cc atv
Conligus business presentation
Proceso inmediato NCPP
SSR Dirt Bike
Proceso Penal Común y el juez penal
Public financial management reforms
Ad

Similar to Expanding our Testing Horizons (20)

PDF
Rediscover Exploratory Testing
PPTX
Test case design techniques
PPTX
TestWorksConf: Experience exploratory testing
PPTX
iSTQB Chap 5 Managing the Test Activities
PPTX
ISTQB foundation level - day 2
PDF
What are Software Testing Methodologies | Software Testing Techniques | Edureka
PDF
Dare to Explore: Discover ET!
PPTX
Test analysis: indentifying test conditions
PDF
Exploratory Testing, A Guide Towards Better Test Coverage.pdf
PDF
Chapter 5 - Managing Test Activities V4.0
PDF
Approaches to Software Testing
PDF
Approachesppt 111112121701 Phpapp02
PDF
Test Design Techniques in Exploratory Testing
PDF
Agile Acceptance testing with Fitnesse
PPT
prova7
PPT
PPT
PPT
prova9
PPT
prova2
PPT
Rediscover Exploratory Testing
Test case design techniques
TestWorksConf: Experience exploratory testing
iSTQB Chap 5 Managing the Test Activities
ISTQB foundation level - day 2
What are Software Testing Methodologies | Software Testing Techniques | Edureka
Dare to Explore: Discover ET!
Test analysis: indentifying test conditions
Exploratory Testing, A Guide Towards Better Test Coverage.pdf
Chapter 5 - Managing Test Activities V4.0
Approaches to Software Testing
Approachesppt 111112121701 Phpapp02
Test Design Techniques in Exploratory Testing
Agile Acceptance testing with Fitnesse
prova7
prova9
prova2

Recently uploaded (20)

PDF
Salesforce Agentforce AI Implementation.pdf
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
PPTX
GSA Content Generator Crack (2025 Latest)
PPTX
Custom Software Development Services.pptx.pptx
PDF
DNT Brochure 2025 – ISV Solutions @ D365
PDF
STL Containers in C++ : Sequence Container : Vector
PDF
Wondershare Recoverit Full Crack New Version (Latest 2025)
PPTX
assetexplorer- product-overview - presentation
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
PDF
Website Design Services for Small Businesses.pdf
PDF
iTop VPN Crack Latest Version Full Key 2025
PDF
Types of Token_ From Utility to Security.pdf
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
PPTX
Weekly report ppt - harsh dattuprasad patel.pptx
PDF
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
PPTX
Monitoring Stack: Grafana, Loki & Promtail
PPTX
chapter 5 systemdesign2008.pptx for cimputer science students
PPTX
Trending Python Topics for Data Visualization in 2025
Salesforce Agentforce AI Implementation.pdf
Computer Software and OS of computer science of grade 11.pptx
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
GSA Content Generator Crack (2025 Latest)
Custom Software Development Services.pptx.pptx
DNT Brochure 2025 – ISV Solutions @ D365
STL Containers in C++ : Sequence Container : Vector
Wondershare Recoverit Full Crack New Version (Latest 2025)
assetexplorer- product-overview - presentation
Oracle Fusion HCM Cloud Demo for Beginners
Website Design Services for Small Businesses.pdf
iTop VPN Crack Latest Version Full Key 2025
Types of Token_ From Utility to Security.pdf
Why Generative AI is the Future of Content, Code & Creativity?
Advanced SystemCare Ultimate Crack + Portable (2025)
Weekly report ppt - harsh dattuprasad patel.pptx
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
Monitoring Stack: Grafana, Loki & Promtail
chapter 5 systemdesign2008.pptx for cimputer science students
Trending Python Topics for Data Visualization in 2025

Expanding our Testing Horizons

Editor's Notes

  • #2: Group linking academia to industry
  • #21: Inject fault: replace operators, operands or omit operations fix in next slide
  • #25: We look at system as what has changed and what has not