quality assurance - the other side of the fence
DESCRIPTION
Presentation about Software Quality Assurance (from ThoughtWorks Kampala GeekNight, 24th June 2014)TRANSCRIPT
Quality Assurance The other Side of the Fence!Clayton Nyakana!Tom Clement Oketch!Robert Jakech
June 2014
2
This is a talk about Software Testing!
3
Testing should be integrated with one of the quality assurance activities !This verification is done to ensure that we are building the system right
Why?
2
Traditional Versus Agile
4
Unit Testing
Integration Testing
Functional Testing
System Testing
Load Testing
Performance Testing
Acceptance Testing
Types/Categorisations
5
Testing Pyramid
2
TDD
June 2014
12
!Debugger -Needs human intervention, slow, boring !Print Statements -Needs human intervention, slow, polluted code, "Scroll Blindness” !Unit Testing Tools -Automatic,quick,no code pollution
How To Test it…
7
“Unit Test is a procedure used to validate that individual units of functional code are working properly.
!Is usually done by developers
Improves quality
Facilitates changes (refactoring)
Enables automation
Simplifies integration !!
Unit Testing
8
“TDD is an evolutionary approach to development which instructs you to have test-first development intent. “ !
Small successful, tested steps. Do the simplest thing that could possibly work.
!!!!!
What is TDD
9
The TDD Cycle
2
BDD
June 2014
16
!Collaborative Approach to defining software requirements which facilitates Test Automation
Focus on value as opposed to processes !Predictable quality !Protection from defects
Living documentation
What is BDD?
19
Context
GIVEN
Trigger
WHEN
Expectation
THEN
How Do We Use BDD?
19
How Do We Use BDD?
24
Capturing the expected behavior?
Readable and clear enough for a human?
Testable?
Driving the developers down a particular implementation route?
Using “strong verbs” to describe each step?
Allowing automation on “WHEN” statement?
Telling a story?
Are my scenarios:
Assessing Scenarios
2
2
Putting it all together…
30
The Rspec book – David Chelimsky !Bridging the Communication Gap – Gojko Adzic !Specification by Example - Gojko Adzic !The Cucumber Book – Matt Whynne/Aslak Hellsay
Further Reading