• No results found

VERIFICATION AND VALIDATION AUTOMATED TESTING TOOLS CLAUDIU ADAM

N/A
N/A
Protected

Academic year: 2021

Share "VERIFICATION AND VALIDATION AUTOMATED TESTING TOOLS CLAUDIU ADAM"

Copied!
29
0
0

Loading.... (view fulltext now)

Full text

(1)

VERIFICATION AND

VALIDATION – AUTOMATED

TESTING TOOLS

(2)

ABOUT ISDC

ISDC... in a nutshell:

- founded in 1990 in the Netherlands (Hilversum), 1999 in Romania

(Cluj)

- with a current pool more than 200 talented and performance-driven

people

- dedicated delivery models for end customers, IT services companies,

and IT product companies

- knowledgeable and experienced in technology stacks like

Microsoft

.NET

,

Java

,

Oracle

;

- core provided solutions:

BI

,

Application Integration

,

Application

Modernization

(3)

ABOUT ME

17/4/13

IN GOOD COMPANY 3

1. Bachelor degree - “Stefan cel Mare” University

from Suceava - Computer Science department

2. Master degree at Technical University - Cluj

Napoca – Software Engineering department

3. Working since 2011 in ISDC, 3.5 years in IT as a

Test Automation Engineer

(4)

CONTENT

1. Overview of a System Under Test

2. Why to automate things?

3. Testing levels

4. Testing types

5. Test execution (manual vs. automated path)

6. Functional testing

7. Non functional testing

8. Q & A

(5)

OVERVIEW OF A SYSTEM UNDER

TEST

17/4/13 IN GOOD COMPANY 5 SUT Component 1 Component 2 Component 3

OS Hardware File System

SUT = System Under Test OS = Operating System

(6)

TESTING LEVELS IN VER/VAL

ACCEPTANCE TESTING

ACCEPTANCE TESTING

SYSTEM TESTING

SYSTEM TESTING

INTEGRATION TESTING

INTEGRATION TESTING

COMPONENT TESTING

COMPONENT TESTING

VERIFICATION

VALIDATION

(7)

TESTING TYPES - TESTING LEVELS

17/4/13 IN GOOD COMPANY 7

ACCEPTANCE TESTING

ACCEPTANCE TESTING

SYSTEM TESTING

SYSTEM TESTING

INTEGRATION TESTING

INTEGRATION TESTING

COMPONENT TESTING

COMPONENT TESTING

Functional Testing

Functional Testing

Non Functional Testing

Non Functional Testing

Structural Testing

Structural Testing

(8)

FUNCTIONAL TESTING

Followed principles:

1.

We verify the compliance of the system with the functional

requirements, and we use test design techniques to assure optimal

functional coverage with our test cases

2.

Test cases are documented and managed within the test

management tools. We validate the test cases with the customer.

3.

We keep the traceability to the requirements (Requirement -> Test

Cases -> Issues)

4.

Functional test cases represent a very important input for the future

automated tests

(9)

NON FUNCTIONAL TESTING

IN GOOD COMPANY 17/4/13 9

• Endurance testing

• Load testing

Performance testing

• Recovery testing

• Security testing

• Scalability testing

• Stress testing

• Usability testing

(10)

TEST TYPES ON ENVIRONMENTS

Environment Test Types

DEVELOPMENT Functional testing, Non functional testing

TEST Functional testing, Non functional testing

PREPRODUCTION Acceptance testing, Non functional testing

(11)

-MANUAL PATH

17/4/13

IN GOOD COMPANY 11

Requirements Design Test Cases Implement Test Cases Execute Test Cases Report Results

(12)

AUTOMATED PATH

Requirements Design / Customize Test Framework and Cases Implement Test Cases Execute Test Cases in CI Report Results CI = Continuous Integration

(13)

TOOLS FOR FUNCTIONAL TESTING

17/4/13

IN GOOD COMPANY 13

Technology Back-end Front-end

Java Junit, TestNG, SoapUI

Selenium IDE, RC, WebDriver Java, Watij, Sahi, Test Complete

.NET MSTEST, NUnit, WCFStorm Selenium IDE, RC, WebDriver C#, Watin, Telerik, Test Complete

(14)

-AUTOMATED FRONT-END FLOW

