-1

I know this looks like a lazy person question. However I just find it redundantly not necessary to test getter methods and setters for some classes.

Is it absolutely important to test everything for purposes of being sure the software has/doesen't have some bugs.

Luiggi Mendoza
  • 83,472
  • 15
  • 149
  • 315
Bwire
  • 1,151
  • 1
  • 15
  • 25

1 Answers1

1

Only If they are beans, its unneccessary.

But if you use the beans as an result of an operation, you test the operation and the get-value may must not the same as the set-value.

Hey using reflection is not a big deal! If you realy are lazy (and good programmers are), test your beans using reflection.

Grim
  • 4,441
  • 9
  • 51
  • 112