[doc] Update CONTRIBUTING.md to include test guidelines #110

Open
opened 2020-08-06 16:55:04 +00:00 by gburd · 0 comments
gburd commented 2020-08-06 16:55:04 +00:00 (Migrated from github.com)

Which type of tests should/do we write?

  • docstring tests for functions that would benefit from examples in documentation
  • unit tests in same file -- prefer in a separate module in same file for decluttering, 14ecf92880
  • separate test file (tests/tests.rs) should be used more for integration tests

Let's get this into CONTRIBUTING.md.

Which type of tests should/do we write? * docstring tests for functions that would benefit from examples in documentation * unit tests in same file -- prefer in a separate module in same file for decluttering, https://github.com/mozilla/mentat/pull/211/commits/14ecf9288088f594f09c3702bb3e828c6dd97d63 * separate test file (tests/tests.rs) should be used more for integration tests Let's get this into `CONTRIBUTING.md`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: greg/mentat#110
No description provided.