iModelHub client tests
Copyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.
This package contains unit and integration tests for the iModelHub client (
@bentley\imodelhub-client npm package).
Refer to the iTwin.js prerequisites
Running the tests
Start by running the build instructions from this repository
There are multiple sets of tests:
npm testwill run the unit tests
npm run test:integrationwill run the integration tests
npm run test:imodel-bankwill run the iModelBank tests
Since this package contains the test for other packages, the test coverage output is not found in this package output, but in the appropriate package's output.
The tests contained in this package are configured to generate incremental coverage from other packages. For example, if
npm run cover has already been run for
npm run cover is run for this package, this package output will contain both the combined coverage results.
This package generates test coverage for
@bentley/backend-itwin-client (/core/backend-itwin-client) and
The coverage output can be found at
lib/test/coverage/full-stack-tests from the root of the covered package.