Karl Hobley
503f1cbaf8
Added comment into runtests.py to explain why we're using DatabaseCache
2014-05-02 12:33:20 +01:00
Karl Hobley
360174e230
Use database cache for testing
...
Currently, the cache is not flushed between tests.
This can cause false positives where a previous test has been messing with cache keys which a future test uses (eg, wagtail_root_paths)
This commit makes django use the database as the cache which is automatically flushed between tests
2014-05-02 11:45:31 +01:00
Matt Westcott
16ca3ce280
Add MySQL to tox tests
2014-05-01 12:21:17 +01:00
Matt Westcott
aa09c442a2
add tox test environment for sqlite, and include elasticsearch
2014-04-24 15:34:59 +01:00
Matt Westcott
46d594230d
Add hooks to insert custom CSS/JS into the editor interface
2014-04-04 15:50:39 +01:00
Matt Westcott
4f807cb4e2
Add page permission tests (and fix the ever-so-subtle bug in preventing moves into a descendant page)
2014-03-04 15:47:16 +00:00
Matt Westcott
d7e5c33c1a
Refactor wagtailsearch tests so that WAGTAILSEARCH_BACKENDS in runtests.py is the definitive list of which backends should be tested
2014-03-03 12:33:14 +00:00
Karl Hobley
334744abd9
Merge branch 'tests' into search-changes
...
Conflicts:
runtests.py
2014-02-23 23:04:35 +00:00
Karl Hobley
4655e19f1a
Added some more wagtailadmin tests
2014-02-23 23:02:30 +00:00
Karl Hobley
46304a31b3
Search: Database backend is now default for tests
2014-02-23 22:28:09 +00:00
Karl Hobley
a3d8511f0b
Merge branch 'tests' into search-changes
...
Conflicts:
runtests.py
2014-02-23 16:13:58 +00:00
Karl Hobley
451f133d3b
Added test-media folder
2014-02-23 14:57:33 +00:00
Karl Hobley
8f3b846e6c
Added ElasticSearch configuration to tests
2014-02-21 22:16:02 +00:00
Karl Hobley
553d718e5a
Revert "Added ElasticSearch backend to tests settings"
...
This reverts commit 28a77c6071
.
2014-02-20 22:08:44 +00:00
Karl Hobley
28a77c6071
Added ElasticSearch backend to tests settings
2014-02-20 21:59:54 +00:00
Karl Hobley
cca1fc0e52
Added test models
2014-02-20 21:32:51 +00:00
Karl Hobley
129f9bdbeb
Add django.contrib.admin to test settings
2014-02-18 09:22:51 +00:00
Karl Hobley
a4e566be15
Revert "Disable compression for tests"
...
This reverts commit 72a6982821
.
2014-02-18 09:21:05 +00:00
Karl Hobley
72a6982821
Disable compression for tests
2014-02-17 12:11:35 +00:00
Matt Westcott
c9202bbd8e
PEP8 fixes from #41
2014-02-17 11:03:41 +00:00
Karl Hobley
a9d4a70275
Added MIDDLEWARE_CLASSES to runtests.py settings
2014-02-14 17:17:31 +00:00
Matt Westcott
e419cc0618
ensure that test-static gets torn down even if tests fail
2014-02-13 12:53:52 +00:00
Matt Westcott
a77977a31c
add a general test runner for wagtail, accessible by running './runtests.py' or 'make test' from the wagtail repo, or 'manage.py test wagtail' from a django project such as wagtaildemo
2014-02-13 12:44:49 +00:00