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

Added new tests for API #46

Merged
merged 5 commits into from
Feb 9, 2024

Conversation

salatak
Copy link
Contributor

@salatak salatak commented Feb 6, 2024

Among the added API tests, two of them are particularly noteworthy. The randomization method test and the weight test are performed incorrectly in my environment. Please check it for any errors or inconsistencies. When performing the test manually, an error is returned: Failed to perform HTTP request.

…across the entire API. Added library::function notation where it was missing. The structure has been changed to reflect changes caused by the implementation of code coverage.
@salatak salatak requested a review from kamilsi February 6, 2024 10:53
Copy link

codecov bot commented Feb 8, 2024

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (b9486ad) 82.36% compared to head (48b8c75) 92.27%.

Files Patch % Lines
R/api_randomize.R 91.66% 4 Missing ⚠️
R/db.R 77.77% 2 Missing ⚠️
R/api_create_study.R 98.27% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            devel      #46      +/-   ##
==========================================
+ Coverage   82.36%   92.27%   +9.90%     
==========================================
  Files           7        7              
  Lines         448      427      -21     
==========================================
+ Hits          369      394      +25     
+ Misses         79       33      -46     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lwalejko lwalejko merged commit 1b56e5a into devel Feb 9, 2024
5 checks passed
@salatak salatak deleted the 44-adapting-the-code-to-changes-in-code-coverage branch February 15, 2024 07:19
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

Successfully merging this pull request may close these issues.

Adapting the code to changes in code coverage
2 participants