Professional Documents
Culture Documents
Problem Definition :
Create a small application by selecting relevant system environment/platform and programming languages.
Narrate concise Test Plan consisting features to be tested and bug taxonomy. Prepare Test Cases inclusive of Test
Procedures for identified Test Scenarios. Perform selective Black-box and White-box testing covering Unit and
Integration test by using suitable Testing tools. Prepare Test Reports based on Test Pass/Fail Criteria and judge the
acceptance of application developed.
Scope :
To design and develop a small application and perform unit and integration tests on the application by using
relevant testing tools and frameworks/platforms.
OBJECTIVES
1. Learn how to prepare test cases inclusive of test procedures for identified test scenarios.
2. Perform selective Black-Box and White-Box testing covering Unit tests and Integration tests by
using suitable testing tools.
HARDWARE AND SOFTWARE
REQUIREMENTS
Hardware Requirements :
Personal Computer (PC)
Software Requirements :
1. 32/64-bit Operating System.
2. Java
3. Junit 5
4. VS Code, Eclipse IDE
CONCEPT : TEST PLAN FOR
APPLICATION TESTING
The Test Plan document is derived from the Product Description, Software Requirement Specification SRS,
or Use Case Documents. The focus of the test is what to test, how to test, when to test, and who will test.
Test plan document is used as a communication medium between test team and test managers.
A standard test plan for Application Testing should define following features :
1. Define the scope of testing
2. Define objective of testing
3. Approach for testing activity
4. Schedule for testing
5. Bug tracking and reporting
UNIT TESTING
A unit test is a way of testing a unit - the smallest piece of code that can be logically isolated in a
system.
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 usually a
single output.
Example : Submit button in a form is clickable and performs the desired action.
INTEGRATION TESTING
Integration testing is the second level testing performed after unit testing in which we test the interfacing
between the modules along with the end-to-end testing of the integrated components.
White-Box Testing (also known as Clear Box Testing, Open Box Testing, Glass Box
Testing, Transparent Box Testing, Code-Based Testing or Structural Testing) is a software
testing method in which the internal Structure/Design/Implementation of the item being
tested is known to the tester.
During White Box Testing, the tester chooses inputs to exercise paths through the code and
determines the appropriate outputs. Programming know-how and the implementation
knowledge is essential. White box testing is testing beyond the user interface and into the
nitty-gritty of a system. This method is named so because the software program, in the
eyes of the tester, is like a white/transparent box; inside which one clearly sees.
White-Box testing is generally done by Software Developers.
APPLICATION TO BE TESTED
The application under test is a GUI based application developed in Java using the Junit
library.
The application is a Student Marks/Data Storage system. The Data collected by the
application is a Student’s name, age, gender and marks obtained.
SQLite database is used for storing the data.
The application has the following main functionalities :
1. Add a patient’s data.
2. Allot a room to patient.
3. Admin login page.
TEST PLAN
The basic aim of performing these tests is to check if we get the correct and expected output for
each input and the test gets executed correctly.
Initially, we store patients data in the system and check if the results are as expected.
Then, we perform unit tests on individual components of our application such as validation of a
patient’s name (if it is a null value or not).
Finally, we perform integration tests on the application where different components/modules of an
application combine to execute an operation.
After conducting the tests, a test report is prepared consisting of successful and failed tests and
overall performance of tests.
IMPLEMENTATION
Graphical User Interface (GUI)
CONCLUSIONS