Skip to content

Commit 9ea4e16

Browse files
committed
VS Code extension update
1 parent 4a3f265 commit 9ea4e16

11 files changed

Lines changed: 25 additions & 22 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818

1919
This **Black Box Testing** Tool is designed for automating the testing of **network application** or **console applications**. It tests how applications **interact with their environment** and does not test the internal behavior of the application. It offers several key features:
2020

21-
- **Universality**: The tool supports testing various types of software applications regardless of their implementation details.
22-
- **Separation**: Emphasizes the separation of the evaluation application and its internal logic from the tested tasks.
23-
- **Independence**: The tool operates independently of external network resources (servers, clients, ...), allowing it to create virtual servers and clients for testing purposes.
24-
- **Flexibility**: Users can easily define new test sets using specific keywords in the configuration.
25-
- **Deployment Versatility:** The tool can be run on localhost or integrated into CI/CD pipelines on platforms like GitLab and GitHub, ensuring seamless testing across different environments.
21+
- **🌐 Universality**: The tool supports testing various types of software applications regardless of their implementation details.
22+
- **🔍 Separation**: Emphasizes the separation of the evaluation application and its internal logic from the tested tasks.
23+
- **🔌 Independence**: The tool operates independently of external network resources (servers, clients, ...), allowing it to create virtual servers and clients for testing purposes.
24+
- **🛠️ Flexibility**: Users can easily define new test sets using specific keywords in the configuration.
25+
- **📦 Deployment Versatility:** The tool can be run on localhost or integrated into CI/CD pipelines on platforms like GitLab and GitHub, ensuring seamless testing across different environments.
2626
- **Plugin Support:** The tool supports the creation of custom plugins, allowing users to define their own keywords, communication modules or more for enhanced functionality. Tutorial is available [here](./examples/plugin-example).
2727

2828
<img src="./doc/diagram_simple_rest.png">

examples/project-example/NATT.jar

31 Bytes
Binary file not shown.

natt-config-editor/NATT.jar

31 Bytes
Binary file not shown.

natt-vscode-extension/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ NATT was created as part of a thesis at TBU FAI. It is a black box testing tool
1010
- **🔍 Separation:** Emphasizes the separation of the evaluation application and its internal logic from the tested tasks.
1111
- **🔌 Independence:** Operates independently of external network resources, allowing it to create virtual servers and clients for testing purposes.
1212
- **🛠️ Flexibility:** Users can easily define new test sets using specific keywords in the configuration.
13+
- **📦 Plugin Support:** The tool supports the creation of custom plugins, allowing users to define their own keywords, communication modules or more for enhanced functionality. Tutorial is available [here](https://github.com/0xMartin/NetworkAppTestingTool/tree/main/examples/plugin-example).
1314

1415
### 🔍 What Does the Tool Allow You to Test?
1516

natt-vscode-extension/out/extension.js

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

natt-vscode-extension/out/extension.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

natt-vscode-extension/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

natt-vscode-extension/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"publisher": "0xM4R71N",
66
"repository": "https://github.com/0xMartin/NetworkAppTestingTool",
77
"description": "Test scenario configuration editor for black box network application testing tool.",
8-
"version": "1.2.1",
8+
"version": "1.2.3",
99
"engines": {
1010
"vscode": "^1.91.1"
1111
},
@@ -90,7 +90,7 @@
9090
"properties": {
9191
"yourExtension.nattJarUrl": {
9292
"type": "string",
93-
"default": "https://github.com/0xMartin/NetworkAppTestingTool/releases/download/1.6.1/NATT.jar",
93+
"default": "https://github.com/0xMartin/NetworkAppTestingTool/releases/download/1.6.2/NATT.jar",
9494
"description": "URL for the NATT JAR file"
9595
}
9696
}

natt-vscode-extension/src/extension.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export function activate(context: vscode.ExtensionContext) {
170170
}
171171
// Define the URL and destination path for the JAR file
172172
const config = vscode.workspace.getConfiguration('natt-configuration-editor');
173-
const jarUrl = config.get<string>('nattJarUrl', 'https://github.com/0xMartin/NetworkAppTestingTool/releases/download/1.6.1/NATT.jar');
173+
const jarUrl = config.get<string>('nattJarUrl', 'https://github.com/0xMartin/NetworkAppTestingTool/releases/download/1.6.2/NATT.jar');
174174
const destJarPath = path.join(projectPath, 'NATT.jar');
175175

176176
// Function to download the file
@@ -209,6 +209,9 @@ export function activate(context: vscode.ExtensionContext) {
209209
progress.report({ message: "Download complete!" });
210210
});
211211

212+
// reload keywords
213+
registerKeywordSnippets(context, homeWebviewProvider);
214+
212215
vscode.window.showInformationMessage('NATT.jar downloaded successfully. Setup complete!');
213216
} catch (error) {
214217
vscode.window.showErrorMessage(`Failed to download NATT.jar: ${error}`);

natt/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,5 @@ task writeVersionProperties {
7777

7878
processResources.dependsOn writeVersionProperties
7979

80-
version = '1.6.1'
80+
version = '1.6.2'
8181
group = 'utb.fai.natt'

0 commit comments

Comments
 (0)