6a2c7300eb
- apply lint:fix results - revert fixes that are not related to consistent-type-imports and cases error - regenerate .api.md files - format - update core-comparison diff |
||
---|---|---|
.. | ||
node | ||
utils | ||
README.md | ||
aborter.spec.ts | ||
messageidclient.spec.ts | ||
queueclient.spec.ts | ||
queueclientmessages.spec.ts | ||
queueserviceclient.spec.ts | ||
utils.spec.ts |
README.md
Testing
To test this project, make sure to first build it properly by following our building instructions. Once the project is correctly built, you will be able to run the tests by following the testing instructions.
You can use existing Azure resources for the live tests, or generate new ones by using our New-TestResources.ps1 script, which will use a Bicep template that already has all of the the necessary configurations.
The Azure resources that are used by the tests in this project are:
- Two general purpose, v2 Azure Storage account properly configured to test the Azure Storage Blob, Azure Storage Queue, Azure File Data Lake and Azure File Share services.
You will also need to set the below environment variables to run the live tests:
TEST_MODE
: Should havelive
assigned.ACCOUNT_NAME
: The Azure Storage account name.STORAGE_DATALAKE_ACCOUNT_NAME
: An Azure Storage account name that has Azure Storage File Data Lake features.ACCOUNT_KEY
: The Azure Storage account key.ACCOUNT_SAS
: The shared access signature.STORAGE_CONNECTION_STRING
: The Azure Storage account connection string.
The live tests in this project will create queues in the provided Azure Storage account.