skill-testing-ml

Skill Testing Markup Language

Usage no npm install needed!

<script type="module">
  import skillTestingMl from 'https://cdn.skypack.dev/skill-testing-ml';
</script>

README

CircleCI Build status codecov

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:
Output

Read our getting started guide here.

Learn about common use-cases here.

For more in-depth info, read the full specification

Current Support

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

Roadmap

  • Much better documentation!

Support

Talk to us on gitter.