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

Core UT #480

Merged
merged 19 commits into from
May 26, 2018
Merged

Core UT #480

merged 19 commits into from
May 26, 2018

Conversation

ulivz
Copy link
Member

@ulivz ulivz commented May 22, 2018

Summary

Before v1.0.0, i.e. before we support plugin, it would be better to complete all the core unit tests.

This PR leverage Jest and vue-test-utils as the test tools, and creates prepare process for test, which is mainly for creating temporary siteData in two situations (using or not using i18n) —— We need to ensure that VuePress works well at such two scenarios.

Scope

This PR is only the setup of the basic environment, and the testing of the two core components. We also need to complete the testing of the following parts

This PR included the testing of following parts:

  • Markdown-it plugin.
  • Core components.

cc @yyx990803

@ulivz ulivz requested a review from yyx990803 May 22, 2018 19:25
@ulivz ulivz added the status: WIP Work in progress label May 22, 2018
@ulivz ulivz changed the title UT Infrastructure Core UT May 26, 2018
@ulivz ulivz merged commit f3beba6 into master May 26, 2018
@ulivz ulivz deleted the setup-ut branch May 29, 2018 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: WIP Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants