diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-02-21 15:57:11 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-02-24 08:39:05 +0100 |
commit | 891b34e2ef64f354474c4c6bec8e35f905e3c1db (patch) | |
tree | 9ff4373f980caa5eab84c4f3abaff6640783d817 /HACKING |
Initial commit
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -0,0 +1,27 @@ +# Tests # + +Running the tests + + make check + +To run a single test in more detail use e.g. + + gtester --verbose src/providers/tests/de-db + +# Debugging # +You can use the LPF_DEBUG variable to make libplanfahr write out the querry +results. E.g. + + LPF_DEBUG=provider ./run python examples/trip-query.py Gelsenkirchen Essen + +will put all queries to ~/.cache/libplanfahr/<provider>/. + +To build with extensive debugging information use + + ./configure --enable-debug + +# Coding Style # +* Use spaces not tabs +* indentation is 4 spaces by default +* Private methods don't use <obj_name> as prefix +* Public methods have "self" as first argument |