• Save
Test cases
Upcoming SlideShare
Loading in...5
×
 

Test cases

on

  • 553 views

 

Statistics

Views

Total Views
553
Views on SlideShare
553
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Parts of test cases that must be for all project are in green.

Test cases Test cases Presentation Transcript

  • Test Case
  • Test AnalysisTest Design TechniquesSelectionTest DesignSpecificationTest Case SpecificationTest PlanSRSMock-upsTest DesignSpecification…Test CaseSpecificationTrainings’ Content
  • What is Test Case? Test case is:– a set of input values, execution preconditions, expected results andexecution, post conditions, developed for a particular objective ortest condition, such as to exercise a particular program path or toverify compliance with a specific requirement– documentation specifying inputs, predicted results, and a set ofexecution conditions for a test itemaccording to Standard Glossary of Software Engineering (IEEE 610)
  • Test Case Structure Depending on the particular project Test Case might consists of:AttachmentTest CaseNameDescription/ ObjectivePriorityTest StepsExpectedResultTest Inputs/ Test DataActualResultTest CaseIDTest CaseTypeAutomationStatusPre-conditionExecutionResult /StatusTest CaseStructure
  • RequirementsTest DesignTest CaseTest Case Example
  • Test Case Example
  •  Test Case Specification – a document specifying a set of test cases(objective, inputs, test actions, expected results, and execution preconditions) for atest item (After IEEE-829) According to IEEE 829 Test Case Specification consists of:1. Test case specification identifier2. Test items3. Input and Output specifications4. Environmental needs5. Special procedural requirements6. Inter-case dependenciesTest Case Specification
  • Test Design & Test Case SpecificationsTest Design Specifications Test Case SpecificationsObjective To identify set of featuresor combination offeatures to be tested.To specify in details eachtest listed in Test DesignSpecification.Content The list of all tests, testscenarios and checkliststhat will be created fortesting of some featureduring particular testingstage.Only test cases.Test Data Does not record thevalues to be entered for atest, but describes therequirements for definingthose values.Specifies test data for usein running the testconditions identified inTest Design Specification.
  • Goals of writing Test Cases: Testing efficiency: the idea is to write test cases based on designwhile code is incomplete, so that we could test product quicklyonce the code is ready Early bug detection: errors in code can be prevented before thecoding is done, also new test ideas will be generated Test credibility: test cases are supposed part of the deliverable tothe customer Ability to cover all parts of the requirements Legal documents of testing work, in case information is neededfor law suits Ability to track history while iterations Usefulness while bringing in new testersGoals
  •  Write short test cases (up to 10-15 steps) Use simple English and general words Write test cases to quick and easy to determinethe expected result Provide test data if possible Write in details SQL queries (it will save time whileexecuting) Add reference to bugs and requirements Add some notes in case you want to conveyadditional information Highlight important things, marking them in boldor assigning them color or writing in different fontBest Practices
  • Thank You!