Originally posted by ngraham
View Post
Announcement
Collapse
No announcement yet.
KDE Closing Out November With More Plasma Wayland Fixes
Collapse
X
-
I've gotten into too many disagreements about unit tests. Unit tests can only test for what they were written to test for... But too many people think they are magical... If a bug was totally unanticipated, then how could a unit test be written to anticipate it? They are an obvious example of a catch22.
Not just KDE has this problem, Wine is particularly susceptible to it... Too many people think wine's unit tests are the end all and be all... (If you -really- want to catch bugs then you have to run actual applications in actual usage.)
- Likes 3
Comment
-
-
-
Originally posted by duby229 View PostI've gotten into too many disagreements about unit tests. Unit tests can only test for what they were written to test for... But too many people think they are magical... If a bug was totally unanticipated, then how could a unit test be written to anticipate it? They are an obvious example of a catch22.
Not just KDE has this problem, Wine is particularly susceptible to it... Too many people think wine's unit tests are the end all and be all... (If you -really- want to catch bugs then you have to run actual applications in actual usage.)
If the issue was that the user was unable to run an executable at all, that's a pretty big use case to leave out. If the issue was the user was unable to launch an executable under certain conditions, then yes, it might have been something not anticipated.
- Likes 1
Comment
-
Perhaps. There's still quite a few unfixed issues with Wayland's rendering. I'm hoping the new rendering system they are working on will fix alot of the old issues... The new rendering algorithims will reduce latency and finally detach kwin from timers.
- Likes 2
Comment
-
Originally posted by Baguy View Post
Perhaps. There's still quite a few unfixed issues with Wayland's rendering. I'm hoping the new rendering system they are working on will fix alot of the old issues... The new rendering algorithims will reduce latency and finally detach kwin from timers.
Comment
-
Originally posted by bug77 View Post
That's why proper tests are layered. Unit tests, one or more layers of integration tests and finally some end-to-end tests, that have nothing to do with code and everything to do with use cases.
If the issue was that the user was unable to run an executable at all, that's a pretty big use case to leave out. If the issue was the user was unable to launch an executable under certain conditions, then yes, it might have been something not anticipated.
Comment
Comment