Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add links to label files if exists also into testcase md files #38

Merged
merged 5 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/actual/option1/labels/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@
**Description**: Suspendisse sagittis ultrices augue. Aenean vel massa quis mauris vehicula lacinia. Aliquam id dolor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed ac dolor sit amet purus malesuada congue. Aenean fermentum risus id tortor. Praesent in mauris eu tortor porttitor accumsan. Aliquam ante. Quisque porta. Duis condimentum augue id magna semper rutrum. Duis ante orci, molestie vitae vehicula venenatis, tincidunt ac pede. Duis risus.

**Details**: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam justo enim, consectetuer nec, ullamcorper ac, vestibulum in, elit. Nullam feugiat, turpis at pulvinar vulputate, erat libero tristique tellus, nec bibendum odio risus sit amet ante. Sed vel lectus. Donec odio tempus molestie, porttitor ut, iaculis quis, sem. Nulla quis diam. Donec quis nibh at felis congue commodo. Etiam sapien elit, consequat eget, tristique non, venenatis quis, ante. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. Mauris elementum mauris vitae tortor. Praesent id justo in neque elementum ultrices. Vestibulum erat nulla, ullamcorper nec, rutrum non, nonummy ac, erat. Nullam faucibus mi quis velit. Donec iaculis gravida nulla. Etiam sapien elit, consequat eget, tristique non, venenatis quis, ante. Nulla turpis magna, cursus sit amet, suscipit a, interdum id, felis. Curabitur ligula sapien, pulvinar a vestibulum quis, facilisis vel sapien. Integer lacinia.

<!-- generated part -->
**Tests:**
- [testMethodOne](../../../.././docs/actual/option1/md/io/skodjob/DummyTest.md)
- [testMethodFour](../../../.././docs/actual/option1/md/io/skodjob/DummyTest.md)
2 changes: 2 additions & 0 deletions docs/actual/option1/labels/regression.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
**Details**: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam justo enim, consectetuer nec, ullamcorper ac, vestibulum in, elit. Nullam feugiat, turpis at pulvinar vulputate, erat libero tristique tellus, nec bibendum odio risus sit amet ante. Sed vel lectus. Donec odio tempus molestie, porttitor ut, iaculis quis, sem. Nulla quis diam. Donec quis nibh at felis congue commodo. Etiam sapien elit, consequat eget, tristique non, venenatis quis, ante. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. Mauris elementum mauris vitae tortor. Praesent id justo in neque elementum ultrices. Vestibulum erat nulla, ullamcorper nec, rutrum non, nonummy ac, erat. Nullam faucibus mi quis velit. Donec iaculis gravida nulla. Etiam sapien elit, consequat eget, tristique non, venenatis quis, ante. Nulla turpis magna, cursus sit amet, suscipit a, interdum id, felis. Curabitur ligula sapien, pulvinar a vestibulum quis, facilisis vel sapien. Integer lacinia.

<!-- generated part -->
**Tests:**
- [testMethodFour](../../../.././docs/actual/option1/md/io/skodjob/DummyTest.md)
5 changes: 5 additions & 0 deletions docs/actual/option2/labels/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@
**Description**: Suspendisse sagittis ultrices augue. Aenean vel massa quis mauris vehicula lacinia. Aliquam id dolor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed ac dolor sit amet purus malesuada congue. Aenean fermentum risus id tortor. Praesent in mauris eu tortor porttitor accumsan. Aliquam ante. Quisque porta. Duis condimentum augue id magna semper rutrum. Duis ante orci, molestie vitae vehicula venenatis, tincidunt ac pede. Duis risus.

