Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests and refactor MTurkLargeRecruiter #1496

Merged
merged 5 commits into from Nov 16, 2018
Merged

Conversation

jessesnyder
Copy link
Collaborator

@jessesnyder jessesnyder commented Nov 7, 2018

Description

I thought I'd found a subtle bug in the MTurkLargeRecruiter, because the logic of the recruit() method was hard to follow. This PR just adds or clarifies some tests, and then refactors that method.

Motivation and Context

  1. Clarity
  2. Avoid depending on the real redis connection in these tests. We have other tests for the redis connection.

How Has This Been Tested?

Full automated test coverage.

@jessesnyder jessesnyder changed the title Add tests and refactor MTurkLargeRecruiter WIP: Add tests and refactor MTurkLargeRecruiter Nov 7, 2018
@jessesnyder jessesnyder changed the title WIP: Add tests and refactor MTurkLargeRecruiter Add tests and refactor MTurkLargeRecruiter Nov 7, 2018
@codecov
Copy link

codecov bot commented Nov 7, 2018

Codecov Report

Merging #1496 into master will increase coverage by 0.1%.
The diff coverage is 100%.

@@           Coverage Diff            @@
##           master   #1496     +/-   ##
========================================
+ Coverage    85.7%   85.7%   +0.1%     
========================================
  Files          30      30             
  Lines        4010    4015      +5     
  Branches      538     536      -2     
========================================
+ Hits         3434    3439      +5     
- Misses        457     458      +1     
+ Partials      119     118      -1

@vlall vlall merged commit f7c26de into master Nov 16, 2018
@jessesnyder jessesnyder deleted the clarify-mturklarge-recruiter branch April 6, 2020 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants