Skip to content

Commit

Permalink
Add link to Datadog Checks Dev docs (#2080)
Browse files Browse the repository at this point in the history
* add link to datadog checks dev docs

* pointing link to head
  • Loading branch information
cswatt authored and Gus committed Aug 23, 2018
1 parent e83d729 commit 0a12735
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/dev/new_check_howto.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ To learn more about the base Python class, see the [Python API documentation][2]

There are two basic types of tests: unit tests for specific elements, and integration tests that execute the `check` method and verify proper metrics collection. Note that [pytest][3] and [tox][4] are used to run the tests.

For more information, see the [Datadog Checks Dev documentation][15].

The first part of the `check` method below retrieves two pieces of information we need from the configuration file. This is a good candidate for a unit test. Open the file at `my_check/tests/test_check.py` and replace the contents with something like this:

```python
Expand Down Expand Up @@ -412,3 +414,4 @@ python setup.py bdist_wheel
[12]: https://docs.datadoghq.com/integrations/
[13]: https://www.uuidgenerator.net/
[14]: https://docs.datadoghq.com/getting_started/tagging/
[15]: https://github.com/DataDog/integrations-core/tree/master/datadog_checks_dev#development

0 comments on commit 0a12735

Please sign in to comment.