azure-cosmosdb-node/source/test
Christopher Anderson 4e5d02dd96 1.15.2 2019-02-28 13:03:38 -08:00
..
queryExecutionContext added support for urifactory, rupm, consistentPrefix 2017-05-09 20:57:08 -07:00
BaselineTest.PathParser.json Fixing Base.parsePath test case 2016-06-11 20:42:35 -07:00
_testConfig.js Merged PR 1: Merge moderakh/vs-build to master 2017-11-01 05:29:18 +00:00
aggregateQueryTests.js 1.15.1 release 2019-01-14 16:25:28 -08:00
authorizationTests.js Merged PR 21: increase test setup timeout to avoid random setup timeouts 2017-11-29 07:03:12 +00:00
baseTests.js Merged PR 1: Merge moderakh/vs-build to master 2017-11-01 05:29:18 +00:00
collectionNamingTest.js Node.js SDK 1.12.1 release 2017-08-09 14:19:14 -07:00
consistentHashRingTests.js added support for urifactory, rupm, consistentPrefix 2017-05-09 20:57:08 -07:00
crossPartitionTests.js 1.15.1 release 2019-01-14 16:25:28 -08:00
data.json Node.js SDK 1.13.0 release 2017-10-11 16:08:19 -07:00
documentClientTests.js Node.js SDK 1.13.0 release 2017-10-11 16:08:19 -07:00
encodingTests.js added support for urifactory, rupm, consistentPrefix 2017-05-09 20:57:08 -07:00
hashPartitionResolverTests.js added support for urifactory, rupm, consistentPrefix 2017-05-09 20:57:08 -07:00
inMemoryCollectionRoutingMapTests.js Release 1.14.5 (#246) 2018-07-09 18:00:25 -07:00
incrementalFeedTests.js 1.15.2 2019-02-28 13:03:38 -08:00
mocha.json Minor test fixes 2016-07-18 12:05:31 -07:00
murmurHashTests.js added support for urifactory, rupm, consistentPrefix 2017-05-09 20:57:08 -07:00
plaftormTests.js Node.js SDK 1.12.1 release 2017-08-09 14:19:14 -07:00
platformTests.js Release 1.14.5 (#246) 2018-07-09 18:00:25 -07:00
proxyTests.js Merged PR 61: Merge moderakh/proxy-support-pull-request-from-github to master 2017-12-21 23:20:33 +00:00
queryMetricsTests.js Version 1.14.4 release 2018-05-03 15:21:04 -07:00
queryTests.js 1.15.1 release 2019-01-14 16:25:28 -08:00
rangePartitionResolverTests.js added support for urifactory, rupm, consistentPrefix 2017-05-09 20:57:08 -07:00
rangeTests.js Release 1.14.5 (#246) 2018-07-09 18:00:25 -07:00
readme.md nodejs-sdk: user-agent fix, minor cleanup 2017-01-27 13:48:10 -08:00
ruPerMinTests.js Node.js SDK 1.13.0 release 2017-10-11 16:08:19 -07:00
sessionContainerTests.js Version 1.14.4 release 2018-05-03 15:21:04 -07:00
sessionTests.js 1.15.1 release 2019-01-14 16:25:28 -08:00
smartRoutingMapProviderTests.js added support for urifactory, rupm, consistentPrefix 2017-05-09 20:57:08 -07:00
splitTests.js Merged PR 18: Merge srnara-test-fixes to master 2017-11-08 01:19:04 +00:00
sslVerificationTests.js Node.js SDK 1.11.0 release 2017-03-15 19:00:20 -07:00
test.js 1.15.2 2019-02-28 13:03:38 -08:00
uriFactoryTests.js fixed urifactory test 2017-05-09 20:57:33 -07:00

readme.md

Follow these instructions to run the tests locally.

Prerequisites

  1. Clone Azure/azure-documentdb-node repository Please clone the source and tests from https://github.com/Azure/azure-documentdb-node

  2. Install Node.js and npm https://docs.npmjs.com/getting-started/installing-node

  3. Install mocha package globally

npm install -g mocha

Running the tests

Using your command-line tool, from the root of your local copy of azure-documentdb-node repository: If you are contributing changes and submitting PR then you need to ensure that you run the tests against your local copy of the source, and not the published npm package.

If you just want to run the tests against the published npm package then skip steps #1 & #2 proceed directly to step #3

  1. Remove documentdb, if previously installed

npm remove documentdb

  1. Install documentdb

npm install source

  1. Change to test directory

cd test

  1. Run the tests

mocha -t 0 -R spec