luckyframework / luckyframework/lucky_flow

Add dependency on Lucky

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

Nobody has claimed this yet.

Dominant language
Crystal
Stars
55
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Related https://github.com/luckyframework/lucky_flow/issues/20

LuckyFlow was meant to be like Capybara which can be used with any framework or library so it does not have a dependency on Lucky. The problem is that there are still helpful methods added that use classes provided by Lucky and Avram but because the dependency is missing we can't actually use or test those methods because they don't exist from LuckyFlow's point of view.

I believe that we should go ahead and make that dependency explicit so that we can fully exploit that connection and test it correctly.

https://github.com/luckyframework/lucky_flow/blob/9c4ca1d5d72aac50f676e1f6efa287148e4fc21a/src/lucky_flow.cr#L27-L40

https://github.com/luckyframework/lucky_flow/blob/9c4ca1d5d72aac50f676e1f6efa287148e4fc21a/src/lucky_flow.cr#L113-L120

https://github.com/luckyframework/lucky_flow/blob/9c4ca1d5d72aac50f676e1f6efa287148e4fc21a/src/lucky_flow/expectations.cr#L17-L23

Contributor guide

No contributing guide indexed for this repository

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 with the referenced sections in src/lucky_flow.cr and src/lucky_flow/expectations.cr, then inspect the repository's dependency configuration and existing tests. Add the explicit Lucky dependency and verify that the Lucky- and Avram-based methods can be used and tested correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
crystal
Domain
testing
Issue type
Feature
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.