Prepare for your Next Interview
This is a discussion on Testing within the Testing Issues forums, part of the Software Testing category; What is the approach that should be followed for manual testing? Please help me by providing your views. Thanks Gokulakrishnan K...
|
|||
|
Re: Testing
Deepasree/Sushma
Are we follow Top Down or Bottom Up approach for Manual Testing. If any one of this, then pls give example for each one. I think that I made it clear. Thanks Gokulakrishnan K |
|
|||
|
Re: Testing
Given the following fragment of code, how many tests are required for 100% decision coverage?
Please let me know the answer as well the method to calculateif width > length then Thanks Gokulakrishnan K |
|
|||
|
Re: Testing
Hi friend..
Top down approach what is top down approach? top down approach is to start implementing presentation layer and then implement the business logic. Advantage: • easy to visualize functionality. • sense of completeness in the requirement. • easy to show the progress of development. Disadvantage: • ui driven approach hence high possibility of redundant business logics. • since an ui is readily available no developer would write a unit test cases. • no concrete layer to rely on, as both presentation & business logic keep evolving. • lack of concrete test suits to ensure one layer is tied up. Bottom up approach what is bottom up approach? bottom up approach is to start with the concrete business logic and its testcase and proceed with presentation implementation. Advantage: • solid business logic, hence zero redundancy • good unit test case can be written to validate changes. • developer has only option to use unit testing tools to test the logic. • easy to manage changes and modification. Disadvantage: • effort involved to write test cases. • progress of implementation cannot be show very effectively. Thanks deepasree |
|
|||
|
Re: Testing
hi friend,
Both the approaches have advantages and disadvantages Bottom-up approach:An approach to integration testing where the lowest level components are tested first, then used to facilitate the testing of higher level components. The process is repeated until the component at the top of the hierarchy is tested. Top-down approach:An approach to integration testing where the component at the top of the component hierarchy is tested first, with lower level components being simulated by stubs. Tested components are then used to test lower level components. The process is repeated until the lowest level components have been tested i have attached a file for your reference. |
|
|||
|
Re: Testing
hi,
Happy to help at anytime Thank Sushma |
| The Following User Says Thank You to Sushma Mosali For This Useful Post: | ||
|
|||
|
Re: Testing
hi
When the end user finds a deviation from expected speific or expected result, what is it called as??. i mean do you call it as defect or failure. Any information would be much appreciated. Thanks Sushma |
|
|||
|
Re: Testing
hi friend
The software faults occur through the following process. A programmer makes an error (mistake), which results in a defect (fault, bug) in the software source code. If this defect is executed, in certain situations the system will produce wrong results, causing a failure.[4] Not all defects will necessarily result in failures. For example, defects in dead code will never result in failures. A defect can turn into a failure when the environment is changed. Examples of these changes in environment include the software being run on a new hardware platform, alterations in source data or interacting with different software.[4] A single defect may result in a wide range of failure symptoms. Not all software defects are caused by coding errors. One common source of expensive defects is caused by requirements gaps, e.g., unrecognized requirements, that result in errors of omission by the program designer. A common source of requirements gaps is non-functional requirements such as testability, maintainability, usability, performance, and security. Bug A software bug (or just “bug”) is an error, flaw, mistake, failure, fault or “undocumented feature” in a computer program that prevents it from behaving as intended (e.g., producing an incorrect result). Most bugs arise from mistakes and errors made by people in either a program's source code or its design, and a few are caused by compilers producing incorrect code. Thanks Deepasree |
|
|||
|
Re: Testing
hi friend
Error : It is the Deviation from actual and the expected value. Bug : It is found in the development environment before the product is shipped to the respective customer. Defect : It is found in the product itself after it is shipped to the respective customer. Thanks Deepasree |
|
|||
|
Re: Testing
hi deepasree,
Thanks for the confirmation, i was really confused, because i was going through one of the ISTQB examination papers and they have given answer as "failure" so thought of just posting it in the forum. Thanks for your time Thanks Sushma |