odoo/addons/website_forum
Xavier Morel 11ba4689b1 [IMP] running speed of some tests & new testcase type
Some tests (e.g. mail) have expensive and significant DB setup for a
number of small and cheap tests. Using a TransactionCase, the DB setup
far dominates the tests themselves, by up to 10x (mail unit tests take
~130s on my machine, the tests themselves take ~15s).

The SavepointCase introduced here is an hybrid of SingleTransactionCase
and TransactionCase: it uses a single transaction for all tests in a
class, but each test case is isolated by a rollbacked savepoint. This
allows a common DB setup (via setUpClass) while keeping independent
tests.

TransactionCase should remain the primary test case superclass, but
SavepointCase can be a fair optimisation when setup costs far dominate.
2015-06-23 16:38:14 +02:00
..
controllers [FIX] web, website_form_website_sale: form and login 2015-06-17 11:33:20 +02:00
data [FIX] website_forum{,_doc}: noupdate for website.menu 2015-02-20 14:55:07 +01:00
i18n [I18N] Update translation terms from Transifex 2015-06-08 14:03:50 +02:00
models [FIX] website_forum: check karma access on direct message edit/unlink too 2015-04-07 10:10:20 +02:00
security [FIX] website_forum: portal user are allowed to delete forum post 2014-08-20 16:14:09 +02:00
static [FIX] website_forum: comment deletion now working by calling the right url 2015-02-03 12:26:33 +01:00
tests [IMP] running speed of some tests & new testcase type 2015-06-23 16:38:14 +02:00
views [FIX] website_forum: description not translated 2015-01-15 15:37:31 +01:00
__init__.py [IMP] [TEST] website_forum: security fixes + tests 2014-10-23 11:36:03 +02:00
__openerp__.py [IMP] Updated website urls on modules and info page 2014-08-26 21:40:18 +02:00