Skip to content

Commit

Permalink
#31 - Changing option for sending results to remote server in order t… (
Browse files Browse the repository at this point in the history
#32)

* #31 - Rename option for sending results to remote server in order to avoid collisions
  • Loading branch information
js-dieu committed Feb 5, 2021
1 parent 319e004 commit d22a6e7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions docs/sources/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog
=========

* :release:`1.5.1 <2021-02-05>`
* :bug:`#31` Rename option --remote as it seems to conflict with some plugins.

* :release:`1.5.0 <2020-11-20>`
* :feature:`25` Automatically gather CI build information (supported CI are Drone CI, Gitlab CI, Jenkins CI, Travis CI, Circle CI)
* :bug:`#23 major` psutil min requirement is now 5.1.0
Expand Down
2 changes: 1 addition & 1 deletion docs/sources/exploitation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ your Metrics and Execution Context (see below):

.. code-block:: shell
pytest --remote server:port
pytest --remote-server server:port
Execution Context, Metrics and Session
--------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/sources/remote.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ To do so, instruct pytest with the remote server address to use:

.. code-block:: shell
bash $> pytest --remote myremote.server.net:port
bash $> pytest --remote-server myremote.server.net:port
This way, *pytest-monitor* will automatically send and query the remote server as soon as it gets
a need. Note that *pytest-monitor* will revert to a normal behaviour if:
Expand Down
2 changes: 1 addition & 1 deletion pytest_monitor/pytest_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def pytest_addoption(parser):
help='Set this option to distinguish parametrized tests given their values.'
' This requires the parameters to be stringifiable.')
group.addoption('--no-monitor', action='store_true', dest='mtr_none', help='Disable all traces')
group.addoption('--remote', action='store', dest='mtr_remote',
group.addoption('--remote-server', action='store', dest='mtr_remote',
help='Remote server to send the results to. Format is <ADRESS>:<PORT>')
group.addoption('--db', action='store', dest='mtr_db_out', default='.pymon',
help='Use the given sqlite database for storing results.')
Expand Down

0 comments on commit d22a6e7

Please sign in to comment.