-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fix broken examples #351
Fix broken examples #351
Conversation
Code Coverage Summary
Diff against main
Results for commit: 01b2ca3 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Hey @vedhav this look great, I came across some examples of files in the directory that use data as a UI argument. Could you please take a look and let me know if we need it? if yes then we need to update those as well testthat/sampleVarSpec/app.r also in |
Let's change the app files inside the |
Unit Tests Summary 1 files 15 suites 11s ⏱️ Results for commit a46ab68. ♻️ This comment has been updated with latest results. |
@danielinteractive Can you please check if we can remove the When it comes to testing have a plan to implement framework-wide testing. And we will make the changes to this package when we get to it. I don't think these apps are regularly run right now because they are failing and we would have caught the test failures in that case (I might be wrong. But, I don't see them running anywhere). These test |
@vedhav We need to keep the Re: the Again, we will need to clean up those test apps before this PR can be merged. |
Thanks for pointing it out. I realized I was testing without setting an appropriate test depth so these tests were always skipped. After setting appropriate depth I do see them running, some of them do fail. |
I should have been more clear. I meant reviewing the content from the |
Thanks @vedhav , that helps - yes, https://github.com/insightsengineering/teal.modules.hermes/blob/main/design/cdse_connector_datasets_tests.R can be removed, the other files can stay. |
@vedhav just re-request review when ready |
@vedhav is this ready for re-review already? |
Sorry, this slipped under the radar with the CRAN release chores. Let me have a look now. |
@danielinteractive Fixed the broken tests now (almost). I do not have a windows machine so I was unable to update snapshots for that. However, I've updated the snapshots for mac although this can be removed after you've reviewed them, just there for reference. I think the CI just needs one set of snapshots as we have in the tlg-catalog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @vedhav !
Closes insightsengineering/teal.slice#492
We don't accept data in module UI anymore & there was a missing dataname in one example.