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

adding tests #17

Merged
merged 2 commits into from
Dec 1, 2024
Merged

adding tests #17

merged 2 commits into from
Dec 1, 2024

Conversation

shajoezhu
Copy link
Collaborator

No description provided.

Copy link
Contributor

github-actions bot commented Dec 1, 2024

Unit Tests Summary

 1 files  15 suites   20s ⏱️
36 tests 36 ✅ 0 💤 0 ❌
94 runs  94 ✅ 0 💤 0 ❌

Results for commit b7e67dd.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Dec 1, 2024

Unit Test Performance Difference

Test Suite $Status$ Time on main $±Time$ $±Tests$ $±Skipped$ $±Failures$ $±Errors$
srep_outputs 👶 $+6.63$ $+3$ $0$ $0$ $0$
t_ae_slide 👶 $+0.70$ $+2$ $0$ $0$ $0$
t_ae_summary_slide 👶 $+1.29$ $+4$ $0$ $0$ $0$
t_aesi_slide 👶 $+1.38$ $+5$ $0$ $0$ $0$
Additional test case details
Test Suite $Status$ Time on main $±Time$ Test Case
srep_outputs 👶 $+6.63$ Listing_print_correctly
t_ae_slide 👶 $+0.64$ Test_adverse_event_table_creation_of_t_ae_slide_Adverse_Events_for_Patient_
t_ae_slide 👶 $+0.06$ Test_adverse_event_table_creation_of_t_ae_slide_with_null_report
t_ae_summary_slide 👶 $+0.04$ Test_t_ae_summ_slide_with_expected_Error
t_ae_summary_slide 👶 $+0.09$ Test_t_ae_summ_slide_with_null_report
t_ae_summary_slide 👶 $+1.17$ Test_table_creation_of_t_ae_summ_slide_safety_summary_table_
t_aesi_slide 👶 $+0.44$ Test_table_creation_of_t_aesi_slide_AESI_summary_table_with_AESEV_grading
t_aesi_slide 👶 $+0.48$ Test_table_creation_of_t_aesi_slide_AESI_summary_table_with_AETOXGR_grading
t_aesi_slide 👶 $+0.42$ Test_table_creation_of_t_aesi_slide_AESI_summary_table_with_custom_AEGRP_grouping
t_aesi_slide 👶 $+0.03$ Test_table_creation_of_t_aesi_slide_with_aesi_var_not_found_in_dataset
t_aesi_slide 👶 $+0.01$ Test_table_creation_of_t_aesi_slide_with_no_aesi_var_given

Results for commit 767670e

♻️ This comment has been updated with latest results.

@shajoezhu
Copy link
Collaborator Author

close #16

Copy link
Contributor

github-actions bot commented Dec 1, 2024

badge

Code Coverage Summary

Filename                      Stmts    Miss  Cover    Missing
--------------------------  -------  ------  -------  ------------------------------------------------------------------------------------------------------
R/assert.R                       26      18  30.77%   2, 7, 18-27, 33-37, 43
R/autoslideR_error.R              7       0  100.00%
R/decorate.R                    138      50  63.77%   10, 49, 85-159, 186, 241-246, 296-309
R/fastdocall.R                   28      13  53.57%   16, 20-21, 32-40, 45-46
R/format_date.R                   9       9  0.00%    33-42
R/ft_formats.R                   54      36  33.33%   54-59, 88-163
R/func_wrapper.R                 36      20  44.44%   18-29, 36-44
R/generate_output.R              57       4  92.98%   78-80, 82
R/helper_functions.R             36      20  44.44%   16-20, 63-80
R/log.R                          31       5  83.87%   35-39
R/null_report.R                   4       0  100.00%
R/package.R                       1       1  0.00%    72
R/save_output.R                  58      12  79.31%   62-89, 140, 143-144
R/spec.R                         60      15  75.00%   47-55, 98-99, 127, 131, 139-140, 142-143
R/t_ae_pt_diff_slide.R          122      17  86.07%   34-45, 151, 183-189, 202
R/t_ae_pt_slide.R                18       0  100.00%
R/t_ae_pt_soc_diff_slide.R       17       0  100.00%
R/t_ae_pt_soc_slide.R            17       0  100.00%
R/t_ae_slide.R                   74       0  100.00%
R/t_ae_summary_slide.R          154       0  100.00%
R/t_aesi_slide.R                132       0  100.00%
R/t_dd_slide.R                   23       0  100.00%
R/t_dm_slide.R                   32       0  100.00%
R/t_dor_slide.R                  65       0  100.00%
R/to_ft_funs.R                  221     151  31.67%   15-233, 288-290, 318, 341-402, 420, 432, 440
R/to_slides.R                   142      74  47.89%   55-65, 70, 93-98, 101-102, 104-107, 109-112, 129-145, 221-226, 251-319
R/util.R                        300     174  42.00%   54, 69, 106-126, 185-278, 304-316, 359-368, 377-449, 462-465, 469, 475, 483-512, 529-535, 539, 568-571
TOTAL                          1862     619  66.76%

Diff against main

Filename                  Stmts    Miss  Cover
----------------------  -------  ------  --------
R/assert.R                    0      -7  +26.92%
R/decorate.R                  0     -46  +33.33%
R/fastdocall.R                0     -15  +53.57%
R/ft_formats.R                0     -18  +33.33%
R/func_wrapper.R              0     -16  +44.44%
R/generate_output.R           0     -53  +92.98%
R/log.R                       0      -8  +25.81%
R/save_output.R               0     -43  +74.14%
R/spec.R                      0     -45  +75.00%
R/t_ae_slide.R                0     -74  +100.00%
R/t_ae_summary_slide.R        0    -154  +100.00%
R/t_aesi_slide.R              0    -132  +100.00%
R/to_ft_funs.R                0     -70  +31.67%
R/to_slides.R                 0     -68  +47.89%
R/util.R                      0     -24  +8.00%
TOTAL                         0    -773  +41.51%

Results for commit: b7e67dd

Minimum allowed coverage is 80%

♻️ This comment has been updated with latest results

@shajoezhu shajoezhu merged commit 6cab16a into main Dec 1, 2024
28 checks passed
@shajoezhu shajoezhu deleted the coverage branch December 1, 2024 10:09
@github-actions github-actions bot locked and limited conversation to collaborators Dec 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant