Merge lp:~sil/u1db/testing-inmemory into lp:u1db
Proposed by
Stuart Langridge
Status: | Superseded |
---|---|
Proposed branch: | lp:~sil/u1db/testing-inmemory |
Merge into: | lp:u1db |
Diff against target: |
65 lines (+43/-1) 1 file modified
html-docs/tutorial.rst (+43/-1) |
To merge this branch: | bzr merge lp:~sil/u1db/testing-inmemory |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sidnei da Silva (community) | Approve | ||
Lucio Torre (community) | Approve | ||
Samuele Pedroni | Approve | ||
Ubuntu One Control Tower | Pending | ||
Review via email: mp+138103@code.launchpad.net |
Commit message
Add a note to the tutorial documentation explaining how to use inmemory implementations of u1db for test suites.
Description of the change
Add a note to the tutorial documentation explaining how to use inmemory implementations of u1db for test suites.
To post a comment you must log in.
some comments:
his makes test suites easier
23 +to write.
and faster to run
52 +.. code-block:: c ":memory: ");
53 +
54 + db = u1db_open(
probably clearer for C people as:
#include <u1db/u1db.h>
u1database *db = u1db_open( ":memory: ");