software testing. legacy code problem does this accurately describe a rick-roll?
TRANSCRIPT
Types of CSS Testing
There are four different categories of CSS testing:• Syntax
Did you literally make mistakes in your CSS?
• ProjectDoes this CSS meet the standards you set?
• ReferenceDoes the rendered page look as you expect it to? Cross-browser as well.
• RegressionAfter actions are performed, does the page look as you expect it to?
ToolsHere, we'll list all the known tools, browser extensions and services.
Command-line enabled• Cactus• CSSCritic• cssert• CSSLint• Fighting Layout Bugs• GhostStory• Hardy• Huxley• MinCSS• Mogotest• Needle• PhantomCSS• Wraith• Grunt-Photobox
Manual testing tools• CSSCritic• CSSunit• CSS Test
http://csste.st/tools/
ToolsHere, we'll list all the known tools, browser extensions and services.
Command-line enabled• Cactus• CSSCritic• cssert• CSSLint• Fighting Layout Bugs• GhostStory• Hardy• Huxley• MinCSS• Mogotest• Needle• PhantomCSS• Wraith• Grunt-Photobox
Manual testing tools• CSSCritic• CSSunit• CSS Test
SyntaxProjectReferenceRegression
ToolsHere, we'll list all the known tools, browser extensions and services.
Command-line enabled• Cactus• CSSCritic• cssert• CSSLint• Fighting Layout Bugs• GhostStory• Hardy• Huxley• MinCSS• Mogotest• Needle• PhantomCSS• Wraith• Grunt-Photobox
Manual testing tools• CSSCritic• CSSunit• CSS Test
SyntaxProjectReferenceRegression
ToolsHere, we'll list all the known tools, browser extensions and services.
Command-line enabled• Cactus• CSSCritic• cssert• CSSLint• Fighting Layout Bugs• GhostStory• Hardy• Huxley• MinCSS• Mogotest• Needle• PhantomCSS• Wraith• Grunt-Photobox
Manual testing tools• CSSCritic• CSSunit• CSS Test
SyntaxProjectReferenceRegression
ToolsHere, we'll list all the known tools, browser extensions and services.
Command-line enabled• Cactus• CSSCritic• cssert• CSSLint• Fighting Layout Bugs• GhostStory• Hardy• Huxley• MinCSS• Mogotest• Needle• PhantomCSS• Wraith• Grunt-Photobox
Manual testing tools• CSSCritic• CSSunit• CSS Test
SyntaxProjectReferenceRegression
Techniques
Frozen DOMWith Frozen DOM tests, the idea is to take a snapshot of the DOM structure of the page you wish to test and the styles that are currently applied to those DOM elements.
Image DiffWhen you are happy your page looks how it should, take a screenshot. Whenever a new change is made anywhere in the project, take another screenshot and compare the differences. If there are none, everything looks how it should, if there are differences, something broke.