Nt1310 Unit 2 Test Paper

Words: 825
Pages: 4

Answers:
1.What is the purpose of testing? Discuss this definition in some detail, describing each of the components of the definition.
Answer:
Purpose of software testing is to check whether the software functionalities or operations are working properly or not and to gather the evidence which is of value to someone.It increases the probability of success and decrease the probability of failure. We can increase the probability of success by testing the things that only work. Passing test decreases the probability of failure.

2)Describe the concept of test driven development. Why is it useful?
Answer:
TDD is a method of testing where we can write our own test cases for enhancements. After successfully implementing the test cases the code is refactored to make sure that software met the
…show more content…
It is refinement of Test Driven Development. Major components are “given”, “and”, “when”, “then”. It provides better connection to customer requirements because it uses Simple Domain Specific Language where user can easily understand what the outcome is going to be 4)What is a testing partition? Why is this so important concept, and how does it relate to completeness of testing?
Answer :
Test Partitioning is also known as Equivalence Partitioning. In this testing it divides the test cases to equivalence partitions. So, we can only test the one test case , instead of every test case , as we considers that test software will treat the test cases in a same way. If one test case works the remaining similar test cases will also work. It is important because if there is a failed test case then we don't have to test each and every test case similar to the failed test case.

5)What is it meant to test a specific application layer? Which layers are commonly tested? Answer :
In application layer we use black box testing. It just tests the functionalities of the particular application and finds out the bugs if