aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/CONTRIBUTING
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-07-16 22:44:34 +0200
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-07-16 22:44:34 +0200
commit9a3b3be02632e35778f4e93e15f0202d5b9e8735 (patch)
tree036578884996820058d64e5cee7e11ef70160692 /docs/CONTRIBUTING
parentf8cffd77d5cd734389fb11966c9eb90315e8c8ed (diff)
parentaef57075a8ff3b27341d95b424fe8bc948dc456c (diff)
merge uranthers stuff
Diffstat (limited to 'docs/CONTRIBUTING')
-rw-r--r--docs/CONTRIBUTING7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/CONTRIBUTING b/docs/CONTRIBUTING
index c26e49a..a45618a 100644
--- a/docs/CONTRIBUTING
+++ b/docs/CONTRIBUTING
@@ -93,6 +93,13 @@ is, please supply:
### Memory leak checking
valgrind --tool=memcheck --leak-check=full ./uzbl
+### Writing unit tests
+
+If you can, write a unit test for a bugfix or new functionality. Add relevant unit
+tests to existing .c files in tests/. Others should be made in new source files with
+corresponding changes to the tests/Makefile.
+Run all tests with `make tests`
+
### Debugging / backtraces
* compile with -ggdb (enabled by default on experimental tree)