Experiment 6: Develop test cases for unit testing and integration testing
Objective: To develop test cases for unit testing and integration testing for the passport automation system.
Outcome: CO3
Test Cases for Unit Testing:
· Verify that the user can log in to the system using valid credentials.
· Verify that the user cannot log in to the system using invalid credentials.
· Verify that the user can update their personal information in the system.
· Verify that the user can search for passport application status.
· Verify that the system displays an error message if the user enters invalid data in the passport application form.
Test Cases for Integration Testing:
· Verify that the user can submit a passport application form and it is saved in the database.
· Verify that the user can pay the application fees using a valid payment method.
· Verify that the system generates a unique passport application number for each application.
· Verify that the user can track the progress of their passport application.
· Verify that the system sends email notifications to the user when the application is processed and when the passport is ready for collection.
Module I:
Digital Computers: Introduction to digital computers, need of Computer Organization and Computer Architecture, Basic of Computer Architecture and Organisation, Von Neumann Computers
Data Representation: Data Types, (r-1)’s Compliment, r’s compliment, Fixed point Representation, conversion of Fractions, Floating point representation, Gray code, Error detection code
Module II:
Digital Logic Circuits -I: Logic gates, Boolean Algebra, Map simplification, Combinational circuits-Half Adder and Full Adder, Decoders and Multiplexers
Digital Logic Circuits -II: Flip-Flops- SR, JK, D, T and Edge triggered, Excitation Tables, Registers, Shift Registers, Binary Counters
Module III:
Computer Arithmetic -I: Addition and subtraction, multiplication Algorithms, Division Algorithms
Computer Arithmetic –II: Floating – point Arithmetic operations. Decimal Arithmetic unit, Decimal Arithmetic operations.
Module IV:
Basic Computer Organization: Instruction Codes, Computer Registers, Computer Instructions, Timing and control, Instruction Cycle, Memory- Reference Instructions, Input-Output and Interupt
Input-Output Organization: Priority interrupt, Peripheral devices, Input output interface, Data transfer schemes, Program control and interrupts, Direct memory access transfer, Input/output processor.
Module V:
Memory Unit: Memory Hierarchy, Main Memory, Auxiliary Memory, Associate Memory and Cache Memory
Computer Architecture: CISC Characteristics, RISC Characteristics.