aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkg/datamaps/db_test.go8
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