odoo/addons/survey
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] survey: avoid navigation crash 2015-01-16 17:24:15 +01:00
data [REF] OpenERP --> Odoo in various UI texts 2014-07-18 13:45:41 +02:00
i18n [I18N] Update translation terms from Transifex 2015-06-22 13:21:18 +02:00
security [FIX] survey: security rules mess with xmlids 2014-06-11 11:47:55 +02:00
static/src [FIX] survey: prefill glitch 2015-01-16 17:24:14 +01:00
views [FIX] survey: typo in domain 2014-09-18 13:50:20 +02:00
wizard [FIX] survey: Was browsing a browse record, useless and traceback... https://github.com/odoo/odoo/issues/2383 2014-11-25 15:06:59 +01:00
__init__.py [REF] Bye bye vim 2014-03-03 14:38:14 +01:00
__openerp__.py [DEL] Cleaning: key 'images' removed from all __openerp__.py 2015-01-06 14:20:38 +01:00
survey.py [FIX] survey: typo, quizz to quiz 2015-01-08 13:14:06 +01:00