Skip to content

Commit f2b4fd2

Browse files
committed
#1685: Update shell script of nest and enhance NestTest documentation
1 parent d53ec15 commit f2b4fd2

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

  • cli/src/test
    • java/com/devonfw/tools/ide/tool/nest
    • resources/ide-projects/nest/repository/node/node/default

cli/src/test/java/com/devonfw/tools/ide/tool/nest/NestTest.java

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@
1414
class NestTest extends AbstractIdeContextTest {
1515

1616
private static final String PROJECT_NEST = "nest";
17-
17+
18+
/**
19+
* Tests if the {@link Nest} install works correctly.
20+
*
21+
* @param wireMockRuntimeInfo wireMock server on a random port
22+
*/
1823
@Test
1924
void testNestInstall(WireMockRuntimeInfo wireMockRuntimeInfo) {
2025

@@ -30,6 +35,11 @@ void testNestInstall(WireMockRuntimeInfo wireMockRuntimeInfo) {
3035

3136
}
3237

38+
/**
39+
* Tests if the {@link Nest} install works correctly.
40+
*
41+
* @param wireMockRuntimeInfo wireMock server on a random port
42+
*/
3343
@Test
3444
void testNestUninstall(WireMockRuntimeInfo wireMockRuntimeInfo) {
3545

@@ -52,6 +62,11 @@ void testNestUninstall(WireMockRuntimeInfo wireMockRuntimeInfo) {
5262
assertThat(context).logAtSuccess().hasMessage("Successfully uninstalled nest");
5363
}
5464

65+
/**
66+
* Tests if {@link Nest} run works correctly.
67+
*
68+
* @param wireMockRuntimeInfo wireMock server on a random port
69+
*/
5570
@Test
5671
void testNestRun(WireMockRuntimeInfo wireMockRuntimeInfo) {
5772

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22
echo "nest $*"

0 commit comments

Comments
 (0)