tests/README.md

Tests and Coverage

27 February, 2023 20:22:55

This output is created by covrpage.

Coverage

Coverage summary is created using the covr package.

| Object | Coverage (%) | | :----------------------------------- | :----------: | | slackcalls | 92.66 | | R/manage.R | 90.91 | | R/generics.R | 91.74 | | R/rate_limit.R | 97.06 |

Unit Tests

Unit Test summary is created using the testthat package.

| file | n | time | error | failed | skipped | warning | | :------------------------------------------ | -: | ----: | ----: | -----: | ------: | ------: | | test-chat.R | 7 | 0.946 | 0 | 0 | 0 | 0 | | test-files.R | 15 | 1.591 | 0 | 0 | 0 | 0 | | test-generics.R | 21 | 7.420 | 0 | 0 | 0 | 0 |

Show Detailed Test Results

| file | context | test | status | n | time | | :---------------------------------------------------- | :------- | :-------------------------------------------- | :----- | -: | ----: | | test-chat.R | chat | chat_slack (etc) works | PASS | 5 | 0.541 | | test-chat.R | chat | cleanup works | PASS | 2 | 0.405 | | test-files.R | files | files_slack can upload text | PASS | 5 | 0.252 | | test-files.R | files | files_slack can list files | PASS | 2 | 0.307 | | test-files.R | files | files_slack can get info | PASS | 3 | 0.088 | | test-files.R | files | files_slack can upload files | PASS | 3 | 0.423 | | test-files.R | files | files_slack can clean up | PASS | 2 | 0.521 | | test-generics.R | generics | post_slack works | PASS | 3 | 0.080 | | test-generics.R | generics | post_slack creates appropriate error objects | PASS | 4 | 0.054 | | test-generics.R | generics | post_slack limits work | PASS | 6 | 0.617 | | test-generics.R | generics | post_slack respects max | PASS | 4 | 0.388 | | test-generics.R | generics | rate limits work | PASS | 4 | 6.281 |

Session Info

| Field | Value | | | :------- | :---------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Version | R version 4.2.2 (2022-10-31) | | | Platform | x86_64-pc-linux-gnu (64-bit) | | | Running | Ubuntu 22.04.2 LTS | | | Language | C | | | Timezone | UTC | |

| Package | Version | | :------- | :------ | | testthat | 3.1.6 | | covr | 3.6.1 | | covrpage | 0.2 |



yonicd/slackcalls documentation built on March 12, 2023, 4:38 p.m.