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

LuponMedia Bid Adapter: user sync endpoint updated #8126

Closed
wants to merge 21 commits into from

Conversation

adxpremium
Copy link
Contributor

Type of change

  • [ x] Code style update (formatting, local variables)

@lgtm-com
Copy link

lgtm-com bot commented Feb 28, 2022

This pull request introduces 1 alert when merging e14acda into 00e0bb5 - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

@musikele
Copy link
Contributor

musikele commented Mar 2, 2022

Hi @adxpremium , code coverage is at 57.22%, that is below 80%, the required minimum to accept this PR.
In order to see code coverage, you can run:

npx gulp test-coverage

followed by

npx gulp view-coverage

@adxpremium
Copy link
Contributor Author

Hi @adxpremium , code coverage is at 57.22%, that is below 80%, the required minimum to accept this PR. In order to see code coverage, you can run:

npx gulp test-coverage

followed by

npx gulp view-coverage

Hi, we are not sure what code coverage is in this case and what needs to be done on our side to make PR pass the minimum requirements? Could you please explain?

@musikele
Copy link
Contributor

musikele commented Mar 2, 2022

@adxpremium

Hi, we are not sure what code coverage is in this case and what needs to be done on our side to make PR pass the minimum requirements? Could you please explain?

A Prebid rule is that everything that gets merged must have at least 80% code coverage + at least one review.

When we execute unit tests with npx gulp test-coverage, we check that tests are covering at least 80% of total lines of code. If you launch the two commands I wrote above, in your branch, you will be presented with a page with all the code coverage of all modules.

image

@patmmccann patmmccann changed the title LuponMedia user sync endpoint updated LuponMedia Bid Adapter: user sync endpoint updated Mar 9, 2022
@patmmccann
Copy link
Collaborator

can you please remove digitrust references?

@adxpremium
Copy link
Contributor Author

@patmmccann digitrust is now removed

@patmmccann
Copy link
Collaborator

Tyvm

@musikele
Copy link
Contributor

hi there. I still see tests missing for the following functions:

  • masSizeOrdering
  • setGdprAndPrivacy
  • setUserId
  • setSiteAndUserData
  • setAdserverOrg
  • setLiveIntent
  • setIdentityLink
  • setPubcommon
  • mapSizes
  • parseSizes

Coverage is still stuck at 56.75% , cannot merge.

@patmmccann
Copy link
Collaborator

@adxpremium please see #8372 . Is your use of getLegacyFPD working? It appears not

@lgtm-com
Copy link

lgtm-com bot commented May 12, 2022

This pull request introduces 1 alert when merging 1bdc194 into 7a80c65 - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

@ChrisHuie
Copy link
Collaborator

@adxpremium following up on this pr. Looks like there have been more recent additions here but appears to be a current conflict with master? Were you able to update testing for the above functions?

@patmmccann
Copy link
Collaborator

@adxpremium review of your adapter cannot proceed until you improve test coverage.

@ChrisHuie
Copy link
Collaborator

@adxpremium closing this pr for now. Please feel free to reopen or open an issue if you need help with this adapter update.

@ChrisHuie ChrisHuie closed this Sep 12, 2022
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.

6 participants