avajs / awesome-ava

Awesome AVA resources
https://avajs.dev
Creative Commons Zero v1.0 Universal
346 stars 36 forks source link

Add `ava-fixtures` to Packages section #19

Closed unional closed 7 years ago

unional commented 7 years ago

It's getting stable enough to be added to the list. 🌷

sindresorhus commented 7 years ago

I'm having a hard time understanding it and its benefit. What are the benefit of all this magic and custom DSL? It's not clear enough what the difference between a fixture and baseline test are? Are you supposed have both fixture and baseline tests in the same file? Why are they custom test wrapper instead of just custom assertions? I think you should have one example first that simply shows a real-world example with both fixture and baseline tests, without focusing on showing all the exposed properties and APIs.

unional commented 7 years ago

Thanks for the feedback. I don't have time in the next few days, but will update the readme when possible to better describe the benefit of the library. 🌷

unional commented 7 years ago

I have updated the README https://github.com/unional/ava-fixture Let me know if there are still any confusion. 🌷