Skip to content
This repository was archived by the owner on Dec 29, 2021. It is now read-only.
This repository was archived by the owner on Dec 29, 2021. It is now read-only.

Poll as to possible new features #21

@nathanross

Description

@nathanross

First off, I want to say great crate - in a case of what can only be convergent evolution, it's very similar to a crate I built a while back to fulfill a similar need and given that this crate has more buy-in (and let's be honest, has a better, more intuitive, name), I'll probably retire second_law if I find it's no longer needed.

Second_Law has a lot of features that I'm wondering if there are any you'd be interested in me making PRs for. I didn't want to spam you with feature requests, but let me know if opening a separate issue each is better.

  1. Default to operation within a temporary folder
  2. Support for specifying the executable relative or absolute path
  3. Runs the executable in the temporary folder with a "clean slate" of environment variables by default, with the option of keeping the environment the user has set.
  4. Support for a fixtures directory whose contents gets copied over to the temporary directory
  5. Support for multicall binaries
  6. Support for piped input
  7. Support for evaluating that stdout or stderr is equal to the contents of a fixture

Note that second_law is not dual-licensed, so it would probably be best for these to be implemented fresh, not copied. However, if relicense+reuse is the easier path in your mind, you're welcome to set up a poll of me and the nine contributors to this file which second_law is derived from.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions