Top Banner
COMPONENT TESTING USING FINITE AUTOMATA SANJOY KUMAR DAS Reg. No:-14370036
16
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Component Based Testing Using Finite Automata

COMPONENT TESTINGUSING

FINITE AUTOMATA

SANJOY KUMAR DAS

Reg. No:-14370036

Page 2: Component Based Testing Using Finite Automata

What is Component-Based Software Engineering• Component Based software Engineering is an

approach to software development that based on software reuse.

• CBSE are mainly constructed with component.

• It emerged from the failure of Object Oriented Development.

• Component are more abstract than Object Class thats why we use CBSE instead of OOD(Object Oriented Development).

• In CBSE software is built by gathering deferent components of existing software from different vendors.

Page 3: Component Based Testing Using Finite Automata

Why Component Based Software Engineering

• It is used for making the software application quickly and rapidly.

• It reduces cost and time of Software product.

Page 4: Component Based Testing Using Finite Automata

Characteristic of Component

Standardized Independent Deployable Documented

Page 5: Component Based Testing Using Finite Automata

Goal Of The Application

For a tester many difficulties arise in testing phase because the tester has a limited access to source code of the product. That’s why the additional information with the component can be used to Facilitate the testing.

This paper has to focus on testing of an application using finite automata which covers two types of testing NFA based and DFA based testing.

This paper uses unified modeling language (UML) to explain the working principle of this application.

Page 6: Component Based Testing Using Finite Automata

What is UML Language for Specifying, visualizing, constructing,

and documenting of Software System. UML gives us the understanding of Static and

Dynamic Nature of a System.

The Working of the application is explain with help of three UML diagrams.

USE CASE DIAGRAMACTIVITY DIAGRAM

COLLABORATION DIAGRAM

IMPLEMENTATION OF COMPONENT BASED TESTING

Page 7: Component Based Testing Using Finite Automata

USE CASE DIAGRAMUSE CASE diagram captures the dynamic behavior of the system.

Page 8: Component Based Testing Using Finite Automata

ACTIVITY DIAGRAMIt just like a Flow chart that represents the flow from one activity to another

Page 9: Component Based Testing Using Finite Automata

COLLABORATION DIAGRAM

The method call sequence is indicated by a special numbering technique.

Page 10: Component Based Testing Using Finite Automata

FINITE AUTOMATA based testing

Finite Automata are used to test the application.

Finite Automata are considered a very useful model for pattern matching lexical analysis and for verifying all kind of system that have a finite number of distinct states for secure exchange of information

In this problem we are using NFA based testingand DFA based testing

What is NFA and DFA?

Page 11: Component Based Testing Using Finite Automata

NFA based Testing The NFA diagram of this application is used to test

whether each and every path in the application is working correctly.

NFA based testing proves that the application is capable of finding the error.

Page 12: Component Based Testing Using Finite Automata
Page 13: Component Based Testing Using Finite Automata

DFA BASED testing

NFA to DFA conversion table

Page 14: Component Based Testing Using Finite Automata
Page 15: Component Based Testing Using Finite Automata

CONCLUSION On the Basic of NFA and DFA diagrams, the work flow of

the application is tested and the impact of the error is recorded as well.

This paper presents a new approach for testing the component based software system.

Finite Automata based testing is an easy way to test an application.

REFERENCE

WikipediaSoftware Engineering- SummervilleThe Unified Modeling Language User Guide-- Booch

Page 16: Component Based Testing Using Finite Automata

THANK YOU