14
eo2875
3y

A designer pointed out that at a certain screen size (small tablet or large mobile), a menu was overflowing but had not yet collapsed into a toggle.

The manager comes to me and asks "why don't we have a unit test for that?"

Comments
  • 7
    He's a bit confused, but he got the spirit
  • 3
    I agree with @alexbrooklyn.

    But I agree more that dev managers should be devs.
  • 4
    https://github.com/bbc/wraith is the closest thing I have ever seen to actual unit tests for CSS
  • 0
    @matthewbdaly oh bbc has a GitHub account
  • 0
    @Root I used to think that too but apparently that only results in slightly more informed micromanagement.
    It's simply something the team finds and fixes without any need of management meddling.

    If it was a regression it could have been caught by visual regression testing by the way.
  • 1
    @matthewbdaly ah I see you have found a one of these it's a whole class of tools (not unit tests though)! But they only work to fight regressions or different handling in browsers.
Add Comment