You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Dragoș Moldovan-Grünfeld (Jira)" <ji...@apache.org> on 2022/01/11 14:30:00 UTC
[jira] [Created] (ARROW-15301) [R] Discussion: reorganise the testthat test helpers
Dragoș Moldovan-Grünfeld created ARROW-15301:
------------------------------------------------
Summary: [R] Discussion: reorganise the testthat test helpers
Key: ARROW-15301
URL: https://issues.apache.org/jira/browse/ARROW-15301
Project: Apache Arrow
Issue Type: Improvement
Components: R
Reporter: Dragoș Moldovan-Grünfeld
Would it make sense to have all custom expectations in {{R/}} , maybe {{R/test-helpers.R}} ? Reasons: * easier for newbies to read a file and figure out what custom testthat helpers we have
* easier to document
* respects the testthat author's suggestion to have them there
Currently we have 17 different custom expectations, all defined in different files.
A follow-up thought: maybe move all helpers there ({{{}is.{}}}, {{{}as_{}}}, {{{}compare_{}}}, {{verify}} etc).
--
This message was sent by Atlassian Jira
(v8.20.1#820001)