Skip to content

Implement an automated testing script to run all tests in one go  #1247

@maartenhammer

Description

@maartenhammer

Description

xASL_test_RunAll.sh is a shell script that runs all four currently available tests (Test SPM, Unit tests, Test Pipeline and Test Flavor Database) in succession and concatenates the results in a single folder.
This script can be ran manually or added to cron if you want repeated tests every few days.

Tasks

  • Include bTesting = true to xASL_test_Flavors.m
  • Return all test directories back to a clean set after the test. (remove the derivatives or move files to a temp scratch location).
  • Change the output of test scrips to both .tsv and .mat
  • Concatenate all failed test result files to either a pdf or a summary table.
  • Change the output of the test scripts to include date-time (ISO8601)
  • Change xALS_test_IgnoreFiles to xASL_test_IgnoreFiles
  • Separate xASL_test_ExploreASL into functions xASL_Test_SPM, xASL_Test_CompareReference and xASL_Summarize
  • Change the input to be a seperate JSON file

How to test

tba.

Release notes

#1247 Standardized Testing Script Results, Added extra fail saves to Testing scripts, added a test script that periodically runs all tests and logs the outcome.

Metadata

Metadata

Assignees

Labels

featureNew feature, enhancement or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions