Skip to content

Commit

Permalink
add test skeletons for #127
Browse files Browse the repository at this point in the history
  • Loading branch information
PietrH committed Aug 3, 2023
1 parent 7dba18d commit a0894ba
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/testthat/test-read_resource.R
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,15 @@ test_that("read_resource() returns error on column selection not in schema", {
)
})

test_that("read_resource() returns error on missing columns in data", {})

test_that("read_resource() returns error on missing columns in schema", {})

test_that("read_resource() returns error on column order mismatch between
schema and data", {})

test_that("read_resource() allows case mismatch between schema and data", {})

test_that("read_resource() returns error on incorrect Data Package", {
expect_error(
read_resource(list(), "deployments"),
Expand Down

0 comments on commit a0894ba

Please sign in to comment.