JoranHonig / vertigo

Mutation Testing for Ethereum Smart Contracts
GNU Lesser General Public License v3.0
204 stars 40 forks source link

Configuration #11

Open JoranHonig opened 5 years ago

JoranHonig commented 5 years ago

Currently vertigo leverages a range of command line parameters to configure mutation testing runs. With a decently sized projects one might end up using +10 command line parameters, which is-- not ideal.

To solve this vertigo should be extended with the ability to use configuration files.

Example of what this could look like:

vertigo run -c vertigo.yml

Example configuration:

networks:
    - development 1
jaymcgrath commented 5 years ago

Joran - Thanks for tagging this with the Hacktoberfest label. I'm going to start work on this one.

work plans: fork the repo look at how configurations currently work in vertigo look for existing implementations of configuration yamls in python (or libraries which make this easy) implement config ymls and tests šŸŽ‰

JoranHonig commented 5 years ago

@jaymcgrath That's super awesome! Let me know if you have any questions.

jaymcgrath commented 5 years ago

You bet! I'm going to be opening a draft PR soon to track this work, and probably digging into it formally this weekend.

jaymcgrath commented 5 years ago

I've opened a few minor PRs with things I encountered when getting set up. I've been researching ways to implement this, and this click-config library looks promising, although a little outdated: https://github.com/EverythingMe/click-config

JoranHonig commented 5 years ago

click-config seems like an in maintained small project. Iā€™d prefer to not add a dependency to their project here šŸ˜…

JoranHonig commented 5 years ago

Maybe manually loading yaml and populate unset variables is the way to go here

burke-md commented 2 years ago

I see some work had begun on this issue but doesn't seem to have been merged in. Would it be inappropriate to throw my hat into this ring? @JoranHonig,