**Details**: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam justo enim, consectetuer nec, ullamcorper ac, vestibulum in, elit. Nullam feugiat, turpis at pulvinar vulputate, erat libero tristique tellus, nec bibendum odio risus sit amet ante. Sed vel lectus. Donec odio tempus molestie, porttitor ut, iaculis quis, sem. Nulla quis diam. Donec quis nibh at felis congue commodo. Etiam sapien elit, consequat eget, tristique non, venenatis quis, ante. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. Mauris elementum mauris vitae tortor. Praesent id justo in neque elementum ultrices. Vestibulum erat nulla, ullamcorper nec, rutrum non, nonummy ac, erat. Nullam faucibus mi quis velit. Donec iaculis gravida nulla. Etiam sapien elit, consequat eget, tristique non, venenatis quis, ante. Nulla turpis magna, cursus sit amet, suscipit a, interdum id, felis. Curabitur ligula sapien, pulvinar a vestibulum quis, facilisis vel sapien. Integer lacinia.

<!-- generated part -->
**Tests:**
- [testMethodOne](../../../.././docs/actual/option2/md/io.skodjob.DummyTest.md)
- [testMethodFour](../../../.././docs/actual/option2/md/io.skodjob.DummyTest.md)
2 changes: 2 additions & 0 deletions docs/actual/option2/labels/regression.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
**Details**: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam justo enim, consectetuer nec, ullamcorper ac, vestibulum in, elit. Nullam feugiat, turpis at pulvinar vulputate, erat libero tristique tellus, nec bibendum odio risus sit amet ante. Sed vel lectus. Donec odio tempus molestie, porttitor ut, iaculis quis, sem. Nulla quis diam. Donec quis nibh at felis congue commodo. Etiam sapien elit, consequat eget, tristique non, venenatis quis, ante. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. Mauris elementum mauris vitae tortor. Praesent id justo in neque elementum ultrices. Vestibulum erat nulla, ullamcorper nec, rutrum non, nonummy ac, erat. Nullam faucibus mi quis velit. Donec iaculis gravida nulla. Etiam sapien elit, consequat eget, tristique non, venenatis quis, ante. Nulla turpis magna, cursus sit amet, suscipit a, interdum id, felis. Curabitur ligula sapien, pulvinar a vestibulum quis, facilisis vel sapien. Integer lacinia.

<!-- generated part -->
**Tests:**
- [testMethodFour](../../../.././docs/actual/option2/md/io.skodjob.DummyTest.md)
5 changes: 5 additions & 0 deletions docs/actual/option3/labels/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@
**Description**: Suspendisse sagittis ultrices augue. Aenean vel massa quis mauris vehicula lacinia. Aliquam id dolor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed ac dolor sit amet purus malesuada congue. Aenean fermentum risus id tortor. Praesent in mauris eu tortor porttitor accumsan. Aliquam ante. Quisque porta. Duis condimentum augue id magna semper rutrum. Duis ante orci, molestie vitae vehicula venenatis, tincidunt ac pede. Duis risus.

**Details**: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam justo enim, consectetuer nec, ullamcorper ac, vestibulum in, elit. Nullam feugiat, turpis at pulvinar vulputate, erat libero tristique tellus, nec bibendum odio risus sit amet ante. Sed vel lectus. Donec odio tempus molestie, porttitor ut, iaculis quis, sem. Nulla quis diam. Donec quis nibh at felis congue commodo. Etiam sapien elit, consequat eget, tristique non, venenatis quis, ante. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. Mauris elementum mauris vitae tortor. Praesent id justo in neque elementum ultrices. Vestibulum erat nulla, ullamcorper nec, rutrum non, nonummy ac, erat. Nullam faucibus mi quis velit. Donec iaculis gravida nulla. Etiam sapien elit, consequat eget, tristique non, venenatis quis, ante. Nulla turpis magna, cursus sit amet, suscipit a, interdum id, felis. Curabitur ligula sapien, pulvinar a vestibulum quis, facilisis vel sapien. Integer lacinia.

<!-- generated part -->
Frawless marked this conversation as resolved.
Show resolved Hide resolved
**Tests:**
- [testMethodOne](../../../.././docs/actual/option3/io.skodjob.DummyTest.md)
- [testMethodFour](../../../.././docs/actual/option3/io.skodjob.DummyTest.md)
2 changes: 2 additions & 0 deletions docs/actual/option3/labels/regression.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
**Details**: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam justo enim, consectetuer nec, ullamcorper ac, vestibulum in, elit. Nullam feugiat, turpis at pulvinar vulputate, erat libero tristique tellus, nec bibendum odio risus sit amet ante. Sed vel lectus. Donec odio tempus molestie, porttitor ut, iaculis quis, sem. Nulla quis diam. Donec quis nibh at felis congue commodo. Etiam sapien elit, consequat eget, tristique non, venenatis quis, ante. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. Mauris elementum mauris vitae tortor. Praesent id justo in neque elementum ultrices. Vestibulum erat nulla, ullamcorper nec, rutrum non, nonummy ac, erat. Nullam faucibus mi quis velit. Donec iaculis gravida nulla. Etiam sapien elit, consequat eget, tristique non, venenatis quis, ante. Nulla turpis magna, cursus sit amet, suscipit a, interdum id, felis. Curabitur ligula sapien, pulvinar a vestibulum quis, facilisis vel sapien. Integer lacinia.

<!-- generated part -->
**Tests:**
- [testMethodFour](../../../.././docs/actual/option3/io.skodjob.DummyTest.md)
5 changes: 5 additions & 0 deletions docs/actual/option4/labels/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@
**Description**: Suspendisse sagittis ultrices augue. Aenean vel massa quis mauris vehicula lacinia. Aliquam id dolor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed ac dolor sit amet purus malesuada congue. Aenean fermentum risus id tortor. Praesent in mauris eu tortor porttitor accumsan. Aliquam ante. Quisque porta. Duis condimentum augue id magna semper rutrum. Duis ante orci, molestie vitae vehicula venenatis, tincidunt ac pede. Duis risus.

**Details**: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam justo enim, consectetuer nec, ullamcorper ac, vestibulum in, elit. Nullam feugiat, turpis at pulvinar vulputate, erat libero tristique tellus, nec bibendum odio risus sit amet ante. Sed vel lectus. Donec odio tempus molestie, porttitor ut, iaculis quis, sem. Nulla quis diam. Donec quis nibh at felis congue commodo. Etiam sapien elit, consequat eget, tristique non, venenatis quis, ante. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. Mauris elementum mauris vitae tortor. Praesent id justo in neque elementum ultrices. Vestibulum erat nulla, ullamcorper nec, rutrum non, nonummy ac, erat. Nullam faucibus mi quis velit. Donec iaculis gravida nulla. Etiam sapien elit, consequat eget, tristique non, venenatis quis, ante. Nulla turpis magna, cursus sit amet, suscipit a, interdum id, felis. Curabitur ligula sapien, pulvinar a vestibulum quis, facilisis vel sapien. Integer lacinia.

<!-- generated part -->
**Tests:**
- [testMethodOne](../../../.././docs/actual/option4/io/skodjob/DummyTest.md)
- [testMethodFour](../../../.././docs/actual/option4/io/skodjob/DummyTest.md)
4 changes: 4 additions & 0 deletions docs/actual/option4/labels/regression.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
**Description**: Suspendisse sagittis ultrices augue. Aenean vel massa quis mauris vehicula lacinia. Aliquam id dolor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed ac dolor sit amet purus malesuada congue. Aenean fermentum risus id tortor. Praesent in mauris eu tortor porttitor accumsan. Aliquam ante. Quisque porta. Duis condimentum augue id magna semper rutrum. Duis ante orci, molestie vitae vehicula venenatis, tincidunt ac pede. Duis risus.

