SlideShare a Scribd company logo
International Journal of Trend in Scientific Research and Development (IJTSRD)
Volume: 3 | Issue: 2 | Jan-Feb 2019 Available Online: www.ijtsrd.com e-ISSN: 2456 - 6470
@ IJTSRD | Unique Reference Paper ID – IJTSRD21458 | Volume – 3 | Issue – 2 | Jan-Feb 2019 Page: 638
Unit Testing to Support Reusable for
Component-Based Software Engineering
Khin Moe Sam
University of Computer Studies, Thaton, Mon State; Myanmar
ABSTRACT
Unit testing is a practical approach to improve the quality and reliability of software. Unit testing is usually performed by
programmers and is the base for all other tests such as integration testing and system testing. Unit Testing can be done
manually (and/or) automatically. The automated unit tests are written by the developers after thecompletion of functionality
coding. The number of defects reduced when automated unit tests are written iteratively similar to test driven development.
This framework proved that significant portions of windows application can be automatically tested without manual
intervention. This reduces the manpower involved in testing each and every unit of the applicationandincreasesthe qualityof
the software product.
Keywords: Unit Testing, Automatic Unit Testing, And Test Driven Development.
1. INTRODUCTION
Unit Testing is a kind of white box testing where individual
units of software are tested. The intension of unit testing is
to check whether each and every unit (module)of asoftware
works as per the developer’s expectation. Unit Testing can
be done manually (and/or) automatically. UnitTestingfinds
the defects in each and every unit of the application at initial
level of testing. It increases the confidence levels of
developer by ensuring that their code is working correctly.
Unit Testing ensuresthat codeworkscorrectly andimproves
the quality, reliability and cost of the application software
development. We initially performed unit testing manually
where it was a time consuming task and hence we intend to
choose automation of unit testing. To automate unit testing,
it is necessary to write test scripts called unit tests. Once the
unit tests are available, it is easy to automatetheunittesting.
(1) The purpose is to validate that each unit of the software
performs as designed. A unit is the smallest testable part of
any software. It usually has one or a few inputs and usuallya
single output. A combination of the two or more tools can
serve to merge the best of both worlds. The result is notonly
the sum of both mechanisms, but the creation of a new
quality of testing tool with new functionalityemergingout of
the combination of the two.(3)
2. Objectives
The goal of unit testing is to isolate each part of the program
and show that the individual parts are correct. (4)A
combination of the two can serve to merge the best of both
worlds. The result is not only the sum of both mechanisms,
but the creation of a new quality of testing tool with new
functionality emerging out of the combination of the two.
(3)(5)Unit testing is performed on thesmallestelementsof a
system; each component is tested to ensure that it properly
works. Usually it performs a single cohesive function. The
goal of unit testing is to analyze each small part of the code
and test that is working correctly. (6) The purpose is to
validate that each unit of the software performs asdesigned.
A unit is the smallest testable part of any software. It usually
has one or a few inputs and usually a single output.
(2)Benefits of writing good unit tests or unit testing:- Unit
testing supplies plentiful benefits: finding software bugs
early, simplifying integration, providing a source of
documentation, and many others, which I am going to share
in more detail: Unit testing reduces the number of bugs in
the system and acceptance testing;Costof locating andfixing
bugs in unit testing is very less as they are captured in very
early phase; Automated tests can run as frequently as
required; Unit testing makes it easier to change and refactor
the code; Unit testing can improve code design, especially
with test-drivendevelopment;Overalldevelopmenttime can
be used for unit testing; Unit tests are a form of
documentation; Unit testing improves teamwork; Code
coverage can be measured.(7)
3. Methodology
Automated unit testing helps in improving quality,
decreasing costs and reducing time required for testing.
However, all this is possible only with use of appropriate
testing tool. Following are various parameters critical to
selection of appropriate tool: Minimum implementation
time: This is possible when users are already familiar with
technology (language, method of working, integration
constraints) used by the testing tool. Additionally, extensive
documentation and support available help in reducing
implementation time. Minimum ownership and running
costs: An open source tool which is freetoaccessmaybeless
efficient and have higher operating costs. On the other hand,
a commercial tool available may require initial investment
but due to its better features might make testing efficient
and cost effective in the long run. Flexibility: Everyprojectis
unique in a certain way and has its own peculiar needs.Thus
an efficient testing tool while offeringmostrequiredfeatures
should also provide option of code modification. Further for
swift debugging, the framework should make test code
readable. (8)
The automated unit tests for any application can be written
in two ways: Before code implementation; after code
implementation. If unit tests are written before any code
implementation then it is known as Test Driven
Development. If Unit tests are written after the code
implementation then it is known as Test after Development.
(9) The best unit testing tools are NUnit, TestNG, JUnit,
JMockit, Emma, Quilt, HtmlUnit. JUnit,TestNG,NUnitarefree
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
@ IJTSRD | Unique Reference Paper ID – IJTSRD21458 | Volume – 3 | Issue – 2 | Jan-Feb 2019 Page: 639
open source unit testing tools. Nunit is a unit testing
framework based on .net platform. It is free tool allows to
write test scripts manually but not automatically. Itworksin
the same way as JUnit works for Java.
It supports data-driven tests that can run in parallel. It uses
console runner to load and execute tests. JUnit is an open-
source unit testing framework designed for Java
Programming language. It supports for test-driven
environment and the core idea on which it is based ‘first
testing then coding’. Test data is first tested and then
inserted in the piece of code. It provides annotation for test
method identification, assertion for testing expected result
and test runners. It is simplest and helps to write code easily
and faster. TestNG is an open-source automation testing
framework for java programming language. This tool is
heavily influenced by JUint and NUnit with concurrent
testing annotation support. TestNG supports parameterized
and data-driven testing along with unit functional and
integration testing. It proved effective with powerful
execution model and flexible test configuration.
4. Proposed System
In Test Driven Development, the developer writes
automated unit tests for the newfunctionalitythey areabout
to implement. It is a software engineering process that
follows small development cycle. In industry, while coding a
software application the development cycle that they follow
is shown below in figure 1.
Fig.1. Test Driven Development Cycle
4.1 Develop Automated Unit Tests
Without writing any code to implement feature, test cases
must be written by the developer in the initial stage by
collecting the specifications and requirements in theform of
user stories (or) use cases that covers all the requirements
and conditions. This makes developer to focus on
requirements and coding in this manner makes the code
consistent.
4.2 Run Automated Unit Tests
Run the automated Unit tests to ensurethattheyfailbecause
there is no implemented code yet.
4.3 Implement the Code to Pass Test(s)
Developer needs to write the code for those cases that are
failed in the previous test. The code that developer writes
should not add any other unpredicted functionality.
4.4 Run All the Tests in Code Base
Once development is done, run all the automated testsinthe
code base. If all the tests are passingthendevelop automated
unit tests for other features of the application and repeatthe
same process otherwise implement the code necessary to
make the test pass and run the automated unit test(s).
Finally, once the development of codeforthe applicationand
unit testing are done, the developer may restructure the
code for better readability (or) improving the performance.
The advantage of above written unit tests is that whatever
changes the developer may make to the code now, it won’t
affect the existing functionality of the build, as the test cases
written earlier defines the requirementand specifications of
the application.
5. Conclusion
Unit tests isolate each part of the program and checkthatthe
individual parts are correct. Unit testing finds problems
early in the development cycle and hence facilitates changes
required in code. Testing the parts of a program first and
then testing the sum, allows faster integration testing and
progressive documentation which are critical to the success
of the unit. However, considering the variety of testing tools
available and their variable features, it becomes essential
that features of each testing tool areanalyzedindetailbefore
any selection and use. As a future work direction, we plan to
apply mutation testing and analysis to the test suites
generative by our tool to assess their fault detection
effectiveness and to compare thateffectivenesswith those of
the test suites generated by other comparable tools. Wealso
plan to compare the effort and time spent in using those
tools. Also, the execution time of our tool to automatically
generate test case code is very fast, and we plan to compare
the associated efficiency to manual coding when our tool is
used in large-scale projects. (10)
References
[1] Aswatha Kumar M. et al. (Eds.): Proceedings of ICAdC,
AISC 174, pp. 813–822. springerlink.com ©
springer India 2013)
[2] Software testing fundamentals.com/ unit-
testing/(ISTQB)
[3] Andrew Patterson; Faculty of Information Technology;
Monash University; Australia; Introducing Unit Testing
With BlueJ,ajp@infotech. monash.edu.au
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
@ IJTSRD | Unique Reference Paper ID – IJTSRD21458 | Volume – 3 | Issue – 2 | Jan-Feb 2019 Page: 640
[4] Kolawa, Adam; Huizinga, Dorota (2007). Automated
Defect Prevention: Best Practices in Software
Management. Wiley-IEEE Computer Society Press.
p. 75. ISBN 0-470-04212-5.)
[5] johnr@infotech.monash.edu.au//
[6] https://apiumhub.com/tech-blog-barcelona/top-benefits-
of-unit-testing/
[7] By Ekaterina Novoseltseva; Jan. 18, 17 · DevOps Zone;
http://crestechglobal.com/the-importance-of-unit-
testing-in-software-testing/
[8] By Arvind Rongala,Manager, BusinessDevelopmentand
Marketing, Invensis Technologies) ;March 28, 2015
[9] A.N. Seshu Kumar and S. Vasavi; Effective Unit Testing
Framework for Automation of Windows Applications;
V.R. Siddhartha Engineering College, Vijayawada
{seshu1203, vasavi.movva} @gmail.com
[10] Christian Wiederseiner1, Shahnewaz A. Jolly1, Vahid
Garousi1, and Matt M. skandar; AnOpen-SourceToolfor
Automated Generation of Black-BoxxUnitTestCode and
Its Industrial Evaluation; Software Quality Engineering
Research Group (SoftQual), University of Calgary,
Canada; MR Control Systems InternationalInc.,Calgary,
Canada, {christian. wiederseiner, sajolly,vgarousi}
@ucalgary .ca,matt. eskandar@mrcsi.com)

