Unit Testing

Overview

The main package for unit testing in Julia is actually not a package, but the standard library Test.jl. It comes included, and is a quite capable unit testing framework. This standard library is widely used, and should be good enough for most people in most cases.

However, there are clearly those who want more, because there are a few alternatives/additions.

It is also worth mentioning GitHubActions.jl, which has functionality for running tests with GitHub's CI.

Packages

FactCheck.jl

GitHub Repo stars deps FactCheck Downloads
GitHub last commit (branch) version Coverage
FactCheck.jl is a Julia testing framework inspired by the Midje library for Clojure. It aims to add more functionality over the basic Base.Test.

Spec.jl

GitHub Repo stars deps Spec Downloads
Stable Dev GitHub last commit (branch) version Coverage
Spec.jl is small library for specfiying correctness properties of programs. These specifications can be used as documentation, for testing, and for debugging.

This website is a community effort covering a lot of ever-changing information. It will therefore never be complete or without error. If you see something wrong, or have something to contribute, please see the "Contributing" section in the github repository.

Last modified: May 03, 2024. Built with Franklin.jl