Rindrics / saaas

https://rindrics.github.io/saaas/
Other
0 stars 0 forks source link

Implement system level test #1

Closed Rindrics closed 4 years ago

Rindrics commented 4 years ago

Task of stock assessment scientist

Update test to break build

before

test_that("everything goes well",{
  this_software_is_stock_assessment(of = "japanese_sardine", for_fiscal_year = 2019)
})

after

test_that("everything goes well",{
  this_software_is_stock_assessment(of = "japanese_sardine", for_fiscal_year = 2020)
})

Build result

Error message tells stock assessment scientist what to do next

Error: "This package does not contain data of 2019. Add newest data editing 'foo.csv'"