<?xml version="1.0" encoding="UTF-8"?>
<wiki>
  <body>&lt;p&gt;Taza was written with multiple [[Sites]] in mind. This means that Taza provides conventions for three types of testing.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;[[Functional Testing]] &amp;#8211; Tests one site, possibly in isolation from other [[Sites]]&lt;/li&gt;
	&lt;li&gt;[[Integration Testing]] &amp;#8211; Tests interactions between multiple sites in fully integrated environments&lt;/li&gt;
	&lt;li&gt;[[Story Testing]] &amp;#8211; Story/Feature testing (think &lt;a href=&quot;http://github.com/aslakhellesoy/cucumber&quot;&gt;Cucumber&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Because this terminology can be contentious it is important to understand how each of these types of testing relates to [[Sites]]. Taza provides generators for [[Functional Testing]] at the moment. Generators for [[Integration Testing]] and [[Story Testing]] are planned and coming soon. I&amp;#8217;m super serious.&lt;/p&gt;
&lt;p&gt;Here&amp;#8217;s an example of Taza&amp;#8217;s spec folder&lt;pre&gt;&lt;code&gt;spec/
|-- isolation
|-- integration
|-- spec_helper.rb
`-- story&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And after you generate a Site and Page by running&lt;pre&gt;&lt;code&gt;$ ./script/generate site google
$ ./script/generate page home google&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
The spec folder will look like&lt;pre&gt;&lt;code&gt;spec/
|-- isolation
|   `-- google
|       `-- home_page_spec.rb
|-- integration
|-- spec_helper.rb
`-- story&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;</body>
  <created-at type="datetime">2009-11-26T02:49:08-08:00</created-at>
  <id type="integer">89967</id>
  <permalink>writing-tests</permalink>
  <repository-id type="integer">59892</repository-id>
  <title>Writing Tests</title>
  <updated-at type="datetime">2009-03-06T14:29:46-08:00</updated-at>
  <user-id type="integer">51901</user-id>
</wiki>
