Skip to content

Navigation Menu

Sign in
Sign up

Add assertion to test scripted examples - #312

Open
speedytwenty wants to merge 1 commit into
cli-table:master from
speedytwenty:assert-examples
Open

Add assertion to test scripted examples #312
speedytwenty wants to merge 1 commit into
cli-table:master from
speedytwenty:assert-examples

Conversation

@speedytwenty

@speedytwenty speedytwenty commented Dec 10, 2022

Copy link
Copy Markdown
Collaborator

The scripts that generate the cli-table3 docs include "testing" routines which never actually get tested. It's unclear whether this was lost or dropped somewhere along the way.

Here I've added a simple routine that tests the tables generated with the defined expectations.

It would be ideal if these "tests" were induced with the jest tests, but as is they are only induced within the "print-examples" and "update-docs" scripts.

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /