lbovet / docson

Documentation for your JSON types
Apache License 2.0
491 stars 97 forks source link

What is the proper way of running tests? #77

Open cwalther opened 4 years ago

cwalther commented 4 years ago

I am confused as to how to run tests for Docson (and add tests for bugs I’m trying to fix, which is my actual motivation). Here is what I tried:

Could any outdated things please be removed from the repository, or clearly marked as outdated?

If there is a supported automated way of running tests, I would also suggest naming it as scripts.test in package.json so that no detective work is required to find it.

yanick commented 4 years ago

I have to dig back into my notes. I think that the tests were originally using Nightwatch, and I moved them to jest/puppeter. The part I don't remember is if all tests were already set to be running together, or if I always ran them one by one. I'll check back things, and get back to you -- prolly tomorrow.