Shopify / Shopify/roast

Add tests for nil_assertions.rb

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

Nobody has claimed this yet.

Dominant language
Ruby
Stars
1.2k
Forks
76
PR merge metrics
No merged PRs in 30d

Description

Part of #682

Add unit test coverage for lib/roast/nil_assertions.rb.

Test file should be created at test/roast/nil_assertions_test.rb

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

Read lib/roast/nil_assertions.rb to understand the behavior that needs coverage. Create test/roast/nil_assertions_test.rb with unit tests for that behavior; done means the new tests run successfully and cover the nil assertion code.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
testing
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.