jarus/flask-testing — pull request #17 by poiati (2012-09-03 17:37:33+00:00)
Title: Introducing the 'render_templates' option

Now the developer can choose to not render the real templates when
running the test cases. This can be useful to isolate the tests from the
template.

Inspired in the RSpec Rails 'render_views':
https://www.relishapp.com/rspec/rspec-rails/v/2-0/docs/controller-specs/render-views

Example:

```python
class TestNotRenderTemplates(TestCase):

render_templates = False

def create_app(self):
return create_app()

def test_assert_not_process_the_template(self):
response = self.client.get("/template/")

assert "" == response.data

```

What you guys think? Thanks.