Should we deprecate this module (and or rebuild it)? #53
Description
Context
It seems like several people have started using this module. I original authored this to scratch my own itch:
https://github.com/strongloop/loopback/blob/master/test/access-control.integration.js
I had a ton of access control tests to write. Typically we just write a utility method in a test file or in a supports.js or util file somewhere to reduce the redundancy of test setup. The issue with the access control tests was that even it()
and describe()
were becoming somewhat repetitive.
This Module
Enter this testing module, it was initally written within loopback and specifically that file linked above. It reduced the definition of access control tests from 5-10 lines each to 1 liners.
The issues
- generating tests means you have to do weird hacks like this
beforeEach
is essentially hard coded into the helpers- poorly documented / not written with intent for community consumption
- mocha specific :(
Question
Should we deprecate this module? We have several pull requests that we might as well land, but probably should discourage new contributions and instead willing devs should spend effort in a better direction (eg. mocha agnostic test utils).