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 #11

Open
c-yuwei opened this issue Jan 16, 2025 · 1 comment
Open

Unit Testing Log #11

c-yuwei opened this issue Jan 16, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@c-yuwei
Copy link
Collaborator

c-yuwei commented Jan 16, 2025

This issue serves to document the unit testing of MemoryCapacity on the develop branch. Each entry corresponds to a complete unit test, which involves running either just test_braph2 or braph2memorycapacity_genesis (including test_braph2). This tracking remains on daily basis weekly basis until the next release.

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

clc; clear;
diary('log_braph2memorycapacity.txt');
tic
braph2memorycapacity_genesis
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 Jan 16, 2025

  • Test date 2025/01/16

  • Test result All good!

  • Test duration 32 min

  • MATLAB version R2024b

  • OS macOS Sequoia 15.1.1

  • Memory (RAM) 16 GB

  • Processor Apple M2

  • Commit number 6758adf

  • Command window log
    log_mc.txt

  • MAT file containing the variables from the final test results
    results_unit-test_braph2.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
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant