amazon_lex_bot_test
Test Amazon Lex bots easily by defining business requirements through conversations:
lex-bot-test --example BookTrip
lex-bot-test --test-file <your-test-file> --alias test --region us-west-2 --verbose
Sample Test Definitions:
This should give you an idea how to define your test cases. Essentially you can test the response attributes and use Python patterns in the test condition. Not an examples from the samples as they don’t have session attributes.
name: test-lex-bot
description: Regression tests for the Amazon Lex bot
botName: your-bot-name
botAlias: test
waitBetweenRequestsMillis: 0
sequences:
- name: book a car with all defaults
description: book a car with all defaults
sequence:
- utterance: "book a car with all my defaults"
postConditions:
message:
- "Ok, Pickup of economy class car tomorrow and drop off in 2 days in new york?"
- utterance: "yes"
postConditions:
dialogState: ReadyForFulfillment
slots:
CarType: economy
DriverAge: "38"
PickUpCity: new york
PickUpDate: ".*"
ReturnDate: ".*"
sessionAttributes:
- name: cart
pattern: ".*total: $33.35.*"
Free software: MIT-0 license
Documentation: https://amazon-lex-bot-test.readthedocs.io.
Features
TODO
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2018-12-12)
First release on PyPI.
Metadata
Release files for amazon-lex-bot-test 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| amazon_lex_bot_test-0.1.1.tar.gz | 13.1 kB | Without provenance | Details for amazon_lex_bot_test-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| amazon_lex_bot_test-0.1.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for amazon_lex_bot_test-0.1.1-py2.py3-none-any.whl |
Total release size: 21.9 kB
Release files / amazon_lex_bot_test-0.1.1.tar.gz
| Download URL | amazon_lex_bot_test-0.1.1.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c14368c410e033e4ce9eddc408db5a14c4694f857a243049273342640207732b
|
|
BLAKE2b-256 checksum How to use checksums |
7b2a1381ee2278170189282e2dd64a32d2852a9c2cf9d784cd6866c2a4ca7a0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
|
Release files / amazon_lex_bot_test-0.1.1-py2.py3-none-any.whl
| Download URL | amazon_lex_bot_test-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
069c58d0bc5c73642868578047ef67a1fafe1b5d5a59eefbae4348bc5e346919
|
|
BLAKE2b-256 checksum How to use checksums |
9ebc57e565abdd24811c1327ef6cfcb151be75d6cac774af588b641d0ce21b4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
|
Security for amazon-lex-bot-test 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.