Skip to content

Commit

Permalink
deploy: 8586d4b
Browse files Browse the repository at this point in the history
  • Loading branch information
ikalinin1 committed Aug 31, 2023
1 parent 39d6faf commit 1000233
Show file tree
Hide file tree
Showing 77 changed files with 2,482 additions and 2,249 deletions.
2 changes: 1 addition & 1 deletion search-index.js

Large diffs are not rendered by default.

4,444 changes: 2,222 additions & 2,222 deletions sitemap.xml

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions vividus/latest/commons/cli.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="../developer-guides/deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/commons/expressions.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="../developer-guides/deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/commons/table-transformers.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="../developer-guides/deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/commons/variables.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="../developer-guides/deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/commons/vividus-steps.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="../developer-guides/deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/developer-guides/custom-modules.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
63 changes: 37 additions & 26 deletions vividus/latest/developer-guides/deprecating-steps.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Steps deprecation procedure :: VIVIDUS</title>
<title>Steps Deprecation :: VIVIDUS</title>
<link rel="canonical" href="https://docs.vividus.dev/vividus/latest/developer-guides/deprecating-steps.html">
<meta name="generator" content="Antora 3.1.4">
<link rel="stylesheet" href="../../../_/css/site.css">
Expand Down Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item is-current-page" data-depth="1">
<a class="nav-link" href="deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -562,7 +565,8 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
<nav class="breadcrumbs" aria-label="breadcrumbs">
<ul>
<li><a href="../index.html">VIVIDUS</a></li>
<li><a href="deprecating-steps.html">Steps deprecation procedure</a></li>
<li>Developer Guides</li>
<li><a href="deprecating-steps.html">Steps deprecation</a></li>
</ul>
</nav>
<div class="page-versions">
Expand Down Expand Up @@ -609,7 +613,7 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
<div class="toc-menu"></div>
</aside>
<article class="doc">
<h1 class="page">Steps deprecation procedure</h1>
<h1 class="page">Steps Deprecation</h1>
<div id="preamble">
<div class="sectionbody">
<div class="paragraph">
Expand All @@ -632,7 +636,7 @@ <h1 class="page">Steps deprecation procedure</h1>
</div>
</div>
<div class="sect1">
<h2 id="_deprecate_code_steps"><a class="anchor" href="#_deprecate_code_steps"></a>Deprecate code steps</h2>
<h2 id="_deprecate_code_steps"><a class="anchor" href="#_deprecate_code_steps"></a>Deprecate Code Steps</h2>
<div class="sectionbody">
<div class="paragraph">
<p>For deprecation of Java code steps use annotation <code>@Replacement</code> with the following mandatory parameters:</p>
Expand All @@ -650,48 +654,55 @@ <h2 id="_deprecate_code_steps"><a class="anchor" href="#_deprecate_code_steps"><
<div class="listingblock">
<div class="title">Example 1. /src/main/java/com/mycompany/steps/MySteps.java</div>
<div class="content">
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java"> @Deprecated(since = "0.5.0", forRemoval = true)
@Replacement(versionToRemoveStep = "0.6.0", replacementFormatPattern = "Given the step with parameters `%2$s` and `%1$s`")
@Given(value = "the step with parameters '$parameter1' and '$parameter2'", priority = 1)
public void givenStep(String parameter1, String parameter2)
{
// ... step logic
}</code></pre>
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">@Deprecated(since = "0.6.0", forRemoval = true)
@Replacement(versionToRemoveStep = "0.7.0", replacementFormatPattern = "Given the step with parameters `%2$s` and `%1$s`")
@Given(value = "the step with parameters '$parameter1' and '$parameter2'", priority = 1)
public void givenStep(String parameter1, String parameter2)
{
// ... step logic
}</code></pre>
</div>
</div>
<div class="listingblock">
<div class="title">Example 2. Deprecated step in story</div>
<div class="title">Example 2. Deprecated step in story-file</div>
<div class="content">
<pre class="highlightjs highlight"><code class="language-gherkin hljs" data-lang="gherkin">Given the step with parameters 'parameter1' and 'parameter2'</code></pre>
</div>
</div>
<div class="listingblock">
<div class="title">Example 3. Output log</div>
<div class="content">
<pre class="highlightjs highlight"><code class="language-asciidoc hljs" data-lang="asciidoc">org.vividus.replacement.DeprecatedCodeStepsReporter - The step: "Given the step with parameters 'parameter1' and 'parameter2'" is deprecated and will be removed in VIVIDUS 0.6.0. Use step: "Given the step with parameters `parameter2` and `parameter1`"</code></pre>
<pre class="highlightjs highlight"><code class="language-asciidoc hljs" data-lang="asciidoc">org.vividus.replacement.DeprecatedCodeStepsReporter - The step: "Given the step with parameters 'parameter1' and 'parameter2'" is deprecated and will be removed in VIVIDUS 0.7.0. Use step: "Given the step with parameters `parameter2` and `parameter1`"</code></pre>
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_deprecate_composite_steps"><a class="anchor" href="#_deprecate_composite_steps"></a>Deprecate composite steps</h2>
<h2 id="_deprecate_composite_steps"><a class="anchor" href="#_deprecate_composite_steps"></a>Deprecate Composite Steps</h2>
<div class="sectionbody">
<div class="paragraph">
<p>For deprecation of composite steps use the comment with the special pattern:
<code>!--\s+DEPRECATED:\s+(.<strong>),\s+(.</strong>)$</code> where the first group is version to remove, the second one is formatter pattern for the actual step.</p>
<p>For deprecation of composite steps use the comment with the special pattern:</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-gherkin hljs" data-lang="gherkin">!--\s+DEPRECATED:\s+(.*),\s+(.*)$</code></pre>
</div>
</div>
<div class="paragraph">
<p>where the first group is the version to remove step in, the second one is formatter pattern for the actual step.</p>
</div>
<div class="listingblock">
<div class="title">Example 4. Deprecated composite step in <code>composite.steps</code> file</div>
<div class="title">Example 4. Deprecated composite step in steps-file</div>
<div class="content">
<pre class="highlightjs highlight"><code class="language-gherkin hljs" data-lang="gherkin">Composite: Given the step with parameters '$parameter1' and '$parameter2'
!-- DEPRECATED: 0.6.0, Given the step with parameter `%2$s` and `%1$s`
Given the step with parameters `&lt;parameter2&gt;` and `&lt;parameter1&gt;`</code></pre>
!-- DEPRECATED: 0.7.0, Given the step with parameter `%2$s` and `%1$s`
Given the step with parameters `&lt;parameter1&gt;` and `&lt;parameter2&gt;`</code></pre>
</div>
</div>
<div class="listingblock">
<div class="title">Example 5. Output log</div>
<div class="content">
<pre class="highlightjs highlight"><code class="language-asciidoc hljs" data-lang="asciidoc">org.vividus.log.LoggingStoryReporter - The step: "Given the step with parameters 'parameter1' and 'parameter2'" is deprecated and will be removed in VIVIDUS 0.6.0. Use step: "Given the step with parameters `parameter2` and `parameter1`"</code></pre>
<pre class="highlightjs highlight"><code class="language-asciidoc hljs" data-lang="asciidoc">org.vividus.log.LoggingStoryReporter - The step: "Given the step with parameters 'parameter1' and 'parameter2'" is deprecated and will be removed in VIVIDUS 0.7.0. Use step: "Given the step with parameters `parameter2` and `parameter1`"</code></pre>
</div>
</div>
<div class="admonitionblock note">
Expand All @@ -705,10 +716,10 @@ <h2 id="_deprecate_composite_steps"><a class="anchor" href="#_deprecate_composit
<p>If composite step cannot be deprecated using formatter pattern it still must have the comment with the certain pattern for user notification in step replacer: <code>!--\s+DEPRECATED: The step .* is deprecated and will be removed in .*</code>.</p>
</div>
<div class="listingblock">
<div class="title">Example 6. Example:</div>
<div class="title">Example 6. Deprecated composite step without replacement in steps-file</div>
<div class="content">
<pre class="highlightjs highlight"><code class="language-gherkin hljs" data-lang="gherkin">Composite: When I send HTTP $httpMethod to the relative URL '$relativeURL'
!-- DEPRECATED: The step "When I send HTTP $httpMethod to the relative URL '$relativeURL'" is deprecated and will be removed in VIVIDUS 0.6.0
!-- DEPRECATED: The step "When I send HTTP $httpMethod to the relative URL '$relativeURL'" is deprecated and will be removed in VIVIDUS 0.7.0
When I execute HTTP &lt;httpMethod&gt; request for resource with relative URL `&lt;relativeURL&gt;`</code></pre>
</div>
</div>
Expand All @@ -719,15 +730,15 @@ <h2 id="_deprecate_composite_steps"><a class="anchor" href="#_deprecate_composit
</div>
</div>
<div class="sect1">
<h2 id="_find_deprecated_steps"><a class="anchor" href="#_find_deprecated_steps"></a>Find deprecated steps</h2>
<h2 id="_find_deprecated_steps"><a class="anchor" href="#_find_deprecated_steps"></a>Find Deprecated Steps</h2>
<div class="sectionbody">
<div class="sect2">
<h3 id="_in_the_log_duringafter_tests_execution"><a class="anchor" href="#_in_the_log_duringafter_tests_execution"></a>In the log during/after tests execution</h3>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-asciidoc hljs" data-lang="asciidoc">2023-06-12 11:18:31,719 [batch-1-thread-3] INFO org.vividus.log.LoggingStoryReporter - The step: "When I find greater than `1` JSON elements by `$.store.book` and for each element do
|step |
|Then number of JSON elements by JSON path `$.author` is = 1|" is deprecated and will be removed in VIVIDUS 0.6.0. Use step: "When I find greater than `1` JSON elements from `${json-context}` by `$.store.book` and for each element do
|Then number of JSON elements by JSON path `$.author` is = 1|" is deprecated and will be removed in VIVIDUS 0.7.0. Use step: "When I find greater than `1` JSON elements from `${json-context}` by `$.store.book` and for each element do
|step |
|Then number of JSON elements by JSON path `$.author` is = 1|"</code></pre>
</div>
Expand Down Expand Up @@ -782,7 +793,7 @@ <h3 id="_using_print_steps_command"><a class="anchor" href="#_using_print_steps_
<div class="sect2">
<h3 id="_in_the_documentation"><a class="anchor" href="#_in_the_documentation"></a>In the documentation</h3>
<div class="paragraph">
<p>Deprecated steps and their replacements can be found in the documentation using search (<a href="https://docs.vividus.dev/vividus/latest/plugins/plugin-json.html#_save_json_element_value_from_context">example</a>).</p>
<p>Deprecated steps and their replacements can be found in the documentation using search, for example, <a href="../plugins/plugin-web-app.html#_change_context" class="xref page">this step</a>.</p>
</div>
</div>
</div>
Expand All @@ -797,7 +808,7 @@ <h2 id="_remove_deprecated_steps_from_tests"><a class="anchor" href="#_remove_de
</div>
<div class="imageblock">
<div class="content">
<img src="_images/semantic-versions.png" alt="Semantic Versioning">
<img src="_images/semantic-versions.png" alt="Semantic Versioning" width="50%">
</div>
</div>
<div class="paragraph">
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/developer-guides/extension-points.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/developer-guides/extensions.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/developer-guides/plugins.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/getting-started.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="developer-guides/deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/glossary.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="developer-guides/deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="developer-guides/deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/integrations/azure-devops-exporter.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="../developer-guides/deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/integrations/docker.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="../developer-guides/deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/integrations/reportportal.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="../developer-guides/deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/integrations/xray-exporter.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="../developer-guides/deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/integrations/zephyr-exporter.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="../developer-guides/deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/parameters/collection-comparison-rule.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="../developer-guides/deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/parameters/comparison-rule.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="../developer-guides/deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/parameters/state.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="../developer-guides/deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/parameters/string-comparison-rule.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="../developer-guides/deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/plugins/aws.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="../developer-guides/deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions vividus/latest/plugins/azure.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ <h3 class="title"><a href="../index.html">VIVIDUS</a></h3>
</li>
</ul>
</li>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="../developer-guides/deprecating-steps.html">Steps deprecation</a>
</li>
</ul>
</li>
</ul>
Expand Down
Loading

0 comments on commit 1000233

Please sign in to comment.