diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2020-07-29 16:19:40 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2020-07-29 16:19:40 +0100 |
commit | a418aae9df25c7efc1536fd9dde01ece795d2156 (patch) | |
tree | a0703d892e3cda22b38a72e7a237da58505b411f | |
parent | b5bf0770b0737ee8dc1d3d9ca7f26f718beda883 (diff) |
added comments
-rw-r--r-- | pkg/datamaps/db_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
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 |