alexfertel / bulloak

A Solidity test generator based on the Branching Tree Technique.
Apache License 2.0
225 stars 13 forks source link

Feature request: `bulloak.toml` config file #38

Open PaulRBerg opened 9 months ago

PaulRBerg commented 9 months ago

Things that I would like to configure (and which Bulloak would apply to all Solidity code generated via scaffold):

It would be nice if these settings could be kept in foundry.toml somehow, but I don't think Foundry allows custom configs.

I'm sure @mds1 and future users will find other use cases with this config file.

mds1 commented 9 months ago

I'd suggest requiring the config to just live in foundry.toml to avoid needing new config files for each tool. See https://github.com/foundry-rs/foundry/issues/5866 for my suggestion on how this would look

alexfertel commented 9 months ago

Tbh, I have conflicting feelings over this one. I totally agree with having a config file. However, if the only advantage of having the config inside foundry.toml is having one less file in the project, I'd rather use a separate bulloak.toml. I know people have hated having way-too-many config files historically, but I don't really mind it.

The rationale for a separate bulloak.toml is:

That being said, I'm not strongly opinionated.

PaulRBerg commented 9 months ago

I know people have hated having way-too-many config files historically, but I don't really mind it.

Me neither!

bulloak is already coupled to Foundry, however, that might change in the future.

TBH I can see Bulloak used for other blockchain programming languages + paradigms other than crypto.

The rationale for a separate bulloak.toml

Agree with all points