luckyframework / luckyframework/avram

Be able to get attributes from Factory as named tuple

Open
#371 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Crystal
Stars
183
Forks
67
PR merge metrics
No merged PRs in 30d

Description

I want to test methods and classes with params from my boxes.

It would be amazing to be able to get generated attributes from boxes as `NamedTuple` for passing to methods or something else.

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

Start by locating the Factory and box APIs described in the issue and review how generated attributes are currently exposed. Clarify the expected NamedTuple shape and usage for passing box attributes to methods, then add coverage showing the requested behavior is complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
crystal
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.