We need to cache tests.json object. Currently Quail requests for it for each $.quail() call, and it slowly becomes to be a bottleneck.
BUT there are some things that we need to look for while doing this enhancement.
- We can't cache just first result, as client might provide different
options.jsonPath in another call and it might be totally different file.
We need to cache
tests.jsonobject. Currently Quail requests for it for each$.quail()call, and it slowly becomes to be a bottleneck.BUT there are some things that we need to look for while doing this enhancement.
options.jsonPathin another call and it might be totally different file.