Unit Testing Practice Exam
About Unit Testing
Unit testing is a type of software testing where individual units or components of software are tested. The purpose is to validate that each unit of the software code performs as expected. Unit Testing is done during the development (coding phase) of an application by the developers. Unit Tests isolate a section of code and verify its correctness. A unit may be an individual function, method, procedure, module, or object.
Unit Testing is important because software developers sometimes try saving time doing minimal unit testing and this is myth because inappropriate unit testing leads to high cost Defect fixing during System Testing, Integration Testing and even Beta Testing after application is built. If proper unit testing is done in early development, then it saves time and money in the end.
Why is Unit Testing important?
Unit Testing is the software testing technique where a group of software program components or modules are tested individually. This technique effectively helps in validating the accuracy of a section of code by considering stubs, mock objects, drivers, and unit testing frameworks. Since it is practiced at the initial testing phase, this testing technique assures to identify and fix the bugs at the early stage of SDLC even before they become expensive for the enterprises to fix when identified at a later stage.
Benefits of unit testing
• Isolates a section of code and validates its correctness
• Helps in identifying and fixing the bugs at the early stage of the SDLC process
• Assures to reduce the cost as bugs are resolved at the earliest
• Helps the developers to improve the design by allowing refactoring of the code
• Assures in simplifying the debugging process
• With the proper unit testing practice, components that are integrated after the build can assure in achieving a quality product
Who should take the Unit Testing Exam?
• Software testing or QA professionals
• Anyone who wants to assess their software testing skills
• Software testing or QA managers and senior executives
• Professionals working in outsourced companies responsible for software testing or QA
• Software testing or QA consultants
• Students
Knowledge and Skills required for the Unit Testing
Candidates gain quick success if they have skills of critical thinking and good communication skills.
Unit Testing Practice Exam Objectives
Unit Testing exam focuses on assessing your skills and knowledge in concepts and application of software testing artifacts and process as well as unit testing design and implementation.
Unit Testing Practice Exam Pre-requisite
There are no prerequisites for the Unit Testing exam.
Unit Testing Certification Course Outline
1. Software Testing Basics
1.1 Scope
1.2 Functional vs. Non-Functional testing
1.3 Defects and failures
1.4 Finding faults early
1.5 Compatibility
1.6 Input combinations and preconditions
1.7 Static vs. dynamic testing
1.8 Software verification and validation
1.9 The software testing team
1.10 Software quality assurance (SQA)
1.11 Testing Methods - The box approach
2. The Testing Process
2.1 Traditional CMMI or waterfall development model
2.2 Capability Maturity Model Integration
2.3 Waterfall model
2.4 Agile or Extreme development model
3. Automated testing
3.1 Code-driven testing
3.2 Graphical User Interface (GUI) testing
3.3 What to test
3.4 Framework approach in automation
3.5 Defining boundaries between automation framework and a testing tool
3.6 Testing tools
3.7 Measurement in software testing
4. Testing Artifacts
4.1 Test plan
4.2 Traceability matrix
4.3 Test case
4.4 Test script
4.5 Test suite
4.6 Test data
4.7 Test harness
5. Unit Testing
5.1 Functional Tests
5.2 Structural Tests
Exam Format and Information
Certification name – Unit Testing Certification
Exam duration – 60 minutes
Exam type - Multiple Choice Questions
Eligibility / pre-requisite - None
Exam language - English
Exam format - Online
Passing score - 25
Exam Fees - INR 1199