Skip to content

Commit

Permalink
Merge 0c8da20 into 083a978
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrunn committed Aug 14, 2019
2 parents 083a978 + 0c8da20 commit 9cd32b6
Show file tree
Hide file tree
Showing 11 changed files with 1,115 additions and 0 deletions.
89 changes: 89 additions & 0 deletions base_test_chrome/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
=========================
Run JS tests using chrome
=========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github
:target: https://github.com/OCA/server-tools/tree/8.0/base_test_chrome
:alt: OCA/server-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/server-tools-8-0/server-tools-8-0-base_test_chrome
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/149/8.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This addon makes Odoo v12's chrome based tests available for lower versions in order not to constantly have to work around phantomjs quirks.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

#. depend on it
#. import ``openerp.addons.base_test_chrome.common.HttpCase``
#. use this the same way you'd use ``openerp.tests.common.HttpCase``

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-tools/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/server-tools/issues/new?body=module:%20base_test_chrome%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Therp BV
* Odoo SA

Contributors
~~~~~~~~~~~~

* Holger Brunn <hbrunn@therp.nl>

Other credits
~~~~~~~~~~~~~

* Odoo SA: `Actual implementation <https://github.com/odoo/odoo/blob/46d12675a7273d2a4e513644016e9a06e9d7ae64/odoo/tests/common.py>`_.
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/server-tools <https://github.com/OCA/server-tools/tree/8.0/base_test_chrome>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions base_test_chrome/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-
# Copyright 2019 Therp BV <https://therp.nl>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from . import common
17 changes: 17 additions & 0 deletions base_test_chrome/__openerp__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# -*- coding: utf-8 -*-
# Copyright 2019 Therp BV <https://therp.nl>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Run JS tests using chrome",
"version": "8.0.1.0.0",
"author": "Therp BV,Odoo Community Association (OCA),Odoo SA",
"license": "LGPL-3",
"category": "Tools",
"summary": "Use a modern browser for running client side tests",
"depends": [
'web',
],
"external_dependencies": {
'python': ['websocket'],
},
}
Loading

0 comments on commit 9cd32b6

Please sign in to comment.