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

Unit Testing Log (version 2.0.1) #1794

Open
c-yuwei opened this issue Feb 13, 2025 · 1 comment
Open

Unit Testing Log (version 2.0.1) #1794

c-yuwei opened this issue Feb 13, 2025 · 1 comment

Comments

@c-yuwei
Copy link
Collaborator

c-yuwei commented Feb 13, 2025

This issue serves to document the unit testing of BRAPH 2 standard distribution on the develop branch. Each entry corresponds to a complete unit test, which involves running either just test_braph2 or braph2genesis (including test_braph2). This tracking remains on daily basis biweekly basis until the next release for version 2.0.1.

The script is provided below to have full log and mat files:

clc; clear;
diary('log_braph2.txt');
tic
test_braph2
toc
save('test_results.mat')
diary off

Each entry should include the following information:

  • Test date [YYYY/MM/DD]
  • Test result [All good! / Something is wrong!]
  • Test duration [mins]
  • MATLAB version [R20XXx]
  • OS [Linux/Windows/macOS]
  • Memory (RAM) [e.g., 16 GB]
  • Processor [e.g., Intel i7 or AMD Ryzen]
  • Commit number [Git commit hash]
  • Command window log
  • MAT file containing the variables from the final test results
  • Screenshot confirming the completion of unit testing

Make sure you have the following toolboxes installed in MATLAB:

  • Statistics and Machine Learning Toolbox (required for most pipelines)
  • Parallel Computing Toolbox (optional)
  • Deep Learning Toolbox (optional, for deep learning analysis)

To ensure accurate and smooth testing, it’s recommended to run test_braph2 on a computer with no other applications running (e.g., close all web browsers and OneDrive syncs), ideally after a fresh reboot.

@c-yuwei
Copy link
Collaborator Author

c-yuwei commented Feb 13, 2025

  • Test date 2025/02/13

  • Test result All good!

  • Test duration 188 min

  • MATLAB version R2024b

  • OS macOS Sequoia 15.1.1

  • Memory (RAM) 16 GB

  • Processor Apple M2

  • Commit number 34b8480

  • Command window log
    log_braph2.txt

  • MAT file containing the variables from the final test results
    test_results.mat.zip

  • Screenshot confirming the completion of unit testing

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant