acceptance test presented by: code shark solutions 04/26/11
TRANSCRIPT
Acceptance Test
Presented By:Code Shark Solutions
04/26/11
WelcomeOur ClientDr. Timoth C. LedermanProfessor of Computer ScienceSiena College
2
Code Shark Solutions Acceptance Test
AgendaIntroductionOur ModelOur ProjectRequirements InventoryData DesignTest PlanSearchDemoWhat is next?
3
Code Shark Solutions Acceptance Test
IntroductionOur Team
Daniel RotondoCo-Team Leader
Ryan GodfreyCo-Team Leader
Kurt GreinerLead Programmer
Rebecca WilsonInformation Specialist
Akeem ShirleyDatabase
Administrator
Brittany LintelmanDocumentarian
4
Code Shark Solutions Acceptance Test
AgendaIntroductionOur ModelOur ProjectRequirements InventoryData DesignTest PlanSearchDemoWhat is next?
5
Code Shark Solutions Acceptance Test
Our Model
Code Shark Solutions Acceptance Test 6
AgendaIntroductionOur ModelOur ProjectRequirements InventoryData DesignTest PlanSearchDemoWhat is next?
7
Code Shark Solutions Acceptance Test
ROSES Problem DefinitionSite lacks functionality
Inconsistent menuNo Search feature
Is not aesthetically pleasing
8
Code Shark Solutions Acceptance Test
Our ProjectR.O.S.E.S.
Redesign of the Software Engineering Site
AgendaIntroductionOur ModelOur ProjectRequirements InventoryData DesignTest PlanSearchDemoWhat is next?
9
Code Shark Solutions Acceptance Test
Functional RequirementsView WebsiteWill 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
Functional RequirementsSearchWill 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 TeamsWill be able to click link to view all teams or all course years.
11
Code Shark Solutions Acceptance Test
Non-Functional RequirementsSystem must be:
Aesthetically pleasing
Easily navigableEasily maintainable
for instructorEasily modifiable
12
Code Shark Solutions Acceptance Test
AgendaIntroductionOur ModelOur ProjectRequirements InventoryData DesignTest PlanSearchDemoWhat is next?
13
Code Shark Solutions Acceptance Test
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
MS Access 2007 Relationships Diagram
15
Code Shark Solutions Acceptance Test
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.
EntitiesDisplayed as rectangles.Represent a table in the database.AttributesDisplayed as ovals.Represent data associated with entity or
relationship.
Entity-Relationship (ER) Diagram
17
Code Shark Solutions Acceptance Test
RelationshipsDisplayed as diamondsRepresent relationship between two entitiesOne-to-OneOne-to-ManyMany-to-Many
Entity Relationship Diagram
18
Code Shark Solutions Acceptance Test
AgendaIntroductionOur ModelOur ProjectRequirements InventoryData DesignTest PlanSearchDemoWhat is next?
19
Code Shark Solutions Acceptance Test
Test PlanDocuments 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
Our StrategyBreak 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
Unit Test Excerpt
22
Code Shark Solutions Acceptance Test
Search TestsUnit 2.1Test the Search by Student functionality.
Test Cases
Pass/Fail Status
Test Number
DescriptionAction to perform
test (input)Steps to be Executed
State Before Test Expected result Observed result CommentsTested
ByTest Date
P Navigate to Search main page.
P 2.001 Enter 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 resultSearched Ryan. Matches came back as expected
RG 4/25/11
P 2.002 Enter 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 resultSearched yan. Matches came back as expected
RG 4/25/11
P 2.003 Enter 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 resultSearched Kurt Griener. Found Kurt Greiner
RG 4/25/11
P 2.004 Enter 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
RG 4/25/11
P 2.005 Enter 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 resultSearched Godfrey Ryan. Found Ryan Godfrey
RG 4/25/11
P 2.006 Enter 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 resultSearched RyanGodfrey. Found Ryan Godfrey
RG 4/25/11
P
P = Unit Summary 100%passing 6passed Date of last test = 4/25/11 6 tests 0failed
Integration TestingBrings together units that have been tested
individually
Ensures that all units work together properly
Code Shark Solutions Acceptance Test 23
Acceptance TestingMakes 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 Test 24
Functional RequirementsChecklist
View WebsiteWill 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
Functional RequirementsChecklistSearch
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 TeamsWill be able to click link to view all teams or all course years.
26
Code Shark Solutions Acceptance Test
AgendaIntroductionOur ModelOur ProjectRequirements InventoryData DesignTest PlanSearchDemoWhat is next?
27
Code Shark Solutions Acceptance Test
Search Implementation
Levenshtein distanceMeasures how similar two strings are to one
another.
28
Code Shark Solutions Acceptance Test
How it Works
Finds the edit distance between two words.
+1 for every insertion, deletion, and substitution.
+0 if the letters match
Edit Distance = 329
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
Search Method in PHPOur 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
AgendaIntroductionOur ModelOur ProjectRequirements InventoryData DesignTest PlanSearchDemoWhat is next?
31
Code Shark Solutions Acceptance Test
Demohttp://oraserv.cs.siena.edu/~perm_css/at/
index.php
32
Code Shark Solutions Acceptance Test
How Will the Website be Maintained?
New ClientINSERT INTO Client VALUES(38, "MaryAnne", "Egan", "Professor of Computer Science", "Siena College");
New TeamINSERT INTO Team Values("The A Team", NULL, 38, NULL, 2010, 2011, "Test Project", "T.P.", NULL, NULL, NULL, NULL);
New StudentsINSERT 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 SpeakerINSERT 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
AgendaIntroductionOur ModelOur ProjectRequirements InventoryData DesignTest PlanSearchDemoWhat is next?
34
Code Shark Solutions Acceptance Test
What’s Next?
35
Code Shark Solutions Acceptance Test
Thank You!Questions?
Comments?
36
Code Shark Solutions Acceptance Test