Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Under What Conditions Should You Test set() and get() Methods?
Under What Conditions Should You Test set() and get() Methods?
✍: FYICenter.com QA Team
This is a good question for a job interview. It shows your experience with test design and data types.
Tests should be designed to target areas that might break. set() and get() methods on simple data types are unlikely to break. So no need to test them.
set() and get() methods on complex data types are likely to break. So you should test them.
2008-02-12, 5887👍, 0💬
Popular Posts:
Can we get a strongly typed resource class rather than using resource manager? In the previous quest...
How can we implement singleton pattern in .NET? Singleton pattern mainly focuses on having one and o...
What will happen in these three cases? if (a=0) { //somecode } if (a==0) { //do something } if (a===...
What are the two kinds of comments in JSP and what's the difference between them? <%-- JSP Co...
Regarding C Coding Given: Line in file Contents 30 int * someIDs, theFirst, *r; 110 someIDs =GetSome...