Sha256: d3cb6bf07a70d6f917b415b477019be807fefea88c10d4a2129a767b818eff86

Contents?: true

Size: 1.29 KB

Versions: 3

Compression:

Stored size: 1.29 KB

Contents

<!DOCTYPE html>
<html>
	<head>
		
			<title>Testing</title>
		
		<meta charset="UTF-8"/>
		
		<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="show">
		
	<nav> › <a href="../index.html">Wiki</a> › <a href="index.html">Testing</a></nav>

	
	<main>
		<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, <a href="https://github.com/socketry/covered">covered</a> 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>

	</main>
	
	<footer>
		Last Modified: 2020-04-28 11:35:36 +1200
		— testing/index.md
	</footer>

	</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
utopia-2.15.1 docs/testing/index.html
utopia-2.15.0 docs/testing/index.html
utopia-2.14.0 docs/testing/index.html