taylorhakes / painless

Painless Test Library - Easy to learn, use and debug
MIT License
58 stars 3 forks source link

Read package.json for options #11

Closed taylorhakes closed 8 years ago

taylorhakes commented 8 years ago

It can get annoying to specify command line args. Allow the user to specify args in the package.json.

{
  "painless": {
    "reporter": "spec",
    "async": true
  }
}
taylorhakes commented 8 years ago

I can't find a good way to do this without breaking compatibility with browser tests. The user may not have a package.json and webpack/browserify will try to pull it in anyways.

Closing this until another method is found