Interviewer And Interviewee Guide

JUnit Interview Question:

Under What Conditions Should You Test set() and get() Methods?

Submitted by: Administrator
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.
Submitted by: Administrator

Read Online JUnit Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.