Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

[BotBuilder Skills][TypeScript] Implement tests #1403

Merged
merged 11 commits into from
May 22, 2019

Conversation

Batta32
Copy link
Collaborator

@Batta32 Batta32 commented May 22, 2019

Description

  • Implement SkillEvents instead of Events in skillDialog file
  • Implement skillDialogInvocationTest
  • Implement skillDialogSlotFillingTest
  • Implement manifestTest
  • Implement skillMiddlewareTest
  • Implement mock classes
  • Add helpers
  • Change test folder structure
  • Update npm-shrinkwrap.json

Testing Steps

  1. Go to botframework-solutions\lib\typescript\
  2. Run rush update
  3. Run run rebuild
  4. Go to botframework-solutions\lib\typescript\botbuilder-skills
  5. Run npm run test and check the following output

image

Checklist

  • I have added or updated the appropriate unit tests

@darrenj darrenj merged commit fe19d3e into master May 22, 2019
@darrenj darrenj deleted the southworks/botbuilder-skill/add-tests branch May 22, 2019 14:39
lzc850612 pushed a commit that referenced this pull request Jul 31, 2019
* Remove initial structure

* Add resources for mocks

* Add mockMicrosoftAppCredentials and mockSkillTransports inside mock folder

* Implement helpers (baseBot, manifestUtilities, and testbases)

* Implement skillDialogInvocationTest

* Implement skillDialogSlotFillingTest

* Implement manifestTest

* Implement skillMiddlewareTest

* Update shrinkwrap

* Adapt SkillEvent enum

* Final changes (remove unnecessary stuffs)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants