when the requirements are given to a developer,a tester can participate in that Requirement understanding round and after a brief dicussion with team members,a tester can write testcases for the application under implementation stage using Exploratory Testing.
Above answer was rated as good by the following members: manabh, vrajana
RE: How will you write test cases for a code currently under development?
This is very common for testing of new features. A BRD (Business Requirement Document) will be used as the primary document to write the test cases. In some complex feature implementation we may need to refer the Technical Design Document from Developers too.
RE: How will you write test cases for a code currently under development?
the test case smay be written by the clear understand of the documents like srs brs frs prepared after the analysis of the raw info got from the customerand then they can prepare the test cases by seeing those documeants
RE: How will you write test cases for a code currently under development?
If the code is under development stage or after the development stage or what ever may be the stage the test cases should be prepared before coding start.
So test case written must be depends on the requirements given (FDD TDD or SRS) based on the functionality of the application.
RE: How will you write test cases for a code currently...
You can start writing the test cases following the SRS (Software Requirements Specification). The developers will start writing the code seeing the SRS and testers will start writing their test cases using the SRS.
RE: How will you write test cases for a code currently...
when the requirements are given to a developer a tester can participate in that Requirement understanding round and after a brief dicussion with team members a tester can write testcases for the application under implementation stage using Exploratory Testing.