|
|
|
|
|
by everyone
2475 days ago
|
|
The author is either crazy, or else maybe works in a very niche area where this makes sense.
I work in games, and some modules are very conducive to automated testing. Eg. complex math functions, it'd be very easy for them to be not quite right and you would never notice without tests, and also they will probably never change. An area that would be stupid to test (with automated tests) for example, would be a UI menu. * The test (ie. replicating a user pressing buttons via code) is probably gonna be more complex and less maintainable than the code its testing. * If there is a bug it will be obvious in human acceptance testing. * UI menus are gonna change drastically during development. Anyway, I could see a misguided requirement for 100% code coverage massively hampering a project and potentially killing it. |
|
You can even do model based testing.
For example, you're testing a word processor. You know that your state is no document. Then you click the open file button. Press some other buttons, and knowing what button it is, you should expect some change.
That being said, usually you can "press" the buttons virtually, for example sending window messages or calling the same functions as the buttons wire up to, rather than knowing the pixel layout.
People have been doing these things for years.