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

[datadog_synthetics_test] Update and standardize example tests #1928

Merged
merged 2 commits into from
May 23, 2023
Merged

[datadog_synthetics_test] Update and standardize example tests #1928

merged 2 commits into from
May 23, 2023

Conversation

IanMoroney
Copy link
Contributor

  • Add missing uptime test example
  • Standardise example blocks

When implementing datadog, I noticed there was no explicit example for an uptime test, which caused me to accidentally configure all uptime tests as browser tests instead of api tests.

Additionally, I noticed that some of the examples listed things like name, locations, and status towards the top, and others didn't. This caused me to write badly formatted code which I later had to go and correct once I realised what was possible.

This PR exemplifies good quality, readable, standardised code, and also adds a much needed example for uptime tests.

Add missing uptime test example
Standardise example blocks
@IanMoroney IanMoroney requested review from a team as code owners May 22, 2023 08:31
@nkzou nkzou changed the title Update synthetics_test.md [datadog_synthetics_test] Update and standardize example tests May 22, 2023
@nkzou nkzou merged commit 876ab56 into DataDog:master May 23, 2023
8 of 11 checks passed
@IanMoroney IanMoroney deleted the patch-1 branch June 6, 2023 15:20
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

3 participants