Skip to content
angupta edited this page Sep 13, 2010 · 5 revisions

Taza was written with multiple Sites in mind. This means that Taza provides conventions for three types of testing.

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’m super serious.

Here’s an example of Taza’s spec folder

spec/
|-- isolation
|-- integration
|-- spec_helper.rb
`-- story

And after you generate a Site and Page by running

$ ./script/generate site google
$ ./script/generate page home google

The spec folder will look like
spec/
|-- isolation
|   `-- google
|       `-- home_page_spec.rb
|-- integration
|-- spec_helper.rb
`-- story
Clone this wiki locally