A Free Template From Joomlashack

Software Testing Tutorial 4

 

This tutorial explains in detail Unit Testing also know as Component or Module Testing.

 

Please be patient . Video will load in some time. If you still face issue viewing video click here

 

Video Transcript with Key Takeaways Highlighted:

  • Consider a scenario where you work for an IT outsourcing company as part of the Testing Team and your company is hired by a bank to develop a online banking application
  • To understand the STLC , lets first quickly go through the SDLC
  • During Requirement analysis phase, after series of meetings the customer decides he wants the following 5 functionalities into his system Login on Valid Credentials, View Current Balance, Deposit Money, Withdraw Money, Transfer Money to a 3rd party account
  • Next , in the Functional Specification stage  architecture , database , and operating environment design are finalized
  • Next , in High level Design stage  the application is broken down in module & programs
  • In Detail Design Stage The pseudo code for functions for each module is documented
  • Actual Coding Begins. This is the software development cycle of the V-model.
  • During all these phases, the tester is not sitting idle for the coding to complete
  • But is doing corresponding testing activities
  • Lets look at one by one -
  • Unit Testing. It is also called Component Testing. It is performed on standalone module to check it is developed correctly.For the Login Module, typical unit test cases would be
  • Check response for Valid Login & password
  • Check response for invalid Login & password
  • Check response when login id is empty and login button is pressed
  • Developers do unit test. In practical world, developers are either reluctant to test their code or do not have time to unit test .Many a times, much of the unit testing is done by testers

 

                                                         Back to Software Testing Index  Page