More Related Content

What's hot

Upstate CSCI 540 Agile Development
Upstate CSCI 540 Agile DevelopmentUpstate CSCI 540 Agile Development
Upstate CSCI 540 Agile Development
DanWooster1
 
Upstate CSCI 540 Unit testing
Upstate CSCI 540 Unit testingUpstate CSCI 540 Unit testing
Upstate CSCI 540 Unit testing
DanWooster1
 
IRJET - A Valuable and Speculative Approach to Manage the Item Testing by usi...
IRJET - A Valuable and Speculative Approach to Manage the Item Testing by usi...IRJET - A Valuable and Speculative Approach to Manage the Item Testing by usi...
IRJET - A Valuable and Speculative Approach to Manage the Item Testing by usi...
IRJET Journal
 
Testing terms & definitions
Testing terms & definitionsTesting terms & definitions
Testing terms & definitionsSachin MK
 
Testing Tools
Testing ToolsTesting Tools
Testing Tools
Ted Husted
 
Automated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsAutomated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra Solutions
Quontra Solutions
 
Short definitions of all testing types
Short definitions of all testing typesShort definitions of all testing types
Short definitions of all testing types
Garuda Trainings
 
Gui path oriented test generation algorithms paper
Gui path oriented test generation algorithms paperGui path oriented test generation algorithms paper
Gui path oriented test generation algorithms paperIzzat Alsmadi
 
