Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Add integration tests that test common markup on a page #35

Open
natikgadzhi opened this issue Jul 15, 2020 · 0 comments
Open

Add integration tests that test common markup on a page #35

natikgadzhi opened this issue Jul 15, 2020 · 0 comments
Assignees
Labels

Comments

@natikgadzhi
Copy link
Owner

The idea is to have a very simple integration test that would verify that Notoma Convert works as expected.

To make this, I can:

  • Create a simple test structure, like tests/integration/convert/
  • Add a fixture of a Markdown file that I convert with Notoma manually and review it's correctness, we'll use this as reference.
  • Write a simple shell script as a test that would invoke notoma convert, use the key and the blog database from env variables and put the output in the out directory.
  • Compare the out/reference.md to fixtures/reference.md. If they're different, then something is broken ;)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant