Top Banner
Software Testing
15

Software Testing. Legacy Code Problem Does this accurately describe a Rick-roll?

Dec 14, 2015

Download

Documents

Alisa Shippey
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Software Testing. Legacy Code Problem Does this accurately describe a Rick-roll?

Software Testing

Page 2: Software Testing. Legacy Code Problem Does this accurately describe a Rick-roll?

Legacy Code

Page 3: Software Testing. Legacy Code Problem Does this accurately describe a Rick-roll?

Problem

Page 4: Software Testing. Legacy Code Problem Does this accurately describe a Rick-roll?

Does this accurately describe a Rick-roll?

Page 5: Software Testing. Legacy Code Problem Does this accurately describe a Rick-roll?

How about this?

Page 6: Software Testing. Legacy Code Problem Does this accurately describe a Rick-roll?

Visual Checks Matter!

Page 7: Software Testing. Legacy Code Problem Does this accurately describe a Rick-roll?

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?

Page 8: Software Testing. Legacy Code Problem Does this accurately describe a Rick-roll?

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/

Page 9: Software Testing. Legacy Code Problem Does this accurately describe a Rick-roll?

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

Page 10: Software Testing. Legacy Code Problem Does this accurately describe a Rick-roll?

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

Page 11: Software Testing. Legacy Code Problem Does this accurately describe a Rick-roll?

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

Page 12: Software Testing. Legacy Code Problem Does this accurately describe a Rick-roll?

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

Page 13: Software Testing. Legacy Code Problem Does this accurately describe a Rick-roll?
Page 14: Software Testing. Legacy Code Problem Does this accurately describe a Rick-roll?

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.

Page 15: Software Testing. Legacy Code Problem Does this accurately describe a Rick-roll?