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

Tests: Add adUnitCode to exception list #3599

Conversation

osulzhenko
Copy link
Collaborator

@osulzhenko osulzhenko commented Dec 9, 2024

🔧 Type of changes

  • new bid adapter
  • bid adapter update
  • new feature
  • new analytics adapter
  • new module
  • module update
  • bugfix
  • documentation
  • configuration
  • dependency update
  • tech debt (test coverage, refactorings, etc.)

✨ What's the context?

What's the context for the changes?

🧠 Rationale behind the change

Why did you choose to make these changes? Were there any trade-offs you had to consider?

🔎 New Bid Adapter Checklist

  • verify email contact works
  • NO fully dynamic hostnames
  • geographic host parameters are NOT required
  • direct use of HTTP is prohibited - implement an existing Bidder interface that will do all the job
  • if the ORTB is just forwarded to the endpoint, use the generic adapter - define the new adapter as the alias of the generic adapter
  • cover an adapter configuration with an integration test

🧪 Test plan

How do you know the changes are safe to ship to production?

🏎 Quality check

  • Are your changes following our code style guidelines?
  • Are there any breaking changes in your code?
  • Does your test coverage exceed 90%?
  • Are there any erroneous console logs, debuggers or leftover code in your changes?

@osulzhenko osulzhenko added the do not merge Not the time for merging yet label Dec 9, 2024
@osulzhenko osulzhenko requested a review from marki1an December 9, 2024 17:16
@osulzhenko osulzhenko self-assigned this Dec 9, 2024
@osulzhenko osulzhenko changed the base branch from master to add-adunitcode-to-exception-list December 10, 2024 08:53
@osulzhenko osulzhenko added tests Functional or other tests and removed do not merge Not the time for merging yet labels Dec 10, 2024
Comment on lines 30 to 31
@JsonProperty("adunitcode")
String adUnitCode
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be in imp[].ext.prebid.adunitcode

and: "Response shouldn't contain warning"
assert !response.ext?.warnings

"Bidder request should bidderParams only for bidder"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and keyword before a text

@osulzhenko osulzhenko requested a review from marki1an December 10, 2024 13:58
}
}

def "PBS shouldn't emit warning and proceed auction when all ext.prebid.bidderParams fields known for PBS"() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please correct test name, since for now sounds like we shouldn't proceed auction

@osulzhenko osulzhenko requested a review from marki1an December 17, 2024 11:34
@osulzhenko osulzhenko merged commit 74c6f6d into add-adunitcode-to-exception-list Dec 17, 2024
@osulzhenko osulzhenko deleted the functional-tests/adunitcode-to-exception-list branch December 17, 2024 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Functional or other tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants