[markdown] Add Tests

Created on 11 May 2020, almost 5 years ago
Updated 28 March 2025, 6 days ago

Problem/Motivation

Currently, there are absolutely no tests for this project.

This is/was, in part, due to time constraints and the need to get a stable release out the door.

It is also in part due to the requirements of external libraries and PECL extensions that will make setting up DrupalCI... challenging (the latter not, yet, supported #2949210: Drupalci Roadmap β†’ ).

We can, however, start to implement tests for the Drupal side of things (i.e. plugin managers, plugins, etc.).

Proposed resolution

Split out areas where tests are needed and create sub-tasks for implementing them.

🌱 Plan
Status

Needs work

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States markhalliwell

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • @megachriz opened merge request.
  • πŸ‡³πŸ‡±Netherlands megachriz

    I've written a few tests to render a text with each markdown parser. Only for the CommonMark PECL parser I marked the test as incomplete because that one requires a PECL extension. Without the markTestIncomplete() call, the fails with the error Call to undefined function CommonMark\Parse().

Production build 0.71.5 2024