White-box Testing: When Quality Really Matters
White-box Testing: When Quality Really MattersWhite-box Testing: When Quality Really Matters
White-box Testing: When Quality Really Matters
TechWell
 
Automation testing material by Durgasoft,hyderabad
Automation testing material by Durgasoft,hyderabadAutomation testing material by Durgasoft,hyderabad
Automation testing material by Durgasoft,hyderabad
Durga Prasad
 
Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing
Prof .Pragati Khade
 
Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategiesKrishna Sujeer
 
Chapter 7 software reliability
Chapter 7 software reliabilityChapter 7 software reliability
Chapter 7 software reliability
despicable me
 
What is smoke testing
What is smoke testingWhat is smoke testing
What is smoke testing
pooja deshmukh
 
Chapter 5 - Reviews
Chapter 5 - ReviewsChapter 5 - Reviews
Chapter 5 - Reviews
Neeraj Kumar Singh
 
Manuel testing word
Manuel testing wordManuel testing word
Manuel testing word
Vijay R
 
Software Engineering-Part 1
Software Engineering-Part 1Software Engineering-Part 1
Software Engineering-Part 1
Shrija Madhu
 
Engineering Software Products: 9. testing
Engineering Software Products: 9. testingEngineering Software Products: 9. testing
Engineering Software Products: 9. testing
software-engineering-book
 
Software testing q as collection by ravi
Software testing q as   collection by raviSoftware testing q as   collection by ravi
Software testing q as collection by raviRavindranath Tagore
 

What's hot (20)

Upstate CSCI 540 Agile Development
Upstate CSCI 540 Agile DevelopmentUpstate CSCI 540 Agile Development
Upstate CSCI 540 Agile Development
 
Upstate CSCI 540 Unit testing
Upstate CSCI 540 Unit testingUpstate CSCI 540 Unit testing
Upstate CSCI 540 Unit testing
 
IRJET - A Valuable and Speculative Approach to Manage the Item Testing by usi...
IRJET - A Valuable and Speculative Approach to Manage the Item Testing by usi...IRJET - A Valuable and Speculative Approach to Manage the Item Testing by usi...
IRJET - A Valuable and Speculative Approach to Manage the Item Testing by usi...
 
Testing terms & definitions
Testing terms & definitionsTesting terms & definitions
Testing terms & definitions
 
Testing Tools
Testing ToolsTesting Tools
Testing Tools
 
Testing
Testing Testing
Testing
 
Automated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsAutomated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra Solutions
 
Short definitions of all testing types
Short definitions of all testing typesShort definitions of all testing types
Short definitions of all testing types
 
Gui path oriented test generation algorithms paper
Gui path oriented test generation algorithms paperGui path oriented test generation algorithms paper
Gui path oriented test generation algorithms paper
 
White-box Testing: When Quality Really Matters
White-box Testing: When Quality Really MattersWhite-box Testing: When Quality Really Matters
White-box Testing: When Quality Really Matters
 
Automation testing material by Durgasoft,hyderabad
Automation testing material by Durgasoft,hyderabadAutomation testing material by Durgasoft,hyderabad
Automation testing material by Durgasoft,hyderabad
 
Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing
 
Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
 
Chapter 7 software reliability
Chapter 7 software reliabilityChapter 7 software reliability
Chapter 7 software reliability
 
What is smoke testing
What is smoke testingWhat is smoke testing
What is smoke testing
 
Chapter 5 - Reviews
Chapter 5 - ReviewsChapter 5 - Reviews
Chapter 5 - Reviews
 
Manuel testing word
Manuel testing wordManuel testing word
Manuel testing word
 
Software Engineering-Part 1
Software Engineering-Part 1Software Engineering-Part 1
Software Engineering-Part 1
 
Engineering Software Products: 9. testing
Engineering Software Products: 9. testingEngineering Software Products: 9. testing
Engineering Software Products: 9. testing
 
Software testing q as collection by ravi
Software testing q as   collection by raviSoftware testing q as   collection by ravi
Software testing q as collection by ravi
 

Similar to Unit Testing to Support Reusable for Component-Based Software Engineering

What is Unit Testing? - A Comprehensive Guide
What is Unit Testing? - A Comprehensive GuideWhat is Unit Testing? - A Comprehensive Guide
What is Unit Testing? - A Comprehensive Guide
flufftailshop
 
5 Best Unit Test Frameworks to Automate Unit Tests
5 Best Unit Test Frameworks to Automate Unit Tests5 Best Unit Test Frameworks to Automate Unit Tests
5 Best Unit Test Frameworks to Automate Unit Tests
Serena Gray
 
How to Make the Most of Regression and Unit Testing.pdf
How to Make the Most of Regression and Unit Testing.pdfHow to Make the Most of Regression and Unit Testing.pdf
How to Make the Most of Regression and Unit Testing.pdf
Abhay Kumar
 
SDET UNIT 4.pptx
SDET UNIT 4.pptxSDET UNIT 4.pptx
SDET UNIT 4.pptx
PallawiBulakh1
 
Testing Strategies in .NET: From Unit Testing to Integration Testing
Testing Strategies in .NET: From Unit Testing to Integration TestingTesting Strategies in .NET: From Unit Testing to Integration Testing
Testing Strategies in .NET: From Unit Testing to Integration Testing
Tyrion Lannister
 
Unit Testing vs End-To-End Testing_ Understanding Key Differences.pdf
Unit Testing vs End-To-End Testing_ Understanding Key Differences.pdfUnit Testing vs End-To-End Testing_ Understanding Key Differences.pdf
Unit Testing vs End-To-End Testing_ Understanding Key Differences.pdf
kalichargn70th171
 
A Study Of Automated Software Testing Automation Tools And Frameworks
A Study Of Automated Software Testing  Automation Tools And FrameworksA Study Of Automated Software Testing  Automation Tools And Frameworks
A Study Of Automated Software Testing Automation Tools And Frameworks
Tony Lisko
 
Automation testing & Unit testing
Automation testing & Unit testingAutomation testing & Unit testing
Automation testing & Unit testing
Kapil Rajpurohit
 
A COMPOSITION ON SOFTWARE TESTING
A COMPOSITION ON SOFTWARE TESTINGA COMPOSITION ON SOFTWARE TESTING
Analysis of Emerging Automation Tools in Industry
Analysis of Emerging Automation Tools in IndustryAnalysis of Emerging Automation Tools in Industry
Analysis of Emerging Automation Tools in Industry
IJAEMSJORNAL
 
Unit Testing Essay
Unit Testing EssayUnit Testing Essay
Unit Testing Essay
Dani Cox
 
Software testing
Software testingSoftware testing
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
Hiral Gosani
 
2.Android App Development_ Types of Automated Unit Tests.pdf
2.Android App Development_ Types of Automated Unit Tests.pdf2.Android App Development_ Types of Automated Unit Tests.pdf
2.Android App Development_ Types of Automated Unit Tests.pdf
Belayet Hossain
 
JUnit with_mocking
JUnit with_mockingJUnit with_mocking
JUnit with_mocking
Zeeshan Khan
 
Unit Test using Test Driven Development Approach to Support Reusability
Unit Test using Test Driven Development Approach to Support ReusabilityUnit Test using Test Driven Development Approach to Support Reusability
Unit Test using Test Driven Development Approach to Support Reusability
ijtsrd
 
Ijcatr04051014
Ijcatr04051014Ijcatr04051014
Ijcatr04051014
Editor IJCATR
 
Software testing
Software testingSoftware testing
Software testing
Ashu Bansal
 
A Comparative Guide to Automation and Manual Testing.pdf
A Comparative Guide to Automation and Manual Testing.pdfA Comparative Guide to Automation and Manual Testing.pdf
A Comparative Guide to Automation and Manual Testing.pdf
kalichargn70th171
 
unittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx documentunittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx document
AkshayaM79
 

Similar to Unit Testing to Support Reusable for Component-Based Software Engineering (20)

What is Unit Testing? - A Comprehensive Guide
What is Unit Testing? - A Comprehensive GuideWhat is Unit Testing? - A Comprehensive Guide
What is Unit Testing? - A Comprehensive Guide
 
5 Best Unit Test Frameworks to Automate Unit Tests
5 Best Unit Test Frameworks to Automate Unit Tests5 Best Unit Test Frameworks to Automate Unit Tests
5 Best Unit Test Frameworks to Automate Unit Tests
 
How to Make the Most of Regression and Unit Testing.pdf
How to Make the Most of Regression and Unit Testing.pdfHow to Make the Most of Regression and Unit Testing.pdf
How to Make the Most of Regression and Unit Testing.pdf
 
SDET UNIT 4.pptx
SDET UNIT 4.pptxSDET UNIT 4.pptx
SDET UNIT 4.pptx
 
Testing Strategies in .NET: From Unit Testing to Integration Testing
Testing Strategies in .NET: From Unit Testing to Integration TestingTesting Strategies in .NET: From Unit Testing to Integration Testing
Testing Strategies in .NET: From Unit Testing to Integration Testing
 
Unit Testing vs End-To-End Testing_ Understanding Key Differences.pdf
Unit Testing vs End-To-End Testing_ Understanding Key Differences.pdfUnit Testing vs End-To-End Testing_ Understanding Key Differences.pdf
Unit Testing vs End-To-End Testing_ Understanding Key Differences.pdf
 
A Study Of Automated Software Testing Automation Tools And Frameworks
A Study Of Automated Software Testing  Automation Tools And FrameworksA Study Of Automated Software Testing  Automation Tools And Frameworks
A Study Of Automated Software Testing Automation Tools And Frameworks
 
Automation testing & Unit testing
Automation testing & Unit testingAutomation testing & Unit testing
Automation testing & Unit testing
 
A COMPOSITION ON SOFTWARE TESTING
A COMPOSITION ON SOFTWARE TESTINGA COMPOSITION ON SOFTWARE TESTING
A COMPOSITION ON SOFTWARE TESTING
 
Analysis of Emerging Automation Tools in Industry
Analysis of Emerging Automation Tools in IndustryAnalysis of Emerging Automation Tools in Industry
Analysis of Emerging Automation Tools in Industry
 
Unit Testing Essay
Unit Testing EssayUnit Testing Essay
Unit Testing Essay
 
Software testing
Software testingSoftware testing
Software testing
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
 
2.Android App Development_ Types of Automated Unit Tests.pdf
2.Android App Development_ Types of Automated Unit Tests.pdf2.Android App Development_ Types of Automated Unit Tests.pdf
2.Android App Development_ Types of Automated Unit Tests.pdf
 
JUnit with_mocking
JUnit with_mockingJUnit with_mocking
JUnit with_mocking
 
Unit Test using Test Driven Development Approach to Support Reusability
Unit Test using Test Driven Development Approach to Support ReusabilityUnit Test using Test Driven Development Approach to Support Reusability
Unit Test using Test Driven Development Approach to Support Reusability
 
Ijcatr04051014
Ijcatr04051014Ijcatr04051014
Ijcatr04051014
 
Software testing
Software testingSoftware testing
Software testing
 
A Comparative Guide to Automation and Manual Testing.pdf
A Comparative Guide to Automation and Manual Testing.pdfA Comparative Guide to Automation and Manual Testing.pdf
A Comparative Guide to Automation and Manual Testing.pdf
 
unittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx documentunittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx document
 

More from ijtsrd

‘Six Sigma Technique’ A Journey Through its Implementation
‘Six Sigma Technique’ A Journey Through its Implementation‘Six Sigma Technique’ A Journey Through its Implementation
‘Six Sigma Technique’ A Journey Through its Implementation
ijtsrd
 
Edge Computing in Space Enhancing Data Processing and Communication for Space...
Edge Computing in Space Enhancing Data Processing and Communication for Space...Edge Computing in Space Enhancing Data Processing and Communication for Space...
Edge Computing in Space Enhancing Data Processing and Communication for Space...
ijtsrd
 
Dynamics of Communal Politics in 21st Century India Challenges and Prospects
Dynamics of Communal Politics in 21st Century India Challenges and ProspectsDynamics of Communal Politics in 21st Century India Challenges and Prospects
Dynamics of Communal Politics in 21st Century India Challenges and Prospects
ijtsrd
 
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
ijtsrd
 
The Impact of Digital Media on the Decentralization of Power and the Erosion ...
The Impact of Digital Media on the Decentralization of Power and the Erosion ...The Impact of Digital Media on the Decentralization of Power and the Erosion ...
The Impact of Digital Media on the Decentralization of Power and the Erosion ...
ijtsrd
 
Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...
Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...
Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...
ijtsrd
 
Problems and Challenges of Agro Entreprenurship A Study
Problems and Challenges of Agro Entreprenurship A StudyProblems and Challenges of Agro Entreprenurship A Study
Problems and Challenges of Agro Entreprenurship A Study
ijtsrd
 
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
ijtsrd
 
