Professional Documents
Culture Documents
GDP Rich UI-Testing Practice
GDP Rich UI-Testing Practice
IT projects
Goals
§ Time to market
§ Efficiency - no redundancy on test case
execution
Challenge: How do we measure?
§ What is measurement?
§ Is it number of test cases?
§ Is it how many days we spent for ad-hoc testing?
§ Is it number of days we spent to create/review test
scenarios?
§
§ Each test case covers some limited number
of source code lines
§ We could measure how much source code lines
(SCL) were used by particular test case
§ Using numbers of SCL by each test case we could
measure how much untested code we have,
§ We could identify unused code by not-covered by
test cases
Example
somewhere 10 lines of
not tested code?
How to identify test cases
needed to check all changes in
the code
§
§
§ Tools: Selenium/WebDriver + TestNG
§ Luxoft’s developed Test Case Coverage
Tool
Test case pre-requisites
To start with a test case we have to create data to test
Regular way
Proposed way:
§ As plug-in to Maven
§ Performance
§ Individual atomic test case takes about 90 sec.
§ About 480 test cases per night
How does it work?
Coverage tool
Manual TC
execution Browser App DB
Auto-test-cases Coverage
tool
Step Action
§
§
§ We can measure the code covered by test cases
being ran either manually or by automated tool
§
§ We can determine the code not covered by test
cases
§
§ We can reduce the testing time by executing the
only test cases against affected source code
3rd party projects testing
§
§
§ Atomic test cases
§ Test case code coverage
§ Minimizing of number of test cases required to
test all changes
§ Automated or Manual
§ Measurable!
Q&A