cpp11 icon indicating copy to clipboard operation
cpp11 copied to clipboard

Upgrade to testthat 3e

Open MichaelChirico opened this issue 1 year ago • 2 comments
trafficstars

I was aiming to send along a PR dropping the {mockery} dependency but it's a bit of a bigger project than at first glance despite the small footprint of {mockery}:

https://github.com/r-lib/cpp11/blob/dc93fb84f482c2ac93b5578fee955c75a40b093f/tests/testthat/test-utils.R#L28 https://github.com/r-lib/cpp11/blob/dc93fb84f482c2ac93b5578fee955c75a40b093f/tests/testthat/test-vendor.R#L4

Because currently {cpp11} uses a lot of describe(..., it(...)) style tests that require more lift to move to 3e.

Filing this issue as an earmark that it would be something nice to have.

MichaelChirico avatar Oct 15 '24 16:10 MichaelChirico

I implemented multiple changes that include this request here: https://github.com/r-lib/cpp11/pull/405

pachadotdev avatar Oct 23 '24 18:10 pachadotdev

hi @DavisVaughan I wanted to follow up on this. I hope this PR is useful. https://github.com/r-lib/cpp11/pull/405

pachadotdev avatar Dec 06 '24 04:12 pachadotdev