taufik-nurrohman / parsedown-extra-plugin

Configurable Markdown to HTML converter with Parsedown Extra.
MIT License
60 stars 13 forks source link

Could you provide some test for all the supported cases? #3

Closed karfau closed 7 years ago

karfau commented 7 years ago

You have a lot of cases in your README.md, how did you verify they all work?

I can help with setting up test automation but don't have enough experience in testing with PHP myself to build those tests.

Ideally you could use the tests to create a report with all the supported usecases?

Best Christian

taufik-nurrohman commented 7 years ago

Is creating a test folder contains some of the required code snippets manually can be considered a test? If so, I can create them.

karfau commented 7 years ago

Well my personal opinion is that it is only a test when I can clone the project, do some documented setup maybe and run the tests and the pass or fail, aka are executable.

But if you also don't know how to achieve this, maybe the snippets for input and expected output are a good starting point.

Then it might be easier for somebody who knows or is willing to learn how to do it, to contribute.

I just imagine that some projects would love to include those features you offer, but might not consider it, because there is no easy proof that future changes will not break everything.

Best Christian