Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testthat:3.2.2 Reason: empty test #2052

Closed
pabangan opened this issue Jan 13, 2025 · 1 comment
Closed

testthat:3.2.2 Reason: empty test #2052

pabangan opened this issue Jan 13, 2025 · 1 comment

Comments

@pabangan
Copy link

Hi when running,

test_that("ReinsCaptialBackupSlide", { expect_no_error(1) })

I get the following response:

── Skip: ReinsCaptialBackupSlide ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Reason: empty test

I want testthat to register that there's a test. Can someone please point me to why this occurs and how to fix it? We have much more expansive tests, but I think this is our root issue. I would like testthat to register that there's a test for reporting reasons. We have automated tests running in Azure pipelines.

Thank you for any help.

@olivroy
Copy link
Contributor

olivroy commented Jan 14, 2025

This was fixed in testthat 3.2.3 #2037

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants