English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

why are setup and teardown methods not needed for testing static methods like fibonacci and factorial?

2007-05-22 10:48:06 · 1 answers · asked by abraham366 2 in Computers & Internet Programming & Design

1 answers

Static methods and properties are attached to the class as a whole, while setup() and teardown() are meant for objects, go figure why unit testing needs a full framework like that.

2007-05-22 11:16:28 · answer #1 · answered by Andy T 7 · 1 0

fedest.com, questions and answers