tests/README.md

Tests and Coverage

01 May, 2024 13:14:40

This output is created by covrpage.

Coverage

Coverage summary is created using the covr package.

| Object | Coverage (%) | | :------------------------ | :----------: | | slackposts | 100 | | R/chat.R | 100 | | R/files.R | 100 |

Unit Tests

Unit Test summary is created using the testthat package.

| file | n | time | error | failed | skipped | warning | | :---------------------------------- | -: | -----: | ----: | -----: | ------: | ------: | | test-chat.R | 61 | 28.125 | 0 | 0 | 0 | 0 | | test-file.R | 10 | 3.073 | 0 | 0 | 0 | 0 |

Show Detailed Test Results

| file | context | test | status | n | time | | :-------------------------------------------- | :------ | :------------------------------------------------------------ | :----- | -: | -----: | | test-chat.R | chat | Can delete any existing content | PASS | 24 | 25.175 | | test-chat.R | chat | Can post a message | PASS | 3 | 0.106 | | test-chat.R | chat | Can update that message | PASS | 6 | 0.190 | | test-chat.R | chat | Can delete that post | PASS | 5 | 0.445 | | test-chat.R | chat | Can post messages to restore the channel to its desired state | PASS | 20 | 2.060 | | test-chat.R | chat | Can reply to a message | PASS | 3 | 0.149 | | test-file.R | file | Can post snippets | PASS | 4 | 1.276 | | test-file.R | file | Can delete snippets | PASS | 2 | 0.239 | | test-file.R | file | Can post files | PASS | 3 | 1.332 | | test-file.R | file | Can delete files | PASS | 1 | 0.226 |

Session Info

| Field | Value | | | :------- | :--------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Version | R version 4.4.0 (2024-04-24) | | | Platform | x86_64-pc-linux-gnu | | | Running | Ubuntu 22.04.4 LTS | | | Language | C | | | Timezone | UTC | |

| Package | Version | | :------- | :------ | | testthat | 3.2.1.1 | | covr | 3.6.4 | | covrpage | 0.2 |



yonicd/slackposts documentation built on May 3, 2024, 1:27 a.m.