ManageIQ / ManageIQ/linux_admin

Change tests to use stub_good_run

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

Nobody has claimed this yet.

enhancement help wanted test
Dominant language
Ruby
Stars
30
Forks
27
PR merge metrics
No merged PRs in 30d

Description

In our tests, we currently reference AwesomeSpawn::CommandResult and other internal api classes

It would be great to start using require "awesome_spawn/spec_helper" and methods like stub_good_run

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.

Research direction

Locate the tests that reference AwesomeSpawn::CommandResult and other internal API classes. Read awesome_spawn/spec_helper and identify how stub_good_run should replace those references; done means the relevant tests use the public helper methods and continue to pass.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.