nohup: write unit tests to improve coverage
Open
Nobody has claimed this yet.
good first issue
U - nohup
- Dominant language
- Rust
- Stars
- 24.1k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 365
Description
We almost don't have tests for nohup. We should have more:
https://codecov.io/gh/uutils/coreutils/tree/master/src/uu/nohup/src
Should be added here:
https://github.com/uutils/coreutils/blob/master/tests/by-util/test_nohup.rs
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the nohup implementation under src/uu/nohup/src and the existing tests in tests/by-util/test_nohup.rs, then compare the current coverage report. Add tests for the uncovered nohup behavior in the named test file. Done means the relevant behavior is covered and the test suite passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100