Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit 8d045a3

Browse files
Julien Gillitjfontaine
Julien Gilli
authored andcommitted
tests: add TLS tests matrix
Add a test that goes through the whole matrix of: - command line options (--enable-ssl*) - secureOptions - secureProtocols and makes sure that compatible test setups actually work as expected. The test works by spawning two processes for each test case: one client and one server. The test passes if a SSL/TLS connection from the client to the server is successful and the test case was supposed to pass, or if the connection couldn't be established and the test case was supposed to fail. The test is currently located in the directory 'test/external' because it has external dependencies.
1 parent 69080f5 commit 8d045a3

File tree

3 files changed

+745
-0
lines changed

3 files changed

+745
-0
lines changed

test/external/ssl-options/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "ssl-options-tests",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "test.js",
6+
"scripts": {
7+
"test": "node test.js"
8+
},
9+
"author": "",
10+
"license": "MIT",
11+
"dependencies": {
12+
"async": "^0.9.0",
13+
"debug": "^2.1.0"
14+
}
15+
}

0 commit comments

Comments
 (0)