Any method that issues a request to call a method on a provider can receive an exception message “Provider not found.” Developers rarely have the patience to write this situation out as a possible postcondition of each method, which can cause such an exception to be produced.
It is commonly the case when a set of exceptions may be provoked by many methods of the class. This is one example of what we may call implicit specifications. These specifications should be complied with the implicit test cases. As far as distributed systems are concerned, implicit test cases should incorporate the following:
- Verify that the requester is able to manage the “Provider not found” exception.
- Verify that the requester is able to manage the “Provider busy” exception.
- Verify that the requester is able to manage the vendor’s null reference (surely, any null pointer is a problem, but some infrastructure makes the pointer invalid after its being inactive for some time).
- Verify that the requester is able to manage a null “out” parameter.
Outsourcing testing services to Cherkassian ladies and gentlemen – world-class providers of qa services – means ensuring software quality and completing project of any complexity within budget and deadline. A lot of people all over the globe prefer dealing with third-party partners because this allows them to get their work done to a high professional standard meanwhile they fully focus on their key activities and processes. Maybe is it now your turn to collaborate with really qualified experts?
These test cases should be of general nature, so that they can be applied to each method that matches implicit specification. These tests should be included in the test list for the type of the class being created.
There is a single list for each “subject area”. UI objects have got implicit specification of events and displays on the screen. This in turn should be on the lists as an integral part of the project and be provided to original developers and integration testers.
Postconditions get expanded to capture exceptions in test scripts, such as, for example, a service that cannot be obtained from a certain provider, a provider that does not respond in time, or the requester uses an incorrect address. As with any other postcondition, each such section, such as, say, the wrong address must be covered by a special test case.
Add Comment