The Impact of Educational Background and Professional Training on Human Right...
The Impact of Educational Background and Professional Training on Human Right...The Impact of Educational Background and Professional Training on Human Right...
The Impact of Educational Background and Professional Training on Human Right...
ijtsrd
 
A Study on the Effective Teaching Learning Process in English Curriculum at t...
A Study on the Effective Teaching Learning Process in English Curriculum at t...A Study on the Effective Teaching Learning Process in English Curriculum at t...
A Study on the Effective Teaching Learning Process in English Curriculum at t...
ijtsrd
 
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
ijtsrd
 
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
ijtsrd
 
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. SadikuSustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
ijtsrd
 
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
ijtsrd
 
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
ijtsrd
 
Activating Geospatial Information for Sudans Sustainable Investment Map
Activating Geospatial Information for Sudans Sustainable Investment MapActivating Geospatial Information for Sudans Sustainable Investment Map
Activating Geospatial Information for Sudans Sustainable Investment Map
ijtsrd
 
Educational Unity Embracing Diversity for a Stronger Society
Educational Unity Embracing Diversity for a Stronger SocietyEducational Unity Embracing Diversity for a Stronger Society
Educational Unity Embracing Diversity for a Stronger Society
ijtsrd
 
Integration of Indian Indigenous Knowledge System in Management Prospects and...
Integration of Indian Indigenous Knowledge System in Management Prospects and...Integration of Indian Indigenous Knowledge System in Management Prospects and...
Integration of Indian Indigenous Knowledge System in Management Prospects and...
ijtsrd
 
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
ijtsrd
 
Streamlining Data Collection eCRF Design and Machine Learning
Streamlining Data Collection eCRF Design and Machine LearningStreamlining Data Collection eCRF Design and Machine Learning
Streamlining Data Collection eCRF Design and Machine Learning
ijtsrd
 

More from ijtsrd (20)

‘Six Sigma Technique’ A Journey Through its Implementation
‘Six Sigma Technique’ A Journey Through its Implementation‘Six Sigma Technique’ A Journey Through its Implementation
‘Six Sigma Technique’ A Journey Through its Implementation
 
Edge Computing in Space Enhancing Data Processing and Communication for Space...
Edge Computing in Space Enhancing Data Processing and Communication for Space...Edge Computing in Space Enhancing Data Processing and Communication for Space...
Edge Computing in Space Enhancing Data Processing and Communication for Space...
 
Dynamics of Communal Politics in 21st Century India Challenges and Prospects
Dynamics of Communal Politics in 21st Century India Challenges and ProspectsDynamics of Communal Politics in 21st Century India Challenges and Prospects
Dynamics of Communal Politics in 21st Century India Challenges and Prospects
 
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
 
The Impact of Digital Media on the Decentralization of Power and the Erosion ...
The Impact of Digital Media on the Decentralization of Power and the Erosion ...The Impact of Digital Media on the Decentralization of Power and the Erosion ...
The Impact of Digital Media on the Decentralization of Power and the Erosion ...
 
Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...
Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...
Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...
 
Problems and Challenges of Agro Entreprenurship A Study
Problems and Challenges of Agro Entreprenurship A StudyProblems and Challenges of Agro Entreprenurship A Study
Problems and Challenges of Agro Entreprenurship A Study
 
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
 
The Impact of Educational Background and Professional Training on Human Right...
The Impact of Educational Background and Professional Training on Human Right...The Impact of Educational Background and Professional Training on Human Right...
The Impact of Educational Background and Professional Training on Human Right...
 
A Study on the Effective Teaching Learning Process in English Curriculum at t...
A Study on the Effective Teaching Learning Process in English Curriculum at t...A Study on the Effective Teaching Learning Process in English Curriculum at t...
A Study on the Effective Teaching Learning Process in English Curriculum at t...
 
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
 
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
 
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. SadikuSustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
 
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
 
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
 
Activating Geospatial Information for Sudans Sustainable Investment Map
Activating Geospatial Information for Sudans Sustainable Investment MapActivating Geospatial Information for Sudans Sustainable Investment Map
Activating Geospatial Information for Sudans Sustainable Investment Map
 
Educational Unity Embracing Diversity for a Stronger Society
Educational Unity Embracing Diversity for a Stronger SocietyEducational Unity Embracing Diversity for a Stronger Society
Educational Unity Embracing Diversity for a Stronger Society
 
Integration of Indian Indigenous Knowledge System in Management Prospects and...
Integration of Indian Indigenous Knowledge System in Management Prospects and...Integration of Indian Indigenous Knowledge System in Management Prospects and...
Integration of Indian Indigenous Knowledge System in Management Prospects and...
 
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
 
Streamlining Data Collection eCRF Design and Machine Learning
Streamlining Data Collection eCRF Design and Machine LearningStreamlining Data Collection eCRF Design and Machine Learning
Streamlining Data Collection eCRF Design and Machine Learning
 

