The web checks of Odoo 20.0 (test_web, web) that look at every installed
model, bundle or menu, which this series of Odoo does not have yet or only runs
on demand (tags assets_bundle, click_all), run on the modules of the repository
under test (repo_to_check_quality, see test_viin_pylint):
- the form view of every model opens on a new record (its first onchange)
- the asset bundles the modules add files to generate without error
- Odoo's clickbot clicks the menus of the modules, with every view and filter
of each, as the administrator and as a regular user
Editions Supported
- Community Edition
- Enterprise Edition
Test Web Viin
test_web_viin runs, on the modules of the repository under test, the web
checks of Odoo 20.0 (test_web, web) that look at every installed model,
bundle or menu, which this series of Odoo does not have yet or only runs on
demand (tags assets_bundle, click_all). It ships no user interface: it is
driven by running its tests, after the installation of every module
(post_install).
What it checks
- test_onchange - the form view of every model a module of the repository
defines or extends opens on a new record: its first onchange, what a user
meets first when clicking New.
- test_assets - the asset bundles the modules of the repository add files
to generate without error: a file that does not exist, a stylesheet that
does not compile, an XML template that does not parse... Odoo generates
every bundle in a test, but to measure the time it takes, muting the errors;
the web client only shows them in the browser of a page loading the bundle.
The errors of the files of the other modules are not reported.
- test_click_everywhere - Odoo's clickbot clicks the menus of the modules
of the repository, in the apps they are in, as the administrator and as an
internal user with the lowest group of every application: it opens each
menu, switches to every view of it and clicks every filter of each view. The
other menus of these apps are hidden from it; the menus leaving the web
client (BLACKLISTED_MENUS, URL actions) are not clicked.
The repository under test is the one of test_viin_pylint
(repo_to_check_quality).
This software and associated files (the "Software") may only be
used
(executed, modified, executed after modifications) if you have
purchased a
valid license from the authors, typically via Odoo Apps,
or if you
have
received a written agreement from the authors of the
Software (see the
COPYRIGHT file).
You may develop Odoo modules that use the Software as a library
(typically
by depending on it, importing it and using its
resources), but
without
copying any source code or material from the
Software. You may distribute
those modules under the license of your
choice, provided that this
license
is compatible with the terms of
the Odoo Proprietary License (For
example:
LGPL, MIT, or proprietary
licenses similar to this one).
It is forbidden to publish, distribute, sublicense, or sell
copies of the
Software or modified copies of the Software.
The above copyright notice and this permission notice must be
included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT
SHALL THE
AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING
FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE
SOFTWARE.