<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/web/static/test/testing.js, branch 14.0</title>
<subtitle>The current checkout of upstream Odoo</subtitle>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/'/>
<entry>
<title>[REF] web, *: redesign all JS views</title>
<updated>2017-04-11T17:44:38+00:00</updated>
<author>
<name>Géry Debongnie</name>
<email>ged@odoo.com</email>
</author>
<published>2017-03-05T09:05:56+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=905e01921f3c3ef43ace6fc537d1d8c0d280002c'/>
<id>905e01921f3c3ef43ace6fc537d1d8c0d280002c</id>
<content type='text'>
This commit introduce a full redesign of all JS views.  We started
basically from scratch.  The goal was to unify all the various views
under a common framework, to make them testable, to make then usable in
different conditions (in studio, or in the frontend), and to make our
lives easier.

Some important points are:
- we introduced new coding guidelines (camelCase, 80 chars width, ...)
- we have a brand new testing framework (still QUnit based)
- kanban view moved to the web addon
- calendar view (formerly web_calender) moved to web as well
- the tree view was removed
- all new code should be documented

We hope that this code is the start of a new era for the Odoo web
client, we want to have a high quality codebase, well documented, well
tested, well designed.

Work done by the framework team: mostly aab, ged, chm, dmo, qsm
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit introduce a full redesign of all JS views.  We started
basically from scratch.  The goal was to unify all the various views
under a common framework, to make them testable, to make then usable in
different conditions (in studio, or in the frontend), and to make our
lives easier.

Some important points are:
- we introduced new coding guidelines (camelCase, 80 chars width, ...)
- we have a brand new testing framework (still QUnit based)
- kanban view moved to the web addon
- calendar view (formerly web_calender) moved to web as well
- the tree view was removed
- all new code should be documented

We hope that this code is the start of a new era for the Odoo web
client, we want to have a high quality codebase, well documented, well
tested, well designed.

Work done by the framework team: mostly aab, ged, chm, dmo, qsm
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] web: Remove tiny code duplication</title>
<updated>2017-03-03T09:17:41+00:00</updated>
<author>
<name>Leonardo Rochael Almeida</name>
<email>leorochael@gmail.com</email>
</author>
<published>2016-12-30T12:53:41+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=6eb15a6263dea13e91ed4ffa7a0a43742748cc87'/>
<id>6eb15a6263dea13e91ed4ffa7a0a43742748cc87</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web: QUnit context in js tests</title>
<updated>2017-03-03T09:17:33+00:00</updated>
<author>
<name>Leonardo Rochael Almeida</name>
<email>leorochael@gmail.com</email>
</author>
<published>2016-12-30T13:13:34+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=bf8cc11e7e8bae4b3c49e5cb76a1556a6abfdea6'/>
<id>bf8cc11e7e8bae4b3c49e5cb76a1556a6abfdea6</id>
<content type='text'>
Previously, the context for `options.{before,after}Each()` functions was
isolated from the context created by the odoo `test` function, making
it impossible to save attributes in the test during
`options.beforeEach()` that are accessible from the test itself, or to
clear resources created in the test in `options.afterEach()`

Moreover, the odoo test infrastructure was set up completely inside the
test wrapper, after `options.beforeContext()` had already run, making
it impossible for `options.beforeContext()` to use this infrastructure.

Here we use the QUnit context directly in the test, but move the
initialization previously done in the test wrapper to a `beforeEach`
wrapper (and, symetrically, on `afterEach`), making it possible to use
the odoo infrastructure in the javascript test setup, including
declared section dependencies.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, the context for `options.{before,after}Each()` functions was
isolated from the context created by the odoo `test` function, making
it impossible to save attributes in the test during
`options.beforeEach()` that are accessible from the test itself, or to
clear resources created in the test in `options.afterEach()`

Moreover, the odoo test infrastructure was set up completely inside the
test wrapper, after `options.beforeContext()` had already run, making
it impossible for `options.beforeContext()` to use this infrastructure.

