-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
  • 85,076
  • 16
  • 154
  • 332
Bwire
  • 1,181
  • 1
  • 14
  • 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
  • 1,938
  • 10
  • 56
  • 123