-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathruntests.jl
45 lines (42 loc) · 1022 Bytes
/
runtests.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using DataFrames
using Dates
using DBInterface
using FunSQL:
From,
Get,
Group,
Limit,
Select,
render
using HealthSampleData
using OMOPCDMCohortCreator
using SQLite
using Test
using TimeZones
# SQLite Data Source
sqlite_data = Eunomia()
sqlite_conn = SQLite.DB(sqlite_data)
GenerateDatabaseDetails(:sqlite, "main")
GenerateTables(sqlite_conn)
@testset "OMOPCDMCohortCreator" begin
@testset "SQLite Helper Functions" begin
include("sqlite/helpers.jl")
end
@testset "SQLite Getter Functions" begin
include("sqlite/getters.jl")
end
@testset "SQLite Filter Functions" begin
include("sqlite/filters.jl")
end
#= TODO: Add Generator function testset
This set of tests needs a bit more scrutiny as there are some functions that need to be reviewed and most likely deprecated.
labels: tests, moderate
assignees: thecedarprince
=#
# @testset "SQLite Generator Functions" begin
# include("sqlite/generators.jl")
# end
@testset "SQLite Executors Functions" begin
include("sqlite/executors.jl")
end
end