BDT as Bulk Data testing app for CLI
Prerequisites: Make sure you have git
and NodeJS
version >= 14 installed
git clone https://github.com/smart-on-fhir/bdt
cd bdt
npm i
# To register bdt as globally available executable also run this:
npm i -g .
# Otherwise you will have to run it using "node ." from the project folder
Contributions are welcome, just make sure you check out the API Docs first.
Quick start
# Here "my/config.js" is the path to your configuration file
bdt test --config my/config.js
The bdt tool contains 3 subcommands:
test
- Runs the test suitelist
- List available tests (useful for third-party integration)audit
- Generates audit reports
The usage is
bdt [options] [command]
# or
bdt [command] [options]
For more information run one of:
bdt --help
- common usagebdt help test
- test command usagebdt help list
- list command usagebdt help audit
- audit command usage
Tests a server
bdt test -c config-examples/reference-server-r4.js
Tests a server but only run authorization-related tests
bdt test -c config-examples/reference-server-r4.js -P authorization.test.js
Tests a server against Bulk Data v1
bdt test -c config-examples/reference-server-r4.js --api-version 1