Aerlinger, There has actually been a lot of discussion in the past, maybe more on julia-dev. The Julia package ecosystem is pretty good with tests, with over 2/3s of packages having tests. I don't think those testing frameworks add much to the kind of code people write in Julia. You are correct that FactCheck is the most popular testing package, but there isn't much wrong with the built-in ones (only utility gained is if they fail!). There are actually many testing packages though - search this list for a post where I summarize them all.
- Iain On Thursday, June 26, 2014 1:00:10 PM UTC-5, Aerlinger wrote: > > I don't hear too much discussion around techniques for testing in Julia so > I wanted to get other community members' take on how they test their code. > As I see it, there are two testing packages available: the built-in > functional and unit tests ( > http://docs.julialang.org/en/latest/stdlib/test/) and the Fact Check > package (https://github.com/zachallaun/FactCheck.jl). Most projects I see > either don't have tests or use the built-in libraries. > > The Javascript and Ruby communities have recently become very bullish on > testing, particularly on a behavior-driven development (BDD) style where > tests are written first to describe the requirements of the code and run > continuously as the code gets developed. As an example, the very popular > RSpec, Mocha, and Jasmine testing frameworks take this approach and seem to > have been well adopted and supported by their respective communities. > > My question is, would there be much value with a similar style of testing > in Julia? >
