tests/testthat/test-show.R

test_that("bcbioRNASeq", {
    ## Stash fake metadata for code coverage.
    metadata(object)[["sampleMetadataFile"]] <- "XXX"
    metadata(object)[["gffFile"]] <- "XXX"
    output <- capture.output(object)
    ## Ensure that show method contains "bcbioRNASeq" in the first line.
    expect_true(
        grepl(
            pattern = "^bcbioRNASeq",
            x = output[[1L]]
        )
    )
})
hbc/bcbioRNASeq documentation built on March 28, 2024, 3:01 p.m.