kevva / kevva/bin-wrapper

Simplify bin testing

Open
#32 1 comment 0 reactions 0 assignees View on GitHub
enhancement question
Dominant language
JavaScript
Stars
152
Forks
65
PR merge metrics
No merged PRs in 30d

Description

[This piece of code](https://github.com/sindresorhus/flow-bin/blob/71384dcc2c7c70cf9c49bd4c3cc61a1f4327ea5d/lib/install.js#L5-L13) can be used in most scenarios to test the binary. Would be nice if I could instead just call a method on `bin-wrapper` to do that, so to reduce useless boilerplate.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked lib/install.js lines 5-13 to understand the repeated binary-testing pattern and then inspect bin-wrapper's public API and existing tests. Done means the common test setup can be performed through bin-wrapper without the described boilerplate, with coverage for the supported usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.