Fork me on GitHub

Running Tests

To run the tests locally, you would need to have a ~/.tedious/test-connection.json file in your home directory

E.g.,

        {
            "config": {
                "server": "localhost",
                "authentication": {
                    "type": "default",
                    "options": {
                        "userName": "your_username",
                        "password": "your_password"
                    }
                },
                "options": {
                    "port": 1433,
                    "database": "master"
                }
            }
        }
      

Note: Two tests are known to fail locally under Data-Types test:

dateTime2DaylightSaving
dateDaylightSaving

A fix is soon to come...