15
Software Testing

Software Testing

  • Upload
    rupert

  • View
    24

  • Download
    0

Embed Size (px)

DESCRIPTION

Software Testing. Legacy Code. Problem. Does this accurately describe a Rick-roll?. How about this?. Visual Checks Matter!. Types of CSS Testing. There are four different categories of CSS testing: Syntax Did you literally make mistakes in your CSS? Project - PowerPoint PPT Presentation

Citation preview

Page 1: Software Testing

Software Testing

Page 2: Software Testing

Legacy Code

Page 3: Software Testing

Problem

Page 4: Software Testing

Does this accurately describe a Rick-roll?

Page 5: Software Testing

How about this?

Page 6: Software Testing

Visual Checks Matter!

Page 7: Software Testing

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

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

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

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

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

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
Page 14: Software Testing

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