From 19e62ffffaba2991eab0c2cf580c9cb191255faf Mon Sep 17 00:00:00 2001 From: Chandrakant Gopalan Date: Sun, 6 Nov 2016 13:58:47 -0500 Subject: [PATCH 1/2] Add run tests section --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index 1f47cc7..a633187 100644 --- a/README.md +++ b/README.md @@ -21,3 +21,29 @@ public domain: [PEP0249](https://www.python.org/dev/peps/pep-0249). All values of type `T` that could be `null` should be returned as `Nullable{T}`. + +## Running tests (version numbers shown may be different) + +``` +cd /path/to/DBAPI.jl + +-- Start the julia repl + +julia> Pkg.clone("https://github.com/JuliaDB/DBI.jl") + +INFO: Cloning DBAPI from /path/to/DBAPI.jl +INFO: Computing changes... +INFO: No packages to install, update or remove +INFO: Package database updated + +julia> Pkg.test("DBAPI") +INFO: Computing test dependencies for DBAPI... +INFO: Installing FactCheck v0.4.3 +INFO: Testing DBAPI +Failed Interface +168 facts verified. +Array interface +268 facts verified. +INFO: DBAPI tests passed +INFO: Removing FactCheck v0.4.3 +``` \ No newline at end of file From 3d6bbd00744eb49fa95407c579758ff9d7442f87 Mon Sep 17 00:00:00 2001 From: Chandrakant Gopalan Date: Mon, 7 Nov 2016 13:06:33 -0500 Subject: [PATCH 2/2] Correct clone path --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a633187..55af7cf 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ cd /path/to/DBAPI.jl -- Start the julia repl -julia> Pkg.clone("https://github.com/JuliaDB/DBI.jl") +julia> Pkg.clone(pwd()) INFO: Cloning DBAPI from /path/to/DBAPI.jl INFO: Computing changes... @@ -46,4 +46,4 @@ Array interface 268 facts verified. INFO: DBAPI tests passed INFO: Removing FactCheck v0.4.3 -``` \ No newline at end of file +```