gecko-dev/testing/mozharness
Andrew Halberstadt 0fa9f19bdf Bug 1335873 - Convert marionette harness unittests to standard python unittests, r=maja_zf
This formats the marionette-harness python tests to be a regular |mach python-test| suite. Though
we add subsuite=marionette, this is just for automation purposes. The new preferred way to run the
marionette harness tests locally is:
./mach python-test testing/marionette

They will also run if running the full suite.

The mozbase packages.txt file modifies mozlog to use 'setup.py' instead of 'pth'. The reason for
this is that the marionette-harness tests use the pytest_mozlog pytest plugin for formatting
their results (converts pytest format into something resembling the standard tbpl logging format).
In order for this plugin to get picked up however, mozlog's setup.py file needs to be processed.

MozReview-Commit-ID: Ata99evHxbd

--HG--
extra : rebase_source : 16ed70edd38a53c3279d8632d7cba3df4d5216c3
2017-02-15 16:38:45 -05:00
..
configs Bug 1342959 - Update merge day scripts after esr52 meges r=jlund DONTBUILD 2017-02-27 16:07:06 -05:00
docs Bug 1309593 - remove b2g, mulet, graphene, horizon references from mozharness. r=catlee 2016-10-12 19:20:02 +00:00
examples
external_tools Bug 1291926 - Vendor latest robustcheckout extension; r=me 2017-01-23 11:21:24 -08:00
mozfile
mozharness Bug 1342959 - Update merge day scripts after esr52 meges r=jlund DONTBUILD 2017-02-27 16:07:06 -05:00
mozinfo
mozprocess
scripts Bug 1335873 - Convert marionette harness unittests to standard python unittests, r=maja_zf 2017-02-15 16:38:45 -05:00
test Bug 1272083 - Download and unpacking should be performed in process. r=gps 2016-08-25 11:04:16 -04:00
LICENSE
README.txt Bug 1240733 - Improve tox configuration for optional arguments. r=jlund DONTBUILD 2016-01-20 11:01:19 +01:00
mach_commands.py Bug 1263230 - Remove in-tree references to IPC/OOP reftest modes. r=ahal 2016-11-07 08:59:49 -05:00
requirements.txt Bug 1278103 - Google update their api client. Needs to update the client r=jlund 2016-06-13 15:31:50 +01:00
setup.cfg
setup.py
tox.ini Bug 1270317 - Upgrade to Mercurial 3.7.3 in the mozharness test environment; r=jlund 2016-05-06 10:49:08 -07:00
unit.sh

README.txt

# Mozharness

## Docs
* https://developer.mozilla.org/en-US/docs/Mozharness_FAQ
* https://wiki.mozilla.org/ReleaseEngineering/Mozharness
* http://moz-releng-mozharness.readthedocs.org/en/latest/mozharness.mozilla.html
* http://moz-releng-docs.readthedocs.org/en/latest/software.html#mozharness

## Submitting changes
Like any Gecko change, please create a patch or submit to Mozreview and
open a Bugzilla ticket under the Mozharness component:
https://bugzilla.mozilla.org/enter_bug.cgi?product=Release%20Engineering&component=Mozharness

This bug will get triaged by Release Engineering

## Run unit tests
To run the unit tests of mozharness the `tox` package needs to be installed:

```
pip install tox
```

There are various ways to run the unit tests. Just make sure you are within the `$gecko_repo/testing/mozharness` directory before running one of the commands below:

```
tox                            # run all unit tests
tox -- -x                      # run all unit tests but stop after first failure
tox -- test/test_base_log.py   # only run the base log unit test
```

Happy contributing! =)