Add missing tests

Open
#176 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
ruby
Domain
testing

Research direction

Start by locating check_singleton and the empty test methods in the Ruby FileUtils test suite. Use the existing test_touch coverage and neighboring tests as patterns, then add meaningful tests for the unchecked methods and empty methods listed in the issue. Done means the checklist items are covered and the test suite passes.

Written by the indexing model from the issue text.

Description

check_singleton only tests:

  • test_compare_file
  • test_compare_stream
  • test_cd, test_chdir
  • test_getwd
  • test_identical?
  • test_link
  • test_makedirs, test_mkpath
  • test_move
  • test_rmtree
    alias of test_rm_rf?
  • test_safe_unlink
  • test_symlink
  • test_touch

Empty tests:

  • test_collect_methods
  • test_commands
  • test_have_option?
  • test_options
  • test_options_of
Dominant language
Ruby
Stars
69
Forks
37
Avg merge
5h 34m
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ruby/fileutils

All issues in ruby/fileutils

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.