Skip to content

Commit

Permalink
Add a --debug (-d) flag to ddev env test (#12379)
Browse files Browse the repository at this point in the history
This gets passed to the main test command and has the same behaviour
as that for `ddev test`. f2b96f8
  • Loading branch information
alopezz committed Jun 20, 2022
1 parent 3e5b56c commit 546ca6c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ddev/cli/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</code></pre></div> <p><strong>Options:</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> </thead> <tbody> <tr> <td><code>-c</code>, <code>--exec-command</code></td> <td>text</td> <td>Optionally execute command inside container, executes after any installs</td> <td>None</td> </tr> <tr> <td><code>-v</code>, <code>--install-vim</code></td> <td>boolean</td> <td>Optionally install editing/viewing tools vim and less</td> <td><code>False</code></td> </tr> <tr> <td><code>-i</code>, <code>--install-tools</code></td> <td>text</td> <td>Optionally install custom tools</td> <td>None</td> </tr> <tr> <td><code>--help</code></td> <td>boolean</td> <td>Show this message and exit.</td> <td><code>False</code></td> </tr> </tbody> </table> <h3 id=ddev-env-start>ddev env start<a class=headerlink href=#ddev-env-start title="Permanent link">&para;</a></h3> <p>Start an environment.</p> <p><strong>Usage:</strong></p> <div class=highlight><pre><span></span><code>ddev env start [OPTIONS] CHECK ENV
</code></pre></div> <p><strong>Options:</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> </thead> <tbody> <tr> <td><code>--agent</code>, <code>-a</code></td> <td>text</td> <td>The agent build to use e.g. a Docker image like <code>datadog/agent:latest</code>. You can also use the name of an agent defined in the <code>agents</code> configuration section.</td> <td>None</td> </tr> <tr> <td><code>--python</code>, <code>-py</code></td> <td>integer</td> <td>The version of Python to use. Defaults to 3 if no tox Python is specified.</td> <td>None</td> </tr> <tr> <td><code>--dev</code> / <code>--prod</code></td> <td>boolean</td> <td>Whether to use the latest version of a check or what is shipped</td> <td><code>False</code></td> </tr> <tr> <td><code>--base</code></td> <td>boolean</td> <td>Whether to use the latest version of the base check or what is shipped</td> <td><code>False</code></td> </tr> <tr> <td><code>--env-vars</code>, <code>-e</code></td> <td>text</td> <td>ENV Variable that should be passed to the Agent container. Ex: -e DD_URL=app.datadoghq.com -e DD_API_KEY=123456</td> <td>None</td> </tr> <tr> <td><code>--org-name</code>, <code>-o</code></td> <td>text</td> <td>The org to use for data submission.</td> <td>None</td> </tr> <tr> <td><code>--profile-memory</code>, <code>-pm</code></td> <td>boolean</td> <td>Whether to collect metrics about memory usage</td> <td><code>False</code></td> </tr> <tr> <td><code>--dogstatsd</code></td> <td>boolean</td> <td>Enable dogstatsd port on agent</td> <td><code>False</code></td> </tr> <tr> <td><code>--help</code></td> <td>boolean</td> <td>Show this message and exit.</td> <td><code>False</code></td> </tr> </tbody> </table> <h3 id=ddev-env-stop>ddev env stop<a class=headerlink href=#ddev-env-stop title="Permanent link">&para;</a></h3> <p>Stop environments, use "all" as check argument to stop everything.</p> <p><strong>Usage:</strong></p> <div class=highlight><pre><span></span><code>ddev env stop [OPTIONS] CHECK [ENV]
</code></pre></div> <p><strong>Options:</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> </thead> <tbody> <tr> <td><code>--help</code></td> <td>boolean</td> <td>Show this message and exit.</td> <td><code>False</code></td> </tr> </tbody> </table> <h3 id=ddev-env-test>ddev env test<a class=headerlink href=#ddev-env-test title="Permanent link">&para;</a></h3> <p>Test an environment.</p> <p><strong>Usage:</strong></p> <div class=highlight><pre><span></span><code>ddev env test [OPTIONS] [CHECKS]...
</code></pre></div> <p><strong>Options:</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> </thead> <tbody> <tr> <td><code>--agent</code>, <code>-a</code></td> <td>text</td> <td>The agent build to use e.g. a Docker image like <code>datadog/agent:latest</code>. You can also use the name of an agent defined in the <code>agents</code> configuration section.</td> <td>None</td> </tr> <tr> <td><code>--python</code>, <code>-py</code></td> <td>integer</td> <td>The version of Python to use. Defaults to 3 if no tox Python is specified.</td> <td>None</td> </tr> <tr> <td><code>--dev</code> / <code>--prod</code></td> <td>boolean</td> <td>Whether to use the latest version of a check or what is shipped</td> <td>None</td> </tr> <tr> <td><code>--base</code></td> <td>boolean</td> <td>Whether to use the latest version of the base check or what is shipped</td> <td><code>False</code></td> </tr> <tr> <td><code>--env-vars</code>, <code>-e</code></td> <td>text</td> <td>ENV Variable that should be passed to the Agent container. Ex: -e DD_URL=app.datadoghq.com -e DD_API_KEY=123456</td> <td>None</td> </tr> <tr> <td><code>--new-env</code>, <code>-ne</code></td> <td>boolean</td> <td>Execute setup and tear down actions</td> <td><code>False</code></td> </tr> <tr> <td><code>--profile-memory</code>, <code>-pm</code></td> <td>boolean</td> <td>Whether to collect metrics about memory usage</td> <td><code>False</code></td> </tr> <tr> <td><code>--junit</code>, <code>-j</code></td> <td>boolean</td> <td>Generate junit reports</td> <td><code>False</code></td> </tr> <tr> <td><code>--ddtrace</code></td> <td>boolean</td> <td>Run tests using dd-trace-py</td> <td><code>False</code></td> </tr> <tr> <td><code>--filter</code>, <code>-k</code></td> <td>text</td> <td>Only run tests matching given substring expression</td> <td>None</td> </tr> <tr> <td><code>--changed</code></td> <td>boolean</td> <td>Only test changed checks</td> <td><code>False</code></td> </tr> <tr> <td><code>--help</code></td> <td>boolean</td> <td>Show this message and exit.</td> <td><code>False</code></td> </tr> </tbody> </table> <h2 id=ddev-meta>ddev meta<a class=headerlink href=#ddev-meta title="Permanent link">&para;</a></h2> <p>Anything here should be considered experimental.</p> <p>This <code>meta</code> namespace can be used for an arbitrary number of niche or beta features without bloating the root namespace.</p> <p><strong>Usage:</strong></p> <div class=highlight><pre><span></span><code>ddev meta [OPTIONS] COMMAND [ARGS]...
</code></pre></div> <p><strong>Options:</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> </thead> <tbody> <tr> <td><code>--agent</code>, <code>-a</code></td> <td>text</td> <td>The agent build to use e.g. a Docker image like <code>datadog/agent:latest</code>. You can also use the name of an agent defined in the <code>agents</code> configuration section.</td> <td>None</td> </tr> <tr> <td><code>--python</code>, <code>-py</code></td> <td>integer</td> <td>The version of Python to use. Defaults to 3 if no tox Python is specified.</td> <td>None</td> </tr> <tr> <td><code>--dev</code> / <code>--prod</code></td> <td>boolean</td> <td>Whether to use the latest version of a check or what is shipped</td> <td>None</td> </tr> <tr> <td><code>--base</code></td> <td>boolean</td> <td>Whether to use the latest version of the base check or what is shipped</td> <td><code>False</code></td> </tr> <tr> <td><code>--env-vars</code>, <code>-e</code></td> <td>text</td> <td>ENV Variable that should be passed to the Agent container. Ex: -e DD_URL=app.datadoghq.com -e DD_API_KEY=123456</td> <td>None</td> </tr> <tr> <td><code>--new-env</code>, <code>-ne</code></td> <td>boolean</td> <td>Execute setup and tear down actions</td> <td><code>False</code></td> </tr> <tr> <td><code>--profile-memory</code>, <code>-pm</code></td> <td>boolean</td> <td>Whether to collect metrics about memory usage</td> <td><code>False</code></td> </tr> <tr> <td><code>--junit</code>, <code>-j</code></td> <td>boolean</td> <td>Generate junit reports</td> <td><code>False</code></td> </tr> <tr> <td><code>--ddtrace</code></td> <td>boolean</td> <td>Run tests using dd-trace-py</td> <td><code>False</code></td> </tr> <tr> <td><code>--filter</code>, <code>-k</code></td> <td>text</td> <td>Only run tests matching given substring expression</td> <td>None</td> </tr> <tr> <td><code>--changed</code></td> <td>boolean</td> <td>Only test changed checks</td> <td><code>False</code></td> </tr> <tr> <td><code>--debug</code>, <code>-d</code></td> <td>boolean</td> <td>Set the log level to debug</td> <td><code>False</code></td> </tr> <tr> <td><code>--help</code></td> <td>boolean</td> <td>Show this message and exit.</td> <td><code>False</code></td> </tr> </tbody> </table> <h2 id=ddev-meta>ddev meta<a class=headerlink href=#ddev-meta title="Permanent link">&para;</a></h2> <p>Anything here should be considered experimental.</p> <p>This <code>meta</code> namespace can be used for an arbitrary number of niche or beta features without bloating the root namespace.</p> <p><strong>Usage:</strong></p> <div class=highlight><pre><span></span><code>ddev meta [OPTIONS] COMMAND [ARGS]...
</code></pre></div> <p><strong>Options:</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> </thead> <tbody> <tr> <td><code>--help</code></td> <td>boolean</td> <td>Show this message and exit.</td> <td><code>False</code></td> </tr> </tbody> </table> <h3 id=ddev-meta-catalog>ddev meta catalog<a class=headerlink href=#ddev-meta-catalog title="Permanent link">&para;</a></h3> <p>Create a catalog with information about integrations</p> <p><strong>Usage:</strong></p> <div class=highlight><pre><span></span><code>ddev meta catalog [OPTIONS] CHECKS...
</code></pre></div> <p><strong>Options:</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> </thead> <tbody> <tr> <td><code>-f</code>, <code>--file</code></td> <td>text</td> <td>Output to file (it will be overwritten), you can pass "tmp" to generate a temporary file</td> <td>None</td> </tr> <tr> <td><code>--markdown</code>, <code>-m</code></td> <td>boolean</td> <td>Output to markdown instead of CSV</td> <td><code>False</code></td> </tr> <tr> <td><code>--help</code></td> <td>boolean</td> <td>Show this message and exit.</td> <td><code>False</code></td> </tr> </tbody> </table> <h3 id=ddev-meta-changes>ddev meta changes<a class=headerlink href=#ddev-meta-changes title="Permanent link">&para;</a></h3> <p>Show changes since a specific date.</p> <p><strong>Usage:</strong></p> <div class=highlight><pre><span></span><code>ddev meta changes [OPTIONS] SINCE
</code></pre></div> <p><strong>Options:</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> </thead> <tbody> <tr> <td><code>--out</code>, <code>-o</code></td> <td>boolean</td> <td>Output to file</td> <td><code>False</code></td> </tr> <tr> <td><code>--eager</code></td> <td>boolean</td> <td>Skip validation of commit subjects</td> <td><code>False</code></td> </tr> <tr> <td><code>--help</code></td> <td>boolean</td> <td>Show this message and exit.</td> <td><code>False</code></td> </tr> </tbody> </table> <h3 id=ddev-meta-create-example-commits>ddev meta create-example-commits<a class=headerlink href=#ddev-meta-create-example-commits title="Permanent link">&para;</a></h3> <p>Create branch commits from example repo</p> <p><strong>Usage:</strong></p> <div class=highlight><pre><span></span><code>ddev meta create-example-commits [OPTIONS] SOURCE_DIR
Expand Down
2 changes: 1 addition & 1 deletion meta/status/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

0 comments on commit 546ca6c

Please sign in to comment.