A Self-Configuring Test Harness for Web Applications Jairo Pava School of Computing and Information Sciences Florida International University Courtney Enoex School of Applied Sciences and Arts Southern Illinois University 8/1/2008 REU Summer Program Florida International University School of Computing and Information Sciences Yanelis Hernandez PhD Student Peter J. Clarke Research Mentor
21
Embed
A Self-Configuring Test Harness for Web Applications
A Self-Configuring Test Harness for Web Applications. Florida International University. School of Computing and Information Sciences. Jairo Pava School of Computing and Information Sciences Florida International University. Courtney Enoex School of Applied Sciences and Arts - PowerPoint PPT Presentation
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
A Self-Configuring Test Harness for Web Applications
Jairo PavaSchool of Computing and
Information SciencesFlorida International University
Courtney EnoexSchool of Applied Sciences and
ArtsSouthern Illinois University
8/1/2008REU Summer Program
Florida International University School of Computing and Information Sciences
Yanelis HernandezPhD Student
Peter J. ClarkeResearch Mentor
• Many web application technologies
• NoNo standard test script language
• ComplexComplex web applications make testing difficult
• MigrationMigration of technologies inefficient
• CostCost of software testing accounts for fifty to seventy-five percent of total development costs
Motivation 2
Presentation Content
• Motivation
• Objectives
• Background
• Problem Statement
• Approach
• Implementation
• Results
• Conclusions / Pending Work
• Acknowledgements
• Questions
3
Background 5
• Testing web application is necessary
• Complex web applications make testing difficult
• Regression testing points to code modification that make previously functional code to fail
• Allows the ability to catch errors as they are introduced
• Subtle changes in code can introduce errors
Test Case ComponentsTest Case Components
ID A name given to each test case
Purpose The aspect of the application that will be tested
SetupCreation testing environment(will not interferewith real settings)
Input Show how the application interacts with the Setup data
Expected output If the output is what was expected, the test passes
Background 6
Literature Review
Ruby on Rails [2]Ruby on Rails [2]• Released in 2004• Provides scaffolding, WEBrick, and Rake
• Helpful tools are ready for use
PHPUnit [3]PHPUnit [3]• Simple pass/fail reporting• Use with PHPUnit Database Extension
• Compare (seeded) database contents with an expected dataset
An Integrated Self-Testing Framework for Autonomic Computing Systems An Integrated Self-Testing Framework for Autonomic Computing Systems • King, et al• Authors developed integrated testing for autonomic systems
4
Testing ToolsTesting Tools
Problem Statement
To develop a web application test harness that dynamically configures its test suite to generate and execute platform specific test scripts.