Download presentation
Presentation is loading. Please wait.
Published byJeffrey Watson Modified over 9 years ago
1
Acceptance Test Presented By: Code Shark Solutions 04/26/11
2
Welcome Our Client Dr. Timoth C. Lederman Professor of Computer Science Siena College 2 Code Shark Solutions Acceptance Test
3
Agenda Introduction Our Model Our Project Requirements Inventory Data Design Test Plan Search Demo What is next? 3 Code Shark Solutions Acceptance Test
4
Introduction Our Team Daniel Rotondo Co-Team Leader Ryan Godfrey Co-Team Leader Kurt Greiner Lead Programmer Rebecca Wilson Information Specialist Akeem Shirley Database Administrator Brittany Lintelman Documentarian 4 Code Shark Solutions Acceptance Test
5
Agenda Introduction Our Model Our Project Requirements Inventory Data Design Test Plan Search Demo What is next? 5 Code Shark Solutions Acceptance Test
6
Our Model Code Shark Solutions Acceptance Test6
7
Agenda Introduction Our Model Our Project Requirements Inventory Data Design Test Plan Search Demo What is next? 7 Code Shark Solutions Acceptance Test
8
ROSES Problem Definition Site lacks functionality Inconsistent menu No Search feature Is not aesthetically pleasing 8 Code Shark Solutions Acceptance Test Our Project R.O.S.E.S. Redesign of the Software Engineering Site
9
Agenda Introduction Our Model Our Project Requirements Inventory Data Design Test Plan Search Demo What is next? 9 Code Shark Solutions Acceptance Test
10
Functional Requirements View Website Will be able to view all pages the client requires. Links to the following: Siena College Homepage Siena Computer Science website Siena School of Science website Siena Career Center website Calendars will open to the current date. Will be able to select a date to display to. Will have a consistent menu system. 10 Code Shark Solutions Acceptance Test
11
Functional Requirements Search Will be able to search by Student name, Team name, Course year, Client name. Will be able to select Student Name, Team Name, Course Year, or Client name from the displayed results. Will be able to view page for a student, software team, team year, or client. Will resize photos of teams and individuals to stay proportional given a static width. Will be able to print the result pages for Students and Teams Will be able to click link to view all teams or all course years. 11 Code Shark Solutions Acceptance Test
12
Non-Functional Requirements System must be: Aesthetically pleasing Easily navigable Easily maintainable for instructor Easily modifiable 12 Code Shark Solutions Acceptance Test
13
Agenda Introduction Our Model Our Project Requirements Inventory Data Design Test Plan Search Demo What is next? 13 Code Shark Solutions Acceptance Test
14
MS Access 2007 Relationships Diagram Provides a visual representation of the database. Shows tables, fields, and relationships between tables. 14 Code Shark Solutions Acceptance Test
15
MS Access 2007 Relationships Diagram 15 Code Shark Solutions Acceptance Test
16
Entity-Relationship (ER) Diagram 16 Code Shark Solutions Acceptance Test Provides a graphical representation of entities of a database and their relationships to each other. Consists of entities, attributes, and relationships. Entities Displayed as rectangles. Represent a table in the database. Attributes Displayed as ovals. Represent data associated with entity or relationship.
17
Entity-Relationship (ER) Diagram 17 Code Shark Solutions Acceptance Test Relationships Displayed as diamonds Represent relationship between two entities One-to-One One-to-Many Many-to-Many
18
Entity Relationship Diagram 18 Code Shark Solutions Acceptance Test
19
Agenda Introduction Our Model Our Project Requirements Inventory Data Design Test Plan Search Demo What is next? 19 Code Shark Solutions Acceptance Test
20
Test Plan Documents the strategy used to test Ensures that the Functional and Non-Functional Requirements are met Includes all of the following: unit testing, integration testing, system testing, and acceptance testing 20 Code Shark Solutions Acceptance Test
21
Our Strategy Break the project in to units Ensure the units work properly alone Make sure the units interact correctly Test that the whole system functions as expected Guarantee that all Functional and Non-functional requirements are met 21 Code Shark Solutions Acceptance Test
22
Unit Test Excerpt 22 Code Shark Solutions Acceptance Test Search Tests Unit 2.1 Test the Search by Student functionality. Test Cases Pass/Fail Status Test Number Description Action to perform test (input) Steps to be ExecutedState Before TestExpected resultObserved resultComments Tested By Test Date P Navigate to Search main page. P2.001Enter search criteria. Enter a Student's name exactly as it is spelled. Enter desired input and press the Search button. Search main page. Exact Matches should appear first followed by matches where the string is contained in the result followed by inexact matches. Expected result Searched Ryan. Matches came back as expected RG4/25/11 P2.002Enter search criteria. Enter part of a Student's name. Enter desired input and press the Search button. Search main page. Exact Matches should appear first followed by matches where the string is contained in the result followed by inexact matches. Expected result Searched yan. Matches came back as expected RG4/25/11 P2.003Enter search criteria. Enter a Student's name slightly misspelled. Enter desired input and press the Search button. Search main page. Exact Matches should appear first followed by matches where the string is contained in the result followed by inexact matches. Expected result Searched Kurt Griener. Found Kurt Greiner RG4/25/11 P2.004Enter search criteria. Enter a Student's name with punctuation. Enter desired input and press the Search button. Search main page. Exact Matches should appear first followed by matches where the string is contained in the result followed by inexact matches. Expected result Searched Ryan Godfrey!!!!!!!!!!!!!!!!@*#* (&^$*(#. Found Ryan Godfrey RG4/25/11 P2.005Enter search criteria. Enter a Student's name last name first, followed by the first name. Enter desired input and press the Search button. Search main page. Exact Matches should appear first followed by matches where the string is contained in the result followed by inexact matches. Expected result Searched Godfrey Ryan. Found Ryan Godfrey RG4/25/11 P2.006Enter search criteria. Enter a Student's name with no spaces. Enter desired input and press the Search button. Search main page. Exact Matches should appear first followed by matches where the string is contained in the result followed by inexact matches. Expected result Searched RyanGodfrey. Found Ryan Godfrey RG4/25/11 P P= Unit Summary 100%passing6passed Date of last test =4/25/11 6tests 0failed
23
Integration Testing Brings together units that have been tested individually Ensures that all units work together properly Code Shark Solutions Acceptance Test23
24
Acceptance Testing Makes sure that all functional and non-functional requirements are met Makes sure product passes unit testing, integration testing, and full system testing Will be documented in the next stage of our model Code Shark Solutions Acceptance Test24
25
Functional Requirements Checklist View Website Will be able to view all pages the client requires. Links to the following: Siena College Homepage Siena Computer Science website Siena School of Science website Siena Career Center website Calendars will open to the current date. Will be able to select a date to display to. Will have a consistent menu system. 25 Code Shark Solutions Acceptance Test
26
Functional Requirements Checklist Search Will be able to search by Student name, Team name, Course year, Client name. Will be able to select Student Name, Team Name, Course Year, or Client name from the displayed results. Will be able to view page for a student, software team, team year, or client. Will resize photos of teams and individuals to stay proportional given a static width. Will be able to print the result pages for Students and Teams Will be able to click link to view all teams or all course years. 26 Code Shark Solutions Acceptance Test
27
Agenda Introduction Our Model Our Project Requirements Inventory Data Design Test Plan Search Demo What is next? 27 Code Shark Solutions Acceptance Test
28
Search Implementation Levenshtein distance Measures how similar two strings are to one another. 28 Code Shark Solutions Acceptance Test
29
How it Works Finds the edit distance between two words. +1 for every insertion, deletion, and substitution. +0 if the letters match Edit Distance = 3 29 Code Shark Solutions Acceptance Test k i t t e n 0 1 2 3 4 5 6 s 1 1 2 3 4 5 6 i 2 2 1 2 3 4 5 t 3 3 2 1 2 3 4 t 4 4 3 2 1 2 3 i 5 5 4 3 2 2 3 n 6 6 5 4 3 3 2 g 7 7 6 5 4 4 3
30
Search Method in PHP Our Strategy: Clean input and DB entry. Display exact matches. Display “contains” cases. Display inexact matches. Methods Used: int levenshtein ( string $str1, string $str2 ) string strstr ( string $haystack, mixed $needle ) string strtolower ( string $str ) string trim ( string $str ) mixed preg_replace ( mixed $pattern, mixed $replacement, mixed $subject ) 30 Code Shark Solutions Acceptance Test
31
Agenda Introduction Our Model Our Project Requirements Inventory Data Design Test Plan Search Demo What is next? 31 Code Shark Solutions Acceptance Test
32
Demo http://oraserv.cs.siena.edu/~perm_css/at/index.php 32 Code Shark Solutions Acceptance Test
33
How Will the Website be Maintained? New Client INSERT INTO Client VALUES(38, "MaryAnne", "Egan", "Professor of Computer Science", "Siena College"); New Team INSERT INTO Team Values("The A Team", NULL, 38, NULL, 2010, 2011, "Test Project", "T.P.", NULL, NULL, NULL, NULL); New Students INSERT INTO Student VALUES(990, "Snow", "White", NULL, NULL, NULL, NULL, "The A Team", "The A Team"); INSERT INTO Student VALUES(991, "Beauty", "Beast", NULL, NULL, NULL, NULL, "The A Team", "The A Team"); INSERT INTO Student VALUES(992, "Cinder", "Ella", NULL, NULL, NULL, NULL, "The A Team", "The A Team"); INSERT INTO Student VALUES(993, "Alad", "Din", NULL, NULL, NULL, NULL, "The A Team", "The A Team"); New Speaker INSERT INTO Speaker VALUES("Santa", "Claus", 20110515, "The Truth about Christmas", "PH.D", "The Spirit of Christmas", NULL, "Mrs. Claus", NULL, "The North Pole", NULL, "The North Pole", NULL, "http://www.claus.com/village.php.htm", NULL, "How to be a good boy or girl", "Spring", 2011); 33 Code Shark Solutions Acceptance Test
34
Agenda Introduction Our Model Our Project Requirements Inventory Data Design Test Plan Search Demo What is next? 34 Code Shark Solutions Acceptance Test
35
What’s Next? 35 Code Shark Solutions Acceptance Test
36
Thank You! Questions? Comments? 36 Code Shark Solutions Acceptance Test
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.