I know that unit testing logic and functional/integration testing DOM manipulation is different. But again, there’s a gulf in my mind between expect(page.title).toBe('hello world') and “Make sure this doesn’t fuck up when resizing Internet Explorer 10 between 720px and 800px.”

Source: My Struggle with Testing Code – daverupert.com