mirror of
https://github.com/element-hq/synapse
synced 2024-08-18 23:50:52 +00:00
deploy: 5c429b86b4
This commit is contained in:
parent
9475d1aef0
commit
e0ec008517
4 changed files with 8 additions and 2 deletions
|
@ -255,6 +255,9 @@ Make sure that you have saved all your files.</p>
|
|||
was broken. They are slower than the linters but will typically catch more errors.</p>
|
||||
<pre><code class="language-sh">poetry run trial tests
|
||||
</code></pre>
|
||||
<p>You can run unit tests in parallel by specifying <code>-jX</code> argument to <code>trial</code> where <code>X</code> is the number of parallel runners you want. To use 4 cpu cores, you would run them like:</p>
|
||||
<pre><code class="language-sh">poetry run trial -j4 tests
|
||||
</code></pre>
|
||||
<p>If you wish to only run <em>some</em> unit tests, you may specify
|
||||
another module instead of <code>tests</code> - or a test class or a method:</p>
|
||||
<pre><code class="language-sh">poetry run trial tests.rest.admin.test_room tests.handlers.test_admin.ExfiltrateData.test_invite
|
||||
|
|
|
@ -14496,6 +14496,9 @@ Make sure that you have saved all your files.</p>
|
|||
was broken. They are slower than the linters but will typically catch more errors.</p>
|
||||
<pre><code class="language-sh">poetry run trial tests
|
||||
</code></pre>
|
||||
<p>You can run unit tests in parallel by specifying <code>-jX</code> argument to <code>trial</code> where <code>X</code> is the number of parallel runners you want. To use 4 cpu cores, you would run them like:</p>
|
||||
<pre><code class="language-sh">poetry run trial -j4 tests
|
||||
</code></pre>
|
||||
<p>If you wish to only run <em>some</em> unit tests, you may specify
|
||||
another module instead of <code>tests</code> - or a test class or a method:</p>
|
||||
<pre><code class="language-sh">poetry run trial tests.rest.admin.test_room tests.handlers.test_admin.ExfiltrateData.test_invite
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue