Merge lp://staging/~sil/u1db/testing-inmemory into lp://staging/u1db

Proposed by Stuart Langridge
Status: Superseded
Proposed branch: lp://staging/~sil/u1db/testing-inmemory
Merge into: lp://staging/u1db
Diff against target: 65 lines (+43/-1)
1 file modified
html-docs/tutorial.rst (+43/-1)
To merge this branch: bzr merge lp://staging/~sil/u1db/testing-inmemory
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.staging.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.
Revision history for this message
Samuele Pedroni (pedronis) wrote :

some comments:

his makes test suites easier
23 +to write.

and faster to run

52 +.. code-block:: c
53 +
54 + db = u1db_open(":memory:");

probably clearer for C people as:

#include <u1db/u1db.h>

u1database *db = u1db_open(":memory:");

437. By Stuart Langridge

brief updates as suggested by pedronis

Revision history for this message
Samuele Pedroni (pedronis) :
review: Approve
Revision history for this message
Lucio Torre (lucio.torre) :
review: Approve
Revision history for this message
Sidnei da Silva (sidnei) :
review: Approve

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches