dutchiexl / BehatHtmlFormatterPlugin

This is a behat plugin to generate HTML reports
MIT License
112 stars 116 forks source link

Tests and CI #115

Open PurHur opened 5 years ago

PurHur commented 5 years ago

The old behat tests for the behat formatter arent working anymore. The test tested the old HTML layout very hardcoded. Should we proceed like this? Since we now can load different templates we could create a own simplified template just for the testing pipeline.

What do you think? @donkidd

donkidd commented 5 years ago

I think that is simple tests for that are fine, I was also thinking that we should probably have some tests out there to test the actual classes doing the work. So the behat tests seem like more end to end type tests that make sure that the entire plugin works. But should we also have some unit tests to test & validate the actual classes that are behind the entire plugin?

PurHur commented 5 years ago

Yes that should be tested too since i feel like there are some basic bugs in the basic Feature/Scenario classes. But the behat test would be a simple "it just works now" test.