Software Testing and Quality Assurance (Mini Project I)
Software Testing and Quality Assurance (Mini Project I)
SUBMITTED BY
Rohan Limaye Roll No: 41442
Manasa Bsv Roll No: 41447
Aditi Nagar Roll No: 41451
CLASS: BE-4
GUIDED BY
Prof A.G. Phakatkar
Problem Definition:
Perform Desktop Application testing using unittest library in python.
Objective
We are going to learn how to 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.
Theory
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;
Application Tested :
A bookstore application with a simple graphical user interface (GUI) is built to support all 4
essential CRUD functionalities. These operations are tested using some test cases.
Test Plan :
The main aim is to check if we are getting correct output for each given input and if the test is
being executed correctly .
def test_floatYear_INSERT(self):
def test_emptyFields_INSERT(self):
flag = database.insert("","",1920,"")
def test_shortTitle_INSERT(self):
flag = self.wrapper.insert(self.title,self.author,self.year,self.isbn)
def test_SEARCH(self):
flag = self.wrapper.search(self.title,self.author,self.year,self.isbn)
Screenshots of application
1. GUI of the application
2 . Execution of unit tests