-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Simon Madine
committed
Aug 3, 2013
1 parent
d560e29
commit d369ba2
Showing
13 changed files
with
343 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<link href="/images/favicon.png" rel="shortcut icon" type="image/png"> | ||
<link href="http://fonts.googleapis.com/css?family=Arvo:700" rel="stylesheet" type="text/css"> | ||
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,400" rel="stylesheet" type="text/css"> | ||
<link rel="stylesheet" type="text/css" href="/styles/main.css"> | ||
<link rel="stylesheet" type="text/css" href="/styles/prism.css"> | ||
</head> | ||
<body class="techniques"> | ||
<header> | ||
<div class="contain"> | ||
<h1><a href="/">csste.st</a></h1> | ||
<h2>The why and how of CSS testing.</h2> | ||
</div> | ||
<nav> | ||
<ul> | ||
<li class="techniques-nav"><a href="/techniques/">Techniques</a></li> | ||
<li class="tools-nav"><a href="/tools/">Tools</a></li> | ||
<li class="guides-nav"><a href="/guides/">Guides</a></li> | ||
<li class="getting-started-nav"><a href="/getting-started/">Getting started</a></li> | ||
</ul> | ||
<p>This site is a work in progress. Until it's ready, please <a href="http://csste.st/slides/">check out the slides</a>.</p> | ||
<p>If you want to help out, <a href="https://github.com/thingsinjars/csstest">fork the project.</a></p> | ||
</nav> | ||
</header> | ||
<div class="contain"> | ||
<section><h2>Computed style</h2> | ||
<p>This is related to the <a href="/techniques/frozen-dom.html">Frozen DOM</a> but aims to hold slightly fewer variables fixed to increase the flexibility of the tools. With this technique, the test unit contains the CSS selector required to access the element under test and a list of styles which should be applied to the element. Unlike the Frozen DOM, this technique does not keep a local copy of the project DOM. This means that it can be more reliable. If the selector is specific enough to refer to a single element but generic enough to match it anywhere, the page can be restructured or the content modifed without requiring a rewrite of all tests. | ||
|
||
</p> | ||
<p>This technique is called 'Computed Style' because most of the tools rely on measuring applied styles at runtime via the <code><a href="https://developer.mozilla.org/en-US/docs/Web/API/window.getComputedStyle">window.getComputedStyle</a></code> function of JavaScript. | ||
|
||
</p> | ||
<h3>Tools</h3> | ||
<ul> | ||
<li><a href="/tools/ghoststory.html">GhostStory</a></li> | ||
<li><a href="/tools/needle.html">Needle</a></li> | ||
<li><a href="/tools/cssunit.html">CSSunit</a></li> | ||
<li><a href="/tools/cssunit-shepard.html">cssUnit</a></li> | ||
<li><a href="/tools/css-test.html">CSS Test</a></li> | ||
</ul> | ||
|
||
</section> | ||
</div> | ||
<footer> | ||
<div class="contain"> | ||
<p>Curated by <a href="http://twitter.com/thingsinjars">Simon Madine</a></p> | ||
</div> | ||
</footer> | ||
<script src="/scripts/prism.js"></script> | ||
<script src="/scripts/prism.gherkin.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<link href="/images/favicon.png" rel="shortcut icon" type="image/png"> | ||
<link href="http://fonts.googleapis.com/css?family=Arvo:700" rel="stylesheet" type="text/css"> | ||
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,400" rel="stylesheet" type="text/css"> | ||
<link rel="stylesheet" type="text/css" href="/styles/main.css"> | ||
<link rel="stylesheet" type="text/css" href="/styles/prism.css"> | ||
</head> | ||
<body class="tools"> | ||
<header> | ||
<div class="contain"> | ||
<h1><a href="/">csste.st</a></h1> | ||
<h2>The why and how of CSS testing.</h2> | ||
</div> | ||
<nav> | ||
<ul> | ||
<li class="techniques-nav"><a href="/techniques/">Techniques</a></li> | ||
<li class="tools-nav"><a href="/tools/">Tools</a></li> | ||
<li class="guides-nav"><a href="/guides/">Guides</a></li> | ||
<li class="getting-started-nav"><a href="/getting-started/">Getting started</a></li> | ||
</ul> | ||
<p>This site is a work in progress. Until it's ready, please <a href="http://csste.st/slides/">check out the slides</a>.</p> | ||
<p>If you want to help out, <a href="https://github.com/thingsinjars/csstest">fork the project.</a></p> | ||
</nav> | ||
</header> | ||
<div class="contain"> | ||
<section><h2>Huxley</h2> | ||
<p>Huxley is a test-like system for catching visual regressions in Web applications using <a href="/techniques/image-diff.html">image diff</a> tests. | ||
|
||
</p> | ||
<p>An key feature of this tool is that the testing framework can be run in 'record' mode to capture test scenarios automatically. This greatly simplifies the process of creating the initial test cases. | ||
|
||
|
||
</p> | ||
<h3>Links</h3> | ||
<ul> | ||
<li><a href="https://github.com/facebook/huxley">Project site</a></li> | ||
</ul> | ||
|
||
</section> | ||
</div> | ||
<footer> | ||
<div class="contain"> | ||
<p>Curated by <a href="http://twitter.com/thingsinjars">Simon Madine</a></p> | ||
</div> | ||
</footer> | ||
<script src="/scripts/prism.js"></script> | ||
<script src="/scripts/prism.gherkin.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.