Here we use the QUnit context directly in the test, but move the
initialization previously done in the test wrapper to a `beforeEach`
wrapper (and, symetrically, on `afterEach`), making it possible to use
the odoo infrastructure in the javascript test setup, including
declared section dependencies.
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web: prevent some rpcs in tests</title>
<updated>2016-06-17T11:32:38+00:00</updated>
<author>
<name>Géry Debongnie</name>
<email>ged@odoo.com</email>
</author>
<published>2016-06-16T14:03:46+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=77e20f57d2cba906e27a97011cb3be54e819f06e'/>
<id>77e20f57d2cba906e27a97011cb3be54e819f06e</id>
<content type='text'>
each time a js test is run, it used to start the chat manager, which
does a rpc.  This simply prevent the chat manager to start.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
each time a js test is run, it used to start the chat manager, which
does a rpc.  This simply prevent the chat manager to start.
</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] web, *: move QWeb odoo init to web.QWeb</title>
<updated>2016-06-17T11:27:18+00:00</updated>
<author>
<name>Géry Debongnie</name>
<email>ged@odoo.com</email>
</author>
<published>2016-06-16T11:19:15+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=d56b35e26e4b578c5f6f434d336edd006d321860'/>
<id>d56b35e26e4b578c5f6f434d336edd006d321860</id>
<content type='text'>
this js module centralizes all odoo initialization
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this js module centralizes all odoo initialization
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] update tests to new module system</title>
<updated>2015-03-18T08:23:37+00:00</updated>
<author>
<name>Géry Debongnie</name>
<email>ged@odoo.com</email>
</author>
<published>2015-03-17T07:51:56+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=ebc39b8788e39f867112b0ec4e8b029fe4a71acb'/>
<id>ebc39b8788e39f867112b0ec4e8b029fe4a71acb</id>
<content type='text'>
Various tests (mostly tours) were broken with the large changes in the
way the js code works.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Various tests (mostly tours) were broken with the large changes in the
way the js code works.
</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] web: update test suite to new module system</title>
<updated>2015-03-18T08:01:50+00:00</updated>
<author>
<name>Géry Debongnie</name>
<email>ged@odoo.com</email>
</author>
<published>2015-03-09T15:41:14+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=b960f8ad525b34564040c8c08e38106a45dad50c'/>
<id>b960f8ad525b34564040c8c08e38106a45dad50c</id>
<content type='text'>
The test suite needs to be adapted to the modules.  Also, the update
of qunit changes the API, so the tests needs to be changed as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test suite needs to be adapted to the modules.  Also, the update
of qunit changes the API, so the tests needs to be changed as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>Applied jshint on test files and corrected errors</title>
<updated>2013-07-25T11:24:16+00:00</updated>
<author>
<name>niv-openerp</name>
<email>nicolas.vanhoren@openerp.com</email>
</author>
<published>2013-07-25T11:24:16+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=17ba69eb5229c81a771c88f376c122b333642fc6'/>
<id>17ba69eb5229c81a771c88f376c122b333642fc6</id>
<content type='text'>
bzr revid: nicolas.vanhoren@openerp.com-20130725112416-j6wbm254yx05i890</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: nicolas.vanhoren@openerp.com-20130725112416-j6wbm254yx05i890</pre>
</div>
</content>
</entry>
<entry>
<title>[REM] test runner feature which probably caused more trouble than it caught</title>
<updated>2012-11-16T10:55:54+00:00</updated>
<author>
<name>Xavier Morel</name>
<email>xmo@openerp.com</email>
</author>
<published>2012-11-16T10:55:54+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=e1e4c48c181319b01e44c78d94a999e91c515ba0'/>
<id>e1e4c48c181319b01e44c78d94a999e91c515ba0</id>
<content type='text'>
avoid catching exception in executed callback, it just hinders debugging by generated completely bonkers traces

bzr revid: xmo@openerp.com-20121116105554-hu45anetrj1a8tl6</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
avoid catching exception in executed callback, it just hinders debugging by generated completely bonkers traces

bzr revid: xmo@openerp.com-20121116105554-hu45anetrj1a8tl6</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] deferred.pipe -&gt; deferred.then</title>
<updated>2012-11-16T10:14:17+00:00</updated>
<author>
<name>Xavier Morel</name>
<email>xmo@openerp.com</email>
</author>
<published>2012-11-16T10:14:17+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=796e80ec2dafbd05e35dd7baf00f215393e9260c'/>
<id>796e80ec2dafbd05e35dd7baf00f215393e9260c</id>
<content type='text'>
bzr revid: xmo@openerp.com-20121116101417-mkcjrdtocl6w7408</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: xmo@openerp.com-20121116101417-mkcjrdtocl6w7408</pre>
</div>
</content>
</entry>
</feed>
