Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing in different languages #104

Open
gumulka opened this issue Dec 23, 2018 · 1 comment
Open

Testing in different languages #104

gumulka opened this issue Dec 23, 2018 · 1 comment

Comments

@gumulka
Copy link

gumulka commented Dec 23, 2018

I found this link:
https://mycroft.ai/documentation/skills/automatic-testing/#how-to-define-tests-for-your-skill

And asked myself, how can I do this in a different language?

Or in a multilingual way?

Defining the utterance as de-de or en-us?

Is it done via the context, or some other way?

The documentation should give an example here, if implemented.
Otherwise it is an issue for the skills section. As testing utterance only in one language is way to less.

@krisgesling
Copy link
Contributor

Just to update, as we've moved to a new Behavioural Driven Development test framework Voight Kampff.

This will now require a new Given Step to be added to core.
https://mycroft-ai.gitbook.io/docs/skill-development/voight-kampff/custom-steps
Eg:

Given a {language} speaking user
When ...
Then ...

It may work just to set the language configs using the existing:

Given the user's {config} is {value}

however I haven't tested this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants