Skip to content

Commit

Permalink
tests: add TLS tests matrix
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Julien Gilli authored and tjfontaine committed Oct 23, 2014
1 parent 69080f5 commit 8d045a3
Show file tree
Hide file tree
Showing 3 changed files with 745 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/external/ssl-options/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
15 changes: 15 additions & 0 deletions test/external/ssl-options/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "ssl-options-tests",
"version": "1.0.0",
"description": "",
"main": "test.js",
"scripts": {
"test": "node test.js"
},
"author": "",
"license": "MIT",
"dependencies": {
"async": "^0.9.0",
"debug": "^2.1.0"
}
}
Loading

0 comments on commit 8d045a3

Please sign in to comment.