Skip to content

A bunch of questions and feature suggestions :-) #143

Description

@yonjah

Hi I just started using Felicity for automatically Fuzz test my hapi routes and overall It's working great.
Initially I couldn't get it to work as is and I had to add some minor hacks to get it to work ( I think mostly because I use Joi 13.x and felicity is using Joi 11.x).

So I have a few suggestions / questions trying to figure out if I'm using it wrong or can implementation improve.

  1. When generating an example, I noticed the description that is derived from the schema is later used to recreate parts of the schema. I wonder why is it needed and if it's not possible to use the original schema.
  2. Is it possible to have an option to include a custom Joi instance with extension ?
    I saw a feature request regarding extensions and in my own trials I replaced Joi with a custom instance and it worked well (but it had very simple extensions)
  3. It would be great if there was an option to override the actual example generation for some specific types like all plain strings, or emails etc. like passing a function that gets a description and returns the value to be used in the example.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions