npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@bespoken-sdk/test-integration

v1.0.3

Published

This tool tends to be a test runner with integrations with different providers and Bespoken dashboard features.

Downloads

80

Readme

Test Integration

This tool tends to be a test runner with integrations with different providers and Bespoken dashboard features.

Supported Integrations

TestRail

Required values

required keys

| Variable name | Description | | ----------------------------- | ----------------------------- | | TESTRAIL_USERNAME | The user name | | TESTRAIL_KEY | The password or Api Key | | TESTRAIL_HOST | The Test Rail Host | | TESTRAIL_PROJECT | The project name | | BESPOKEN_VIRTUAL_DEVICE_TOKEN | Bespoken virtual device token | | BESPOKEN_API_KEY | Bespoken API KEY |

Sample:

TESTRAIL_USERNAME=''
TESTRAIL_KEY='xxx'
TESTRAIL_HOST='https://voxai.testrail.com'
TESTRAIL_PROJECT='Voxai Test'
BESPOKEN_VIRTUAL_DEVICE_TOKEN='phone-...'
BESPOKEN_API_KEY='api-...'

How to run:
npm run process:testrail

Test structure supported

Suported keyword from step text

| Token | Description| | ------ | ---------- | | Listen | It will listen for its following text, if there are multiple listen token in a row, those will be concatenated to produce a single test in Bespoken | | Say | It will Vocalize its following text | | Press | It will press the numbers |

The expected property will be used as expected too in Bespoken.

Sample: | Step | Expected | | -------------- | ---------------- | | 1. Start call IN1000 | Thank you for calling the Clipper customer service center | | 2. Listen to IN6000 | To go back to Main Menu, say main or press 1 To access a different clipper card account, say switch or press 2 For any additional questions, say agent or press 0 If you are done here, just hang-up | | 3. Say What’s my clipper card balance? | Please enter your document number | | 4. Press 3 or say "No" | Thank you for calling clipper card |

The above steps will be converted into:

In Bespoken dashboard

Variables in test

If at any time a variable is required, it shoud be defined in the preconditions as variable:value, if more variables are required it should be enter in a new line. sample:

<phone>:11112
<another_variable>:its value

Is mandatory to have the phone variable defined always, it's value is the IVR Phone Number, sample <phone>:999123999

Add a trigger button in Testrail

It is possible to add a custom button to Testrail using scripts UI, more information can be found here