andrewhathaway / Winterfell

Generate complex, validated and extendable JSON-based forms in React.
http://winterfell.andrewhathaway.net
MIT License
785 stars 116 forks source link

End-to-end testing and test suite #18

Open andrewhathaway opened 9 years ago

andrewhathaway commented 9 years ago

Test suite needs setting up and tests need to be written for everything. Also run tests on prepublish.

ryoia commented 9 years ago

thanks!

timReynolds commented 8 years ago

This library looks great but I notice the lack of tests. To make it easier for someone, or myself, to pick this up do you have any preference on test suite setup and approach?

andrewhathaway commented 8 years ago

Hi @timReynolds.

I have no strict preference but I have previously used Jest for testing and that has been great. Enzyme has also been something I've been meaning to get in to!

timReynolds commented 8 years ago

I made a start using both these at the weekend as they are what I'd personally use. I'll open a WIP PR later with the basic setup in

On 7 Mar 2016, at 16:37, Andrew Hathaway notifications@github.com wrote:

Hi @timReynolds.

I have no strict preference but I have previously used Jest for testing and that has been great. Enzyme has also been something I've been meaning to get in to!

— Reply to this email directly or view it on GitHub.