Recently uploaded

Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 

Recently uploaded (20)

Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 

Unit Testing to Support Reusable for Component-Based Software Engineering

  • 1. International Journal of Trend in Scientific Research and Development (IJTSRD) Volume: 3 | Issue: 2 | Jan-Feb 2019 Available Online: www.ijtsrd.com e-ISSN: 2456 - 6470 @ IJTSRD | Unique Reference Paper ID – IJTSRD21458 | Volume – 3 | Issue – 2 | Jan-Feb 2019 Page: 638 Unit Testing to Support Reusable for Component-Based Software Engineering Khin Moe Sam University of Computer Studies, Thaton, Mon State; Myanmar ABSTRACT Unit testing is a practical approach to improve the quality and reliability of software. Unit testing is usually performed by programmers and is the base for all other tests such as integration testing and system testing. Unit Testing can be done manually (and/or) automatically. The automated unit tests are written by the developers after thecompletion of functionality coding. The number of defects reduced when automated unit tests are written iteratively similar to test driven development. This framework proved that significant portions of windows application can be automatically tested without manual intervention. This reduces the manpower involved in testing each and every unit of the applicationandincreasesthe qualityof the software product. Keywords: Unit Testing, Automatic Unit Testing, And Test Driven Development. 1. INTRODUCTION Unit Testing is a kind of white box testing where individual units of software are tested. The intension of unit testing is to check whether each and every unit (module)of asoftware works as per the developer’s expectation. Unit Testing can be done manually (and/or) automatically. UnitTestingfinds the defects in each and every unit of the application at initial level of testing. It increases the confidence levels of developer by ensuring that their code is working correctly. Unit Testing ensuresthat codeworkscorrectly andimproves the quality, reliability and cost of the application software development. We initially performed unit testing manually where it was a time consuming task and hence we intend to choose automation of unit testing. To automate unit testing, it is necessary to write test scripts called unit tests. Once the unit tests are available, it is easy to automatetheunittesting. (1) The purpose is to validate that each unit of the software performs as designed. A unit is the smallest testable part of any software. It usually has one or a few inputs and usuallya single output. A combination of the two or more tools can serve to merge the best of both worlds. The result is notonly the sum of both mechanisms, but the creation of a new quality of testing tool with new functionalityemergingout of the combination of the two.(3) 2. Objectives The goal of unit testing is to isolate each part of the program and show that the individual parts are correct. (4)A combination of the two can serve to merge the best of both worlds. The result is not only the sum of both mechanisms, but the creation of a new quality of testing tool with new functionality emerging out of the combination of the two. (3)(5)Unit testing is performed on thesmallestelementsof a system; each component is tested to ensure that it properly works. Usually it performs a single cohesive function. The goal of unit testing is to analyze each small part of the code and test that is working correctly. (6) The purpose is to validate that each unit of the software performs asdesigned. A unit is the smallest testable part of any software. It usually has one or a few inputs and usually a single output. (2)Benefits of writing good unit tests or unit testing:- Unit testing supplies plentiful benefits: finding software bugs early, simplifying integration, providing a source of documentation, and many others, which I am going to share in more detail: Unit testing reduces the number of bugs in the system and acceptance testing;Costof locating andfixing bugs in unit testing is very less as they are captured in very early phase; Automated tests can run as frequently as required; Unit testing makes it easier to change and refactor the code; Unit testing can improve code design, especially with test-drivendevelopment;Overalldevelopmenttime can be used for unit testing; Unit tests are a form of documentation; Unit testing improves teamwork; Code coverage can be measured.(7) 3. Methodology Automated unit testing helps in improving quality, decreasing costs and reducing time required for testing. However, all this is possible only with use of appropriate testing tool. Following are various parameters critical to selection of appropriate tool: Minimum implementation time: This is possible when users are already familiar with technology (language, method of working, integration constraints) used by the testing tool. Additionally, extensive documentation and support available help in reducing implementation time. Minimum ownership and running costs: An open source tool which is freetoaccessmaybeless efficient and have higher operating costs. On the other hand, a commercial tool available may require initial investment but due to its better features might make testing efficient and cost effective in the long run. Flexibility: Everyprojectis unique in a certain way and has its own peculiar needs.Thus an efficient testing tool while offeringmostrequiredfeatures should also provide option of code modification. Further for swift debugging, the framework should make test code readable. (8) The automated unit tests for any application can be written in two ways: Before code implementation; after code implementation. If unit tests are written before any code implementation then it is known as Test Driven Development. If Unit tests are written after the code implementation then it is known as Test after Development. (9) The best unit testing tools are NUnit, TestNG, JUnit, JMockit, Emma, Quilt, HtmlUnit. JUnit,TestNG,NUnitarefree
  • 2. International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470 @ IJTSRD | Unique Reference Paper ID – IJTSRD21458 | Volume – 3 | Issue – 2 | Jan-Feb 2019 Page: 639 open source unit testing tools. Nunit is a unit testing framework based on .net platform. It is free tool allows to write test scripts manually but not automatically. Itworksin the same way as JUnit works for Java. It supports data-driven tests that can run in parallel. It uses console runner to load and execute tests. JUnit is an open- source unit testing framework designed for Java Programming language. It supports for test-driven environment and the core idea on which it is based ‘first testing then coding’. Test data is first tested and then inserted in the piece of code. It provides annotation for test method identification, assertion for testing expected result and test runners. It is simplest and helps to write code easily and faster. TestNG is an open-source automation testing framework for java programming language. This tool is heavily influenced by JUint and NUnit with concurrent testing annotation support. TestNG supports parameterized and data-driven testing along with unit functional and integration testing. It proved effective with powerful execution model and flexible test configuration. 4. Proposed System In Test Driven Development, the developer writes automated unit tests for the newfunctionalitythey areabout to implement. It is a software engineering process that follows small development cycle. In industry, while coding a software application the development cycle that they follow is shown below in figure 1. Fig.1. Test Driven Development Cycle 4.1 Develop Automated Unit Tests Without writing any code to implement feature, test cases must be written by the developer in the initial stage by collecting the specifications and requirements in theform of user stories (or) use cases that covers all the requirements and conditions. This makes developer to focus on requirements and coding in this manner makes the code consistent. 4.2 Run Automated Unit Tests Run the automated Unit tests to ensurethattheyfailbecause there is no implemented code yet. 4.3 Implement the Code to Pass Test(s) Developer needs to write the code for those cases that are failed in the previous test. The code that developer writes should not add any other unpredicted functionality. 4.4 Run All the Tests in Code Base Once development is done, run all the automated testsinthe code base. If all the tests are passingthendevelop automated unit tests for other features of the application and repeatthe same process otherwise implement the code necessary to make the test pass and run the automated unit test(s). Finally, once the development of codeforthe applicationand unit testing are done, the developer may restructure the code for better readability (or) improving the performance. The advantage of above written unit tests is that whatever changes the developer may make to the code now, it won’t affect the existing functionality of the build, as the test cases written earlier defines the requirementand specifications of the application. 5. Conclusion Unit tests isolate each part of the program and checkthatthe individual parts are correct. Unit testing finds problems early in the development cycle and hence facilitates changes required in code. Testing the parts of a program first and then testing the sum, allows faster integration testing and progressive documentation which are critical to the success of the unit. However, considering the variety of testing tools available and their variable features, it becomes essential that features of each testing tool areanalyzedindetailbefore any selection and use. As a future work direction, we plan to apply mutation testing and analysis to the test suites generative by our tool to assess their fault detection effectiveness and to compare thateffectivenesswith those of the test suites generated by other comparable tools. Wealso plan to compare the effort and time spent in using those tools. Also, the execution time of our tool to automatically generate test case code is very fast, and we plan to compare the associated efficiency to manual coding when our tool is used in large-scale projects. (10) References [1] Aswatha Kumar M. et al. (Eds.): Proceedings of ICAdC, AISC 174, pp. 813–822. springerlink.com © springer India 2013) [2] Software testing fundamentals.com/ unit- testing/(ISTQB) [3] Andrew Patterson; Faculty of Information Technology; Monash University; Australia; Introducing Unit Testing With BlueJ,ajp@infotech. monash.edu.au
  • 3. International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470 @ IJTSRD | Unique Reference Paper ID – IJTSRD21458 | Volume – 3 | Issue – 2 | Jan-Feb 2019 Page: 640 [4] Kolawa, Adam; Huizinga, Dorota (2007). Automated Defect Prevention: Best Practices in Software Management. Wiley-IEEE Computer Society Press. p. 75. ISBN 0-470-04212-5.) [5] johnr@infotech.monash.edu.au// [6] https://apiumhub.com/tech-blog-barcelona/top-benefits- of-unit-testing/ [7] By Ekaterina Novoseltseva; Jan. 18, 17 · DevOps Zone; http://crestechglobal.com/the-importance-of-unit- testing-in-software-testing/ [8] By Arvind Rongala,Manager, BusinessDevelopmentand Marketing, Invensis Technologies) ;March 28, 2015 [9] A.N. Seshu Kumar and S. Vasavi; Effective Unit Testing Framework for Automation of Windows Applications; V.R. Siddhartha Engineering College, Vijayawada {seshu1203, vasavi.movva} @gmail.com [10] Christian Wiederseiner1, Shahnewaz A. Jolly1, Vahid Garousi1, and Matt M. skandar; AnOpen-SourceToolfor Automated Generation of Black-BoxxUnitTestCode and Its Industrial Evaluation; Software Quality Engineering Research Group (SoftQual), University of Calgary, Canada; MR Control Systems InternationalInc.,Calgary, Canada, {christian. wiederseiner, sajolly,vgarousi} @ucalgary .ca,matt. eskandar@mrcsi.com)