Test Cases (Methods) Firefox Chrome Safari IE Application Generate report Opera

(15)

DEMO

WORK WITH ECLIPSE, MAVEN AND

SELENIUM WEBDRIVER JAVA

1. What you need for creating and running a test

2. @Before, @Test, @After

(16)

DEMO

WORK WITH VISUAL STUDIO PREMIUM

2012, TFS AND SELENIUM WEBDRIVER

C#

1. What you need for creating and running a test

2. How the [TestClass] and [TestMethod] look like

3. Execute test method and see the results

(17)

TOOLS FOR PERFORMANCE

TESTING

17/4/13

IN GOOD COMPANY 17

Technology Tools

Java Load UI, SoapUI, JMeter

.NET Visual Studio

(18)

PERFORMANCE LEVEL

AUTOMATION

Web Server Application Server 1 Application Server 2 Database Server 1 Database Server 2 Load Agent 1 Load Agent 2 Load Agent 3 request request request request response response response response

(19)

DEMO

WORK WITH JMETER FOR MEASURING

THE PERFORMANCE

1. What you need

2. How to create a Thread and Requests to server

3. Run tests and see/collect the results

(20)
(21)

DEMO

WORK WITH JENKINS FOR

CONTINUOUS INTEGRATION

1. What you need

2. How to create a jobs

(22)

TOOLS LIST – FUNCTIONAL

TESTING

1. Junit (Java) - http://junit.org/

2. TestNG (Java) - http://testng.org

3. SoapUI (SOAP Exposed Services) - http://www.soapui.org/

4. Selenium WebDriver (many languages) - http://docs.seleniumhq.org/

5. MSTEST (.NET) - http://msdn.microsoft.com/en-us/library/ms182486.aspx

6. NUnit (.NET) - http://www.nunit.org/

7. WCFStorm (WCF Exposed Services) - http://www.wcfstorm.com

8. Telerik (.NET) - http://www.telerik.com/ or free library Web AII

(23)

TOOLS LIST – NON FUNCTIONAL

TESTING

1. SoapUI (SOAP Exposed Services) - http://www.soapui.org/

2. LoadUI - http://www.loadui.org/

3. Jmeter - http://jmeter.apache.org/

4. Microsoft Visual Studio Ultimate - http://msdn.microsoft.com/en-us/library/vstudio/dd293540.aspx

17/4/13

(24)

TOOLS LIST – TEST / ISSUE

MANAGEMENT

1. TestLink - http://www.teamst.org/

2. Jira - http://www.atlassian.com/software/jira/

3. Microsoft Test Manager - http://msdn.microsoft.com/en-us/library/vstudio/dd380763.aspx

(25)

TOOLS LIST – CONTINUOUS

INTEGRATION

1. Jenkins - http://jenkins-ci.org/

2. TFS - http://tfs.visualstudio.com/

3. Team City - http://www.jetbrains.com/teamcity/

17/4/13

(26)
(27)

CONCLUSIONS

17/4/13

(28)

CONTACT

http://www.linkedin.com/in/adamclaudiu

[email protected]

(29)

THANK YOU

17/4/13

References

Related documents

Interventions: After baseline evaluation, patients were randomized in a double-blind fashion, to receive either trimetazidine 20 mg (n=27) or placebo (n=24) three

For example, if transient coyotes do not move far distances in urbanized locales (because of high road density) then localized control efforts may be more successful in

This Article develops a construct of judges as gatekeepers in corporate and securities litigation, focusing on the last period—or settlement stage— of the cases. Many accounts of

Now my question: When the meaning of A Course in Miracles is to not change the world but to get connected with the own divine core and thus experience PEACE within oneself, does

(1) If personal checks, cashier's checks, traveler’s checks, payroll checks or counter checks are cashed at the cage, the gaming operation shall establish and comply with

The plenary indulgence is granted to the faithful under the usual conditions (sacramental Confession, Eucharistic Communion, and prayer for the Pope’s intentions) to Christians

To recap from Chapter 4, the community sport policy making process has five stages: (1) national agencies (the DCMS and Sport England) debate and agree the policy

After normalizing values from HFD-fed mice and diet corrected (HFD:LFD) mice to those of age-matched lean controls, there was a signi fi cant improvement in the bone mineral density