File tree 1 file changed +14
-3
lines changed
1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,26 @@ What it takes to add a new reactor:
8
8
9
9
* In ``testing/test_basic.py ``
10
10
11
- * Add ``test_blockon_in_hook_with_foo() `` decorated by `` @ skip_if_reactor_not('foo') ``
12
- * Add ``test_wrong_reactor_with_foo() `` decorated by `` @ skip_if_reactor_not('foo') ``
11
+ * Add ``test_blockon_in_hook_with_foo() `` with `` skip_if_reactor_not('foo') `` as the first line
12
+ * Add ``test_wrong_reactor_with_foo() `` with `` skip_if_reactor_not('foo') `` as the first line
13
13
14
14
* In ``tox.ini ``
15
15
16
16
* Adjust ``envlist `` to include the ``fooreactor `` factor for the appropriate versions of Python
17
17
* Add conditional ``deps `` for the new reactor such as ``foo: foobar `` to the appropriate test environments
18
- * Add the conditional assignment `` foo: reactor_option =foo `` to `` setenv `` in the appropriate test environments
18
+ * Add `` fooreactor: pytest --reactor =foo `` to the commands list
19
19
20
20
* In ``.travis.yml ``
21
21
22
22
* Consider any extra system packages which may be required
23
+
24
+ * In ``appveyor.yml ``
25
+
26
+ * Add the new reactor environment to the ``TOXENV `` for each relevant Python
27
+
28
+ Reference reactor additions:
29
+ * `asyncio `_
30
+ * `qt5reactor `_
31
+
32
+ .. _`asyncio` : https://github.com/pytest-dev/pytest-twisted/pull/63
33
+ .. _`qt5reactor` : https://github.com/pytest-dev/pytest-twisted/pull/16
You can’t perform that action at this time.
0 commit comments