Test suite for the EEG-BIDS plugin.
- Install EEGLAB
- Install the EEG-BIDS plugin (included by default with EEGLAB)
From MATLAB:
eeglab; % Start EEGLAB
cd(fullfile(fileparts(which('eeglab')), 'plugins', 'EEG-BIDS_testcases'));
results = run_all_tests();| Test | Description |
|---|---|
unittests |
Import events and channel location files |
test_bids |
Export and re-import BIDS dataset |
test_reexport |
Export, import, and re-export workflow |
test_bids_ds004117 |
Import ds004117 dataset |
test_gazepoint |
Import Gazepoint eye-tracking data |
test_smi |
Import SMI eye-tracking data |
test_reexport_ds004595 |
Re-export ds004595 dataset |
test_p300 |
P300 dataset export example |
run_all_tests() returns a struct array with fields:
name- Test namepassed- Boolean pass/failerror_msg- Error message if failedduration- Execution time in seconds