In SDLC at which stage we've to do unit testing? Is it correct to write test cases at Design time itself or only after development phase we've to write test cases?
Printable View
In SDLC at which stage we've to do unit testing? Is it correct to write test cases at Design time itself or only after development phase we've to write test cases?
Hi,
as per v model, testcase creation begins right at requirement gathering stage itself.
We map our testcase creation to each phase accordingly. For instance -
- user acceptance testcases are based on srs.
- system testing cases are based on frs
- integration testing cases are based on high level design documents
- unit testcases are based on low level design documents.
In short it states creating unit testcases would actually commence from design stage. Also Testing starts parallely along with Designing and not at completion of coding phase.
Once coding phase is complete, we can begin actual execution.
Cheers...
Hi Shumi,
In SDLC the testing activities will start after the Requirement gathering. Creating Test plan, identification of test scenarios, writing of test cases will happen simulatenously while the application is in Design and Development phase. Execution of Test cases will only happen after the code part is done and deployed for testing.
Unit testing will happen at the Development side. The testing is done once the code is done and before released for System Testing.
Test Cases should be written during the Design time only and after the development phase we have to execute the test cases written.
Regards,
Ganesan