Skip to content

Add unit tests for all functions #41

@theamarks

Description

@theamarks

Description

Automated testing is a critical part of maintaining an R package. Automated test ensure changes and development do not break the fundamental assumptions of a function or how they work. This speeds up the development process in the long run by sniffing out bugs before they happen. Ideally each function in the exploreARTIS package will have many tests that test small bits of the function. The more tests, the more coverage/protection a function will have.

This is a great task for someone who is interested in looking at the next layer of writing code in R beyond analysis.

The coding itself is not particularly complex, unit test in R have a specific formatting that makes applying other's tests to our application pretty straight forward. The other great thing is a single unit test is a tiny piece of code, so anyone can add a tiny test that will greatly contribute to the testing infrastructure for this package. This can be as big or as little of a task as you would like.

Resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    🏷 Ready

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions