# skill-testing-ml

> Skill Testing Markup Language

Latest version **1.4.8** (published 2023-02-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install skill-testing-ml
pnpm add skill-testing-ml
yarn add skill-testing-ml
bun add skill-testing-ml
```

Provides the command `skill-tester`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.4.8 |
| Published | 2023-02-08 |
| First published | 2018-05-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=12 |
| Dependencies | 15 |
| Unpacked size | 272.7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 7 |
| Author | John Kelvie |
| Maintainers | jperata, moisesnandres, jpkbst, eicruzado, maxbespoken |

## Links

- npm: https://www.npmjs.com/package/skill-testing-ml
- Repository: https://github.com/bespoken/skill-testing-ml
- Homepage: https://github.com/bespoken/skill-testing-ml#readme
- Issues: https://github.com/bespoken/skill-testing-ml/issues
- npm.io page: https://npm.io/package/skill-testing-ml

## Dependencies (15)

- [jest](https://npm.io/package/jest.md) ^24.7.1
- [uuid](https://npm.io/package/uuid.md) ^3.3.3
- [chalk](https://npm.io/package/chalk.md) ^2.4.2
- [dotenv](https://npm.io/package/dotenv.md) ^8.2.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.11
- [winston](https://npm.io/package/winston.md) ^3.2.1
- [cosmiconfig](https://npm.io/package/cosmiconfig.md) ^5.2.0
- [virtual-alexa](https://npm.io/package/virtual-alexa.md) ^0.7.7
- [js-yaml-bespoken](https://npm.io/package/js-yaml-bespoken.md) ^3.11.6
- [bespoken-jsonpath](https://npm.io/package/bespoken-jsonpath.md) ^1.0.1
- [https-proxy-agent](https://npm.io/package/https-proxy-agent.md) ^5.0.0
- [jest-message-util](https://npm.io/package/jest-message-util.md) ^24.7.1
- [virtual-device-sdk](https://npm.io/package/virtual-device-sdk.md) ^1.9.0
- [bespoken-jest-stare](https://npm.io/package/bespoken-jest-stare.md) ^1.1.0-RC.2
- [virtual-google-assistant](https://npm.io/package/virtual-google-assistant.md) ^0.3.6

## Recent versions

- 1.4.8 (latest) — 2023-02-08
- 1.4.10 (beta) — 2023-03-17
- 1.4.8-alpha.1 (alpha) — 2023-02-07
- 1.4.9 — 2023-03-02
- 1.4.7 — 2023-01-16
- 1.4.7-alpha.1 — 2023-01-05
- 1.4.6 — 2022-11-16
- 1.4.6-alpha.1 — 2022-11-11
- 1.4.5 — 2022-09-08
- 1.4.5-alpha.1 — 2022-09-06
- 1.4.4 — 2022-08-29
- 1.4.4-alpha.1 — 2022-08-26
- 1.4.3 — 2022-08-15
- 1.4.3-alpha.3 — 2022-07-25
- 1.4.3-alpha.2 — 2022-07-18
- … 302 more at https://npm.io/package/skill-testing-ml/versions

## README

[![CircleCI](https://circleci.com/gh/bespoken/skill-testing-ml.svg?style=svg&circle-token=baefda47f4480601f66cc6a579920b2b1bb739e5)](https://circleci.com/gh/bespoken/skill-testing-ml)
[![Build status](https://ci.appveyor.com/api/projects/status/94a7lb3jdioai2jx?svg=true)](https://ci.appveyor.com/project/jkelvie/skill-testing-ml)
[![codecov](https://codecov.io/gh/bespoken/skill-testing-ml/branch/master/graph/badge.svg?token=C2VONoJUN3)](https://codecov.io/gh/bespoken/skill-testing-ml)
# The Skill Tester

## What Is This
A tool for unit-testing Alexa skills.

## How It Works
Write tests in YAML, like this:
```
---
- test: "Sequence 01. Test scenario: launch request, no further interaction."
- LaunchRequest: # LaunchRequest is not an utterance but a request type and "reserved" word
  - response.outputSpeech.ssml: "Here's your fact"
  - response.card.type: "Simple"
  - response.card.title: "Space Facts"
  - response.card.content: "/.*/" # Regular expression indicating any text will match
```

Output:  
<img src="https://raw.githubusercontent.com/bespoken/skill-testing-ml/master/docs/BST-Test-Output.png" width="500" alt="Output" />

Read our [getting started guide here](https://read.bespoken.io/unit-testing/getting-started/).

Learn about [common use-cases here](https://read.bespoken.io/unit-testing/use-cases/).

For more in-depth info, read the [full specification](https://docs.google.com/document/d/17GOv1yVAKY4vmOd1Vhg_IitpyCMiX-e_b09eufNysYI/edit)

## Current Support
- [X] Multi-turn conversations
- [X] Dialog Interface support
- [X] AudioPlayer interface support
- [X] Entity resolution
- [X] Explicit intent and slot setting
- [X] Wildcard support for non-regex expressions
- [X] Support for setting address and permissions
- [X] Explicit SessionEndedRequest
- [X] Support for goto and flow control
- [X] Support for testing dynamo
- [X] Callbacks for filtering payloads programmatically
- [X] Virtual device support

## Roadmap
- [ ] Much better documentation!

## Support
[Talk to us on gitter](https://gitter.im/bespoken/bst).

---
_Source: https://npm.io/package/skill-testing-ml · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
