Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Missing Documentation #9

Open
mdashti opened this issue Feb 7, 2021 · 1 comment
Open

Add Missing Documentation #9

mdashti opened this issue Feb 7, 2021 · 1 comment

Comments

@mdashti
Copy link
Contributor

mdashti commented Feb 7, 2021

Here is the list of missing documentation:

  • filtering tests using regex
  • how to run tests in parallel and distributed mode
@maleadt
Copy link
Contributor

maleadt commented Jun 29, 2023

I ran into this trying to get the distributed mode running. I currently came up with the following runtests.jl:

using Distributed
addprocs(...)

@everywhere using XUnit
runtests("setup.jl")
# setup.jl doesn't need to contain anything, but `runtests` needs to
# be invoked in order to set `GLOBAL_XUNIT_STATE`. seems like a bug.

# the testset needs to be included on all workers,
# or everything will just hang...
@everywhere @tesetset runner=DistributedTestRunner() begin
    include("tests.jl")
end

I tried to include tests.jl from setup.jl in order to get the filtering to work, but then the all workers run all tests, so it looks like that isn't the intended design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants