Skip to content

refactoring tests and merging test files #1688

@schochastics

Description

@schochastics

A catch all issue to keep track of which tests have been refactored/merged.

The Goal is to have one test file per R file at the end

PRs

test files without a corresponding R file (main branch, not considering unmerged PRs):

setwd("~/git/R_packages/rigraph/")
Rfiles <- list.files("R")
testfiles <- list.files("tests/testthat/",pattern = "test-*")
tested <- testfiles |> stringr::str_remove("^test-")

cat(testfiles[!tested%in%Rfiles],sep = "\n")
length(testfiles[!tested%in%Rfiles])
#> [1] 0

Created on 2025-02-28 with reprex v2.1.1

Metadata

Metadata

Assignees

Labels

upkeepmaintenance, infrastructure, and similar

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions