defining testing requirements for development teams fut

18
Test Snippets for FUT Script Development 06/23/22 Andy Scarr

Upload: ascarr1

Post on 25-Jun-2015

555 views

Category:

Documents


0 download

DESCRIPTION

Overview of FUT process and introduction to scripting for development Teams

TRANSCRIPT

Page 1: Defining Testing Requirements For Development Teams Fut

Test Snippets for FUT Script

Development

04/13/23Andy Scarr

Page 2: Defining Testing Requirements For Development Teams Fut

Agenda

Introductions Why are we here? Scripting for

functional specifications

Review and analysis of a real functional specification

Q&A

04/13/23Andy Scarr

Page 3: Defining Testing Requirements For Development Teams Fut

Why are we here?

To Improve the quality and coverage of the functional test scripts detailed in the Functional Specification documents

To understand what value this can add to the delivery.

04/13/23Andy Scarr

Page 4: Defining Testing Requirements For Development Teams Fut

04/13/23Andy Scarr

Page 5: Defining Testing Requirements For Development Teams Fut

Why are we doing this?

Provide clear success criteria to the developer

Provides a scenario in which to put the change into context

Focus’s the Developer on testing the changes critical to the business

Improves the quality of the delivery into the subsequent phase of testing

Earlier rather than late identification of defects is more cost effective.

04/13/23Andy Scarr

Page 6: Defining Testing Requirements For Development Teams Fut

What do they need?

A testable requirement! Be specific Provide examples to fill out the required

solution Define the acceptable Ranges / Values /

Actions Define the Unacceptable Ranges / Values /

Actions

04/13/23Andy Scarr

Page 7: Defining Testing Requirements For Development Teams Fut

Be Realistic!!!

It is impossible to test 100% of the changes

Focus on the high risk areas Focus on the business priorities Focus on getting an appropriate level of

coverage

04/13/23Andy Scarr

Page 8: Defining Testing Requirements For Development Teams Fut

Techniques for Testing Ranges and Values

Boundary Value Analysis Looking at the edges of the range

Eg. Range 1-100Values to be tested: 0, 1,100, 101 Equivalence Partitioning

Looking at valid values within the Range

Eg. Range 1-100Values to be tested: 2, 99

04/13/23Andy Scarr

Page 9: Defining Testing Requirements For Development Teams Fut

Acceptable Numeric Ranges

A requirement states that a specific field on a Form be populated by a user manually with a Numeric Range 1-5.

The developer may deliver this as a freeform text solution or via a dropdown selection, this will impact the required scope of the testing

Tests should be written to cover that:- 1, 2, 3, 4 and 5 be allowed- 0 and 6 not allowed- -1, -2, -3, -4, -5 not allowed- 1.5, 2.75 not allowed- Alpha characters not allowed- Symbol characters not allowed- Blanks not allowed

04/13/23Andy Scarr

Page 10: Defining Testing Requirements For Development Teams Fut

Acceptable Numeric Values

A requirement states that a specific field on a Form be populated by a user manually with a specific Numeric codes (5 digits).

The Developer needs to be aware of what constitutes a valid code

Tests should be written to cover that:- Valid 5 Digit codes should be allowed- Valid 4 (Correct but incomplete) and 6 Digit (Correct but elongated) codes not allowed- Incorrect Codes not Allowed- Alpha characters not allowed- Symbol characters not allowed- Blanks not allowed

04/13/23Andy Scarr

Page 11: Defining Testing Requirements For Development Teams Fut

Finally…..

Effort expended here will have a direct positive influence on the ultimate quality of the delivery to the business.

04/13/23Andy Scarr

Page 12: Defining Testing Requirements For Development Teams Fut

Review and Analysis of a Real Functional Specification

• Early Retirement Request Form

• Can be completed by either the employee or the manager online

• Each will see different fields and pre-populated data on entering the form

• Dates Displayed / Pre-populated

• Free Text fields

• Checkboxes

Screenshot removed for Security Reasons

04/13/23Andy Scarr

Page 13: Defining Testing Requirements For Development Teams Fut

Scripts Defined in the Functional SpecificationScreenshot removed for Security Reasons

04/13/23Andy Scarr

Page 14: Defining Testing Requirements For Development Teams Fut

Things to remember

Pre-populated data Is it being populated correctly? Can it be / Should it be amended once populated

Free Text fields Alpha Only Numeric Only Alpha Numeric Symbols

Checkboxes Check, uncheck, recheck

04/13/23Andy Scarr

Page 15: Defining Testing Requirements For Development Teams Fut

Things to remember

Update Sequences Top to bottom Bottom to top Random updates

Date Formats YYYYMMDD DDMMYYYY \ , . /

Dropdowns Select, Unselect Reselect

04/13/23Andy Scarr

Page 16: Defining Testing Requirements For Development Teams Fut

Things to remember

Role Variances Different security Levels having different access Different views of the same form Different rights

Conflicts in the Design Beware a copied forward template!

Non Functional Performance – SLA to bring the form up and to

Save it.

04/13/23Andy Scarr

Page 17: Defining Testing Requirements For Development Teams Fut

Things to remember

Legal Requirements Is it compliant to the Disability Discrimination

Act 1995

Computer weeklyhttp://www.computerweekly.com/Home/tags/disability-discrimination.htm

RNIB Websitehttp://www.rnib.org.uk/xpedio/groups/public/documents/code/InternetHome.hcsp

04/13/23Andy Scarr

Page 18: Defining Testing Requirements For Development Teams Fut

Q&A

[email protected]

Mobile :07717224588

04/13/23Andy Scarr