This package has been deprecated

Author message:

This package has reached end of life and is deprecated. Please refer to our support policy, https://www.itwinjs.org/learning/api-support-policies/, and changelog, https://www.itwinjs.org/v3/changehistory/3.0.0/#package-name-changes.

@bentley/imodelhub-client-tests
TypeScript icon, indicating that this package has built-in type declarations

2.19.53 • Public • Published

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).

Prerequisites

Refer to the iTwin.js prerequisites

Running the tests

Start by running the build instructions from this repository

There are multiple sets of tests:

  1. npm test will run the unit tests
  2. npm run test:integration will run the integration tests
  3. npm run test:imodel-bank will run the iModelBank tests

Test coverage

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 @bentley/imodelhub-client then 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 @bentley/imodelhub-client (/clients/imodelhub). The coverage output can be found at lib/test/coverage/full-stack-tests from the root of the covered package.

Dependents (0)

Package Sidebar

Install

npm i @bentley/imodelhub-client-tests

Weekly Downloads

16

Version

2.19.53

License

MIT

Unpacked Size

8.36 MB

Total Files

141

Last publish

Collaborators

  • aruniverse
  • colinkerr
  • cshafer
  • imodeljs
  • wgoehrig