Skip to content

Unit Testing Log #11

Description

@iok-ui

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions