Skip to content

Commit

Permalink
Added todosfor multiple tests that need to be created
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCedarPrince committed Aug 11, 2022
1 parent 00f658f commit 92041e7
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 2 deletions.
7 changes: 7 additions & 0 deletions test/sqlite/executors.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#= TODO: Add tests for ExecuteAudit
Add a single test that utilizing a dataframe with a column called "count"
labels: tests, good for beginners
=#
@testset "ExecuteAudit Tests" begin

end
39 changes: 39 additions & 0 deletions test/sqlite/filters.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#= TODO: Add tests to VisitFilterPersonIDs
**Description:** Add two tests - one for a single ID and another for multiple IDs. Reference the tests in GetPatientGender.
labels: tests, good first issue
=#
@testset "VisitFilterPersonIDs Tests" begin

end

#= TODO: Add tests to ConditionFilterPersonIDs
**Description:** Add two tests - one for a single ID and another for multiple IDs. Reference the tests in GetPatientGender.
labels: tests, good first issue
=#
@testset "ConditionFilterPersonIDs Tests" begin

end

#= TODO: Add tests to RaceFilterPersonIDs
**Description:** Add two tests - one for a single ID and another for multiple IDs. Reference the tests in GetPatientGender.
labels: tests, good first issue
=#
@testset "RaceFilterPersonIDs Tests" begin

end

#= TODO: Add tests to GenderFilterPersonIDs
**Description:** Add two tests - one for a single ID and another for multiple IDs. Reference the tests in GetPatientGender.
labels: tests, good first issue
=#
@testset "GenderFilterPersonIDs Tests" begin

end

#= TODO: Add tests to StateFilterPersonIDs
This depends on getting the test set for GetPatientState sorted out
labels: tests, moderate
=#
@testset "StateFilterPersonIDs Tests" begin

end
4 changes: 4 additions & 0 deletions test/sqlite/getters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
@test ids == GetDatabasePersonIDs(sqlite_conn)
end

#= TODO: Determine how to add states to Eunomia database for testing
Currently, states are not present in the Eunomia database - it may be as simple a fix as to alter the location table and insert random state initials in the appropriate locations for each patient.
labels: tests, moderate
=#
# @testset "GetPatientState Tests" begin
#
# end
Expand Down
2 changes: 0 additions & 2 deletions test/sqlite/helpers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@
@test year_now == OMOPCDMCohortCreator._determine_calculated_year(sqlite_conn, :now)
@test eunomia_latest_year == OMOPCDMCohortCreator._determine_calculated_year(sqlite_conn, :db)
@test 2022 == OMOPCDMCohortCreator._determine_calculated_year(sqlite_conn, 2022)
#TODO: Create test for throwing an error when not Integer passed
# @test_throws
end

0 comments on commit 92041e7

Please sign in to comment.