**Details**: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam justo enim, consectetuer nec, ullamcorper ac, vestibulum in, elit. Nullam feugiat, turpis at pulvinar vulputate, erat libero tristique tellus, nec bibendum odio risus sit amet ante. Sed vel lectus. Donec odio tempus molestie, porttitor ut, iaculis quis, sem. Nulla quis diam. Donec quis nibh at felis congue commodo. Etiam sapien elit, consequat eget, tristique non, venenatis quis, ante. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. Mauris elementum mauris vitae tortor. Praesent id justo in neque elementum ultrices. Vestibulum erat nulla, ullamcorper nec, rutrum non, nonummy ac, erat. Nullam faucibus mi quis velit. Donec iaculis gravida nulla. Etiam sapien elit, consequat eget, tristique non, venenatis quis, ante. Nulla turpis magna, cursus sit amet, suscipit a, interdum id, felis. Curabitur ligula sapien, pulvinar a vestibulum quis, facilisis vel sapien. Integer lacinia.

<!-- generated part -->
**Tests:**
- [testMethodFour](../../../.././docs/actual/option4/io/skodjob/DummyTest.md)
10 changes: 5 additions & 5 deletions docs/expected/option1/md/io/skodjob/DummyTest.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

**Labels:**

* `regression`
* `clients`
* [regression](../../../labels/regression.md)
* `clients` (description file doesn't exists)

<hr style="border:1px solid">

Expand All @@ -31,8 +31,8 @@

**Labels:**

* `default`
* `regression`
* [default](../../../labels/default.md)
* [regression](../../../labels/regression.md)


## testMethodOne
Expand All @@ -49,7 +49,7 @@

**Labels:**

* `default`
* [default](../../../labels/default.md)


## testMethodThree
Expand Down
10 changes: 5 additions & 5 deletions docs/expected/option2/md/io.skodjob.DummyTest.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

**Labels:**

* `regression`
* `clients`
* [regression](../labels/regression.md)
* `clients` (description file doesn't exists)
Frawless marked this conversation as resolved.
Show resolved Hide resolved

<hr style="border:1px solid">

Expand All @@ -31,8 +31,8 @@

**Labels:**

* `default`
* `regression`
* [default](../labels/default.md)
* [regression](../labels/regression.md)


## testMethodOne
Expand All @@ -49,7 +49,7 @@

**Labels:**

* `default`
* [default](../labels/default.md)


## testMethodThree
Expand Down
10 changes: 5 additions & 5 deletions docs/expected/option3/io.skodjob.DummyTest.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

**Labels:**

* `regression`
* `clients`
* [regression](labels/regression.md)
* `clients` (description file doesn't exists)

<hr style="border:1px solid">

Expand All @@ -31,8 +31,8 @@

**Labels:**

* `default`
* `regression`
* [default](labels/default.md)
* [regression](labels/regression.md)


## testMethodOne
Expand All @@ -49,7 +49,7 @@

**Labels:**

* `default`
* [default](labels/default.md)


## testMethodThree
Expand Down
10 changes: 5 additions & 5 deletions docs/expected/option4/io/skodjob/DummyTest.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

**Labels:**

* `regression`
* `clients`
* [regression](../../labels/regression.md)
* `clients` (description file doesn't exists)

<hr style="border:1px solid">

Expand All @@ -31,8 +31,8 @@

**Labels:**

* `default`
* `regression`
* [default](../../labels/default.md)
* [regression](../../labels/regression.md)


## testMethodOne
Expand All @@ -49,7 +49,7 @@

**Labels:**

* `default`
* [default](../../labels/default.md)


## testMethodThree
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void execute() {
} else {
getLog().debug("Skipping fmf generation");
}
MdGenerator.generate(testClass, docsPath + mdDirectoryName + entry.getKey() + ".md");
MdGenerator.generate(testClass, docsPath, mdDirectoryName + entry.getKey() + ".md");

} catch (ClassNotFoundException | IOException ex) {
getLog().warn(String.format("Cannot load %s", entry.getValue()));
Expand Down
Loading