From a418aae9df25c7efc1536fd9dde01ece795d2156 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 29 Jul 2020 16:19:40 +0100 Subject: added comments --- pkg/datamaps/db_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkg/datamaps/db_test.go b/pkg/datamaps/db_test.go index d692a16..e3e3e05 100644 --- a/pkg/datamaps/db_test.go +++ b/pkg/datamaps/db_test.go @@ -75,6 +75,10 @@ func TestDatamapGoesIntoDB(t *testing.T) { } } +// TestImportSimpleTemplate uses importXLSXtoDB() to import data from a +// populated template and then uses the sqlite3 executible to test the +// contents of the database. This does not test datamaps functionality +// in querying data in the database. func TestImportSimpleTemplate(t *testing.T) { var tests = []struct { @@ -125,6 +129,10 @@ func TestImportSimpleTemplate(t *testing.T) { } } +// TestImportToDB uses ImportToDB() to import data from a +// directory of populated templates and then uses the sqlite3 executible to test the +// contents of the database. This does not test datamaps functionality +// in querying data in the database. func TestImportToDB(t *testing.T) { var tests = []struct { filename string -- cgit v1.2.3