Improve parallel testing

Open
#104 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
testing-qa

Research direction

Start by reviewing the current top-level nosetests or python -m unittest discover workflow and the subdirectory commands that invoke mpiexec. Compare the desired behavior with the linked dagss/mpinoseutils project, then define completion as discovering MPI-dependent tests from the top level, spawning the needed processes, and producing readable results.

Written by the indexing model from the issue text.

Description

enhancement

We have hacked together a testing infrastructure involving running nosetests or python -m unittest discover at the top level (skipping all tests that require mpiexec) and then running mpiexec -n <nprocesses> nosetests in various subdirectories to run some tests using MPI. It would be nicer if we could run nosetests at the top level and discover and run all the tests, spawning MPI processes as needed, and printing non-garbled results.

Something like this: https://github.com/dagss/mpinoseutils.git

Dominant language
Python
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from enthought/distarray

All issues in enthought/distarray

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.