Sha256: 9225b84328c19d61c1cb9c8260a9c4164ba5adc69cd79b2e94c9b7dc8e22089a

Contents?: true

Size: 1.53 KB

Versions: 31

Compression:

Stored size: 1.53 KB

Contents

<!DOCTYPE html>
<html>
	<head>
		
			<title>Testing - Utopia</title>
		
		<meta charset="UTF-8"/>
		
		<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"/>
		
		<link rel="icon" type="image/png" href="../_static/icon.png"/>
		<link rel="stylesheet" href="../_static/site.css" type="text/css" media="screen"/>
		
		<script src="../_components/jquery/jquery.min.js"></script>
		<script src="../_components/jquery-syntax/jquery.syntax.min.js"></script>
		
		<script type="text/javascript">
		//<![CDATA[
			jQuery(function($) {
				$.syntax();
			});
		//]]>
		</script>
	</head>

	<body class="">
		<header>
			<img src="../_static/utopia.svg"/>
		</header>

		<div id="page">
			
	<nav>
	 › <a href="../wiki.html">Wiki</a> › <a href="testing.html">Testing</a></nav>

	
	<h1 id="testing">Testing</h1>

<p>Utopia websites include a default set of tests, and associated <code>rake test</code> tasks. These specs can test against the actual running website. By default, <code>simplecov</code> is included for coverage testing.</p>

<pre><code class="language-bash">$ rake coverage test

my website
	should have an accessible front page

Finished in 0.44849 seconds (files took 0.15547 seconds to load)
1 example, 0 failures

Coverage report generated for RSpec. 5 / 5 LOC (100.0%) covered.
</code></pre>

	
	<footer>
		Last Modified: 2016-12-13 12:41:41 +1300 —
	</footer>

		</div>
	</body>
</html>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
utopia-2.13.4 docs/wiki/testing.html
utopia-2.13.3 docs/wiki/testing.html
utopia-2.13.2 docs/wiki/testing.html
utopia-2.13.1 docs/wiki/testing.html
utopia-2.13.0 docs/wiki/testing.html
utopia-2.12.4 docs/wiki/testing.html
utopia-2.12.3 docs/wiki/testing.html
utopia-2.12.2 docs/wiki/testing.html
utopia-2.12.1 docs/wiki/testing.html
utopia-2.12.0 docs/wiki/testing.html
utopia-2.11.1 docs/wiki/testing.html
utopia-2.11.0 docs/wiki/testing.html
utopia-2.10.0 docs/wiki/testing.html
utopia-2.9.5 docs/wiki/testing.html
utopia-2.9.3 docs/wiki/testing.html
utopia-2.9.2 docs/wiki/testing.html
utopia-2.9.1 docs/wiki/testing.html
utopia-2.9.0 docs/wiki/testing.html
utopia-2.8.2 docs/wiki/testing.html
utopia-2.8.1 docs/wiki/testing.html