Skip to content

Commit

Permalink
Deploy website
Browse files Browse the repository at this point in the history
Deploy website version based on b277e32
  • Loading branch information
Docusaurus bot committed Jan 13, 2024
1 parent 92f2ca6 commit 3e28b51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/airspec.html
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ <h2><a class="anchor" aria-hidden="true" id="running-tests-in-sbt"></a><a href="
&gt; testOnly -- (pattern)/(pattern) # <span class="hljs-type">Run</span> nested tests matching the nested pattern (/ is a dlimiter)

# <span class="hljs-type">Configure</span> log levels of airframe-log
&gt; testOnly -- -l (level) # <span class="hljs-type">Set</span> the <span class="hljs-keyword">default</span> log level
&gt; testOnly -- -<span class="hljs-type">L</span>(<span class="hljs-keyword">package</span>):(level) # <span class="hljs-type">Set</span> log level <span class="hljs-keyword">for</span> a <span class="hljs-keyword">package</span>
&gt; testOnly -- -l (level) # <span class="hljs-type">Set</span> the log level <span class="hljs-keyword">for</span> the test target classes
&gt; testOnly -- -<span class="hljs-type">L</span>(<span class="hljs-keyword">package</span>):(level) # <span class="hljs-type">Set</span> log level <span class="hljs-keyword">for</span> a specific <span class="hljs-keyword">package</span> or <span class="hljs-class"><span class="hljs-keyword">class</span></span>

# sbt<span class="hljs-symbol">'s</span> <span class="hljs-keyword">default</span> test functionalities:
&gt; testQuick # <span class="hljs-type">Run</span> only previously failed test specs
Expand All @@ -231,6 +231,7 @@ <h3><a class="anchor" aria-hidden="true" id="configure-log-levels"></a><a href="
<p>AirSpec natively supports <a href="https://wvlet.org/airframe/docs/airframe-log.html">airframe-log</a> for logging. To temporally change the log level, use <code>-l (log level)</code> option:</p>
<pre><code class="hljs css language-scala">&gt; testOnly -- -l debug
</code></pre>
<p>This will set the log level to debug for all test classes.</p>
<p>To change the log level only for a specific package or a class, use <code>-L(package or class)=(log level)</code> option:</p>
<pre><code class="hljs css language-scala">&gt; testOnly -- -<span class="hljs-type">Lorg</span>.mydomain.myapp:debug
</code></pre>
Expand Down
5 changes: 3 additions & 2 deletions docs/airspec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ <h2><a class="anchor" aria-hidden="true" id="running-tests-in-sbt"></a><a href="
&gt; testOnly -- (pattern)/(pattern) # <span class="hljs-type">Run</span> nested tests matching the nested pattern (/ is a dlimiter)

# <span class="hljs-type">Configure</span> log levels of airframe-log
&gt; testOnly -- -l (level) # <span class="hljs-type">Set</span> the <span class="hljs-keyword">default</span> log level
&gt; testOnly -- -<span class="hljs-type">L</span>(<span class="hljs-keyword">package</span>):(level) # <span class="hljs-type">Set</span> log level <span class="hljs-keyword">for</span> a <span class="hljs-keyword">package</span>
&gt; testOnly -- -l (level) # <span class="hljs-type">Set</span> the log level <span class="hljs-keyword">for</span> the test target classes
&gt; testOnly -- -<span class="hljs-type">L</span>(<span class="hljs-keyword">package</span>):(level) # <span class="hljs-type">Set</span> log level <span class="hljs-keyword">for</span> a specific <span class="hljs-keyword">package</span> or <span class="hljs-class"><span class="hljs-keyword">class</span></span>

# sbt<span class="hljs-symbol">'s</span> <span class="hljs-keyword">default</span> test functionalities:
&gt; testQuick # <span class="hljs-type">Run</span> only previously failed test specs
Expand All @@ -231,6 +231,7 @@ <h3><a class="anchor" aria-hidden="true" id="configure-log-levels"></a><a href="
<p>AirSpec natively supports <a href="https://wvlet.org/airframe/docs/airframe-log.html">airframe-log</a> for logging. To temporally change the log level, use <code>-l (log level)</code> option:</p>
<pre><code class="hljs css language-scala">&gt; testOnly -- -l debug
</code></pre>
<p>This will set the log level to debug for all test classes.</p>
<p>To change the log level only for a specific package or a class, use <code>-L(package or class)=(log level)</code> option:</p>
<pre><code class="hljs css language-scala">&gt; testOnly -- -<span class="hljs-type">Lorg</span>.mydomain.myapp:debug
</code></pre>
Expand Down

0 comments on commit 3e28b51

Please sign in to comment.