infinitered / infinitered/rmq

Tests for the merging of options in Animations

Open
#58 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
305
Forks
51
PR merge metrics
No merged PRs in 30d

Description

This came from PR #56

I would love to also help with this, but I'm not sure how to test the merging of options

Test bellow wouldn't really test it, right?

``` ruby
it 'should throb with custom durations' do
@viewq.animations.throb(duration: 0.0, duration_out: 0.0).is_a(RubyMotionQuery::RMQ).should == true
end
```

I think we could pass any options there and the test would still pass.

Any ideas?

And thanks for RMQ, it's really easy to get going with and and quite useful!

Contributor guide

No contributing guide indexed for this repository

Research direction

Read PR #56 and the existing animation test around the shown throb example first. Exercise option merging with custom durations and verify the resulting animation behavior, rather than only checking the return type; done means the test distinguishes correct merging from an arbitrary options call.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.