User Tools

Site Tools


dev:test_writing_day

Evergreen Test Writing Days

During an Evergreen Test Writing Day, people in the community gather on IRC to write tests, which can be used to help determine if code is functioning correctly.

In general, the code takes values that are both valid and invalid. In the case of valid values, the expectation is that the code does the task designed, and the tests should output information confirming or denying this. In the case of invalid input, the tests should indicate failure.

Tests can stop regression into non-working states. In other words, if I change a piece of code, and that code has a test, then the test can tell me whether my change has an error or not.

https://en.wikipedia.org/wiki/Regression_testing

In the Evergreen Community we use both Perl tests and PgTap tests. PgTap test check to ensure that the PostgreSQL code is functioning properly. http://pgtap.org/

dev/test_writing_day.txt · Last modified: 2022/02/10 13:34 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.