The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
{
    "tests": [
        {
            "auth": null, 
            "description": "Empty string", 
            "hosts": null, 
            "options": null, 
            "uri": "", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Invalid scheme", 
            "hosts": null, 
            "options": null, 
            "uri": "mongo://localhost:27017", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Missing host", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Double colon in host identifier", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://localhost::27017", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Double colon in host identifier and trailing slash", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://localhost::27017/", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Double colon in host identifier with missing host and port", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://::", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Double colon in host identifier with missing port", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://localhost,localhost::", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Double colon in host identifier and second host", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://localhost::27017,abc", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Invalid port (negative number) with hostname", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://localhost:-1", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Invalid port (zero) with hostname", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://localhost:0/", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Invalid port (positive number) with hostname", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://localhost:65536", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Invalid port (positive number) with hostname and trailing slash", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://localhost:65536/", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Invalid port (non-numeric string) with hostname", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://localhost:foo", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Invalid port (negative number) with IP literal", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://[::1]:-1", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Invalid port (zero) with IP literal", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://[::1]:0/", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Invalid port (positive number) with IP literal", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://[::1]:65536", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Invalid port (positive number) with IP literal and trailing slash", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://[::1]:65536/", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Invalid port (non-numeric string) with IP literal", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://[::1]:foo", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Missing delimiting slash between hosts and options", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://example.com?w=1", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Incomplete key value pair for option", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://example.com/?w", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Username with password containing an unescaped colon", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://alice:foo:bar@127.0.0.1", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Username containing an unescaped at-sign", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://alice@@127.0.0.1", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Username with password containing an unescaped at-sign", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb://alice@foo:bar@127.0.0.1", 
            "valid": false, 
            "warning": null
        }, 
        {
            "auth": null, 
            "description": "Host with unescaped slash", 
            "hosts": null, 
            "options": null, 
            "uri": "mongodb:///tmp/mongodb-27017.sock/", 
            "valid": false, 
            "warning": null
        }
    ]
}