Skip to content

sccn/EEG-BIDS_testcases

Repository files navigation

EEG-BIDS Test Cases

Test suite for the EEG-BIDS plugin.

Prerequisites

  1. Install EEGLAB
  2. Install the EEG-BIDS plugin (included by default with EEGLAB)

Running Tests

From MATLAB:

eeglab;  % Start EEGLAB
cd(fullfile(fileparts(which('eeglab')), 'plugins', 'EEG-BIDS_testcases'));
results = run_all_tests();

Test Cases

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

Output

run_all_tests() returns a struct array with fields:

  • name - Test name
  • passed - Boolean pass/fail
  • error_msg - Error message if failed
  • duration - Execution time in seconds

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors