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

Tests for AFNI code? #83

Open
leej3 opened this issue Jun 5, 2019 · 0 comments
Open

Tests for AFNI code? #83

leej3 opened this issue Jun 5, 2019 · 0 comments
Labels
AFNI CHECK_LABEL Labels needs to be checked by a human containerization documentation Improvements or additions to documentation Hackathon Project Project suggestion project_type:documentation Python

Comments

@leej3
Copy link

leej3 commented Jun 5, 2019

Tests for AFNI code?

Project Description

Yes they do exist. Currently our report coverage from codecov is a whopping 5%. I'd like to increase this. Let's aim for increasing the coverage by 8.2%!

Since AFNI is blend of several programming languages, testing the various programs as executables seems like a sensible way to expand the tests to give some basic guarantee of stable functionality across the software suite. I have written some code to facilitate this and would now love some help increasing the test coverage/improving the approach. I have added a few issues to the AFNI github repo (with the "Testing") as some example hack items in addition to specifically adding more tests.

Skills required to participate

Lots of different parts of this so all are welcome.

Beginners: For beginners there is some opportunies to help write documentation and learn a little about software testing, continuous integration, containerization, and the AFNI neuroimaging analysis software suite in general.

Neuroimaging scientists With some basic python/bash skills a beginner will be able to add tests for any tool. Although not required, the more domain specific knowledge here the better. Having intuitions for what each tool "should" be doing without reading through docs etc. will speed up the process.

Pythonistas Some help would be greatly appreciated from more advance python developers (even just dropping by to give some advice). There are some details to the execution of the tests - for example datalad is used to store saved sample output data - that could do with testing to help with the endeavour. Likely such tests would require experience with mocking and comfort with git/git-annex/datalad.

Integration

Milestones:

  • Increase the testing coverage by 8.2%
  • Increase the testing coverage by another 16.4%

Preparation material

An overview of adding the tests is here

Link to your GitHub repo

The afni codebase

Communication

The matter most channel
Also use the testing label in the github issues

@llevitis llevitis added the Hackathon Project Project suggestion label Apr 16, 2020
@Remi-Gau Remi-Gau added documentation Improvements or additions to documentation project_type:documentation Python containerization AFNI CHECK_LABEL Labels needs to be checked by a human labels Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AFNI CHECK_LABEL Labels needs to be checked by a human containerization documentation Improvements or additions to documentation Hackathon Project Project suggestion project_type:documentation Python
Projects
None yet
Development

No branches or pull requests

3 participants