Skip to content

Commit

Permalink
Test reorg (#308)
Browse files Browse the repository at this point in the history
* put 2 files of random tests into the correct test files

* reorg-mopre

* miss one coverage line

* 100% test coverage

* some more reorg

* remove redudant tests, but also removed too many stop cases

* refactor caretList tests

* fix lint

* re add cases to get to 100%

* utils::

* refactor caretEnsemble tests

* refactor multiclass tests

* refactor class selection tests

* done with test refactor

* tests fail on some machines, loosen them up
  • Loading branch information
zachmayer authored Aug 9, 2024
1 parent d59760b commit 81a6d8e
Show file tree
Hide file tree
Showing 12 changed files with 965 additions and 2,178 deletions.
30 changes: 15 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
.PHONY: help
help:
@echo "Available targets:"
@echo " all - Run clean, fix-style, document, install, build-vignettes, lint, spell, test, check, coverage"
@echo " install-deps - Install dependencies"
@echo " install - Install the whole package, including dependencies"
@echo " document - Generate documentation"
@echo " update-test-fixtures - Update test fixtures"
@echo " test - Run unit tests"
@echo " coverage - Generate coverage reports"
@echo " check - Run R CMD check as CRAN"
@echo " fix-style - Auto style the code"
@echo " lint - Check the code for lint"
@echo " spell - Check spelling"
@echo " build - Build the package"
@echo " build-vignettes - Build vignettes"
@echo " release - Release to CRAN"
@echo " clean - Clean up generated files"
@echo " all Run clean, fix-style, document, install, build-vignettes, lint, spell, test, check, coverage"
@echo " install-deps Install dependencies"
@echo " install Install the whole package, including dependencies"
@echo " document Generate documentation"
@echo " update-test-fixtures Update test fixtures"
@echo " test Run unit tests"
@echo " coverage Generate coverage reports"
@echo " check Run R CMD check as CRAN"
@echo " fix-style Auto style the code"
@echo " lint Check the code for lint"
@echo " spell Check spelling"
@echo " build Build the package"
@echo " build-vignettes Build vignettes"
@echo " release Release to CRAN"
@echo " clean Clean up generated files"

.PHONY: all
all: clean fix-style document install build-vignettes lint spell test check coverage
Expand Down
Binary file modified coverage.rds
Binary file not shown.
203 changes: 0 additions & 203 deletions tests/testthat/test-S3-generic-extensions.R

This file was deleted.

Loading

0 comments on commit 81a6d8e

Please sign in to comment.