XUnit.jl icon indicating copy to clipboard operation
XUnit.jl copied to clipboard

XUnit.jl is a unit-testing framework for Julia.

Results 6 XUnit.jl issues
Sort by recently updated
recently updated
newest added

Fixes https://github.com/RelationalAI-oss/XUnit.jl/issues/19

MWE: `runtests.jl` ```julia using XUnit, Distributed # add workers exeflags = Base.julia_cmd() push!(exeflags.exec, "--startup-file=no") push!(exeflags.exec, "--project=$(Base.active_project())") exename = popfirst!(exeflags.exec) withenv("JULIA_NUM_THREADS" => 1, "OPENBLAS_NUM_THREADS" => 1) do addprocs(2; exename, exeflags) end...

On 1.6: ``` A critical error occued while running '...': ErrorException("type Pass has no field source") getproperty(x::Test.Pass, f::Symbol) at Base.jl:33 convert_results_to_be_transferrable(res::Test.Pass) at test-runners.jl:722 convert_results_to_be_transferrable(ts::TestReports.ReportingTestSet) at test-runners.jl:702 convert_results_to_be_transferrable(ts::RichReportingTestSet) at test-runners.jl:708 XUnit.DistributedAsyncTestMessage(t::XUnit._AsyncTestCase{XUnit.AsyncTestSuite})...

Here is the list of missing documentation: - filtering tests using regex - how to run tests in parallel and distributed mode

Before we refactored the testing infrastructure, part of my debugging process was to run the tests until they failed at the first test, inspect the stacktrace, and then fix that...

This enhancement was originally suggested by @hung-q-ngo . As part of the same issue, we also need to update README.md and mention the test filtering mechanism.