Skip to content

Conversation

nbriannl
Copy link
Contributor

@nbriannl nbriannl commented Mar 25, 2020

What is the purpose of this pull request? (put "X" next to an item, remove the rest)

• [ ] Documentation update
• [ ] Bug fix
• [ ] New feature
• [ ] Enhancement to an existing feature
• [X] Other, please explain: Testing

What is the rationale for this request?

Added more tests than will more comprehensively cover the behaviors of components I've worked on. Particular Boxes and Code Block, since I've done PRs #1034, #1137, MarkBind/vue-strap#129

What changes did you make? (Give an overview)

Is there anything you'd like reviewers to focus on?

Not sure other than naming of tests and any coverage I've left out.

Testing instructions:

Check and run tests.

Proposed commit message: (wrap lines at 72 characters)

Add and organise tests for code blocks

@nbriannl nbriannl changed the title [WIP] Add unit tests for markdown-it [WIP] Add tests for markdown-it Mar 25, 2020
@nbriannl nbriannl marked this pull request as draft April 29, 2020 05:43
@nbriannl nbriannl closed this Apr 29, 2020
@nbriannl nbriannl reopened this Apr 29, 2020
@nbriannl nbriannl force-pushed the make-tests branch 3 times, most recently from 87e2af3 to 6a82dda Compare April 29, 2020 06:51
@nbriannl nbriannl changed the title [WIP] Add tests for markdown-it [WIP] Add tests Apr 29, 2020
@nbriannl nbriannl changed the title [WIP] Add tests Add and organise tests for boxes and code blocks Apr 29, 2020
@nbriannl nbriannl marked this pull request as ready for review April 29, 2020 08:49
@@ -0,0 +1,15 @@
**Test: Boxes**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely see the purpose of the code block tests, what does this cover that componentParserTest misses though?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, does componentParserTest cover the rendering of markdown inside components?

I'll go check later.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yeah, I found that it covered. My bad 👍

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, the code blocks tests looks good 👍

@nbriannl nbriannl requested a review from ang-zeyu May 2, 2020 05:39
@nbriannl nbriannl changed the title Add and organise tests for boxes and code blocks Add and organise tests for code blocks May 2, 2020
@nbriannl nbriannl dismissed openorclose’s stale review May 4, 2020 08:11

Review during WIP

@nbriannl nbriannl merged commit 99b6252 into MarkBind:master May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants