RoveComm C++ 3.0.0
Welcome to the RoveComm C++ repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of RoveComm C++. The RoveComm C++ project is the RoveComm interface for high level systems and should not be used for microcontrollers.
Loading...
Searching...
No Matches
Unit Directory Reference
Directory dependency graph for Unit:
tests/Unit

Directories

 
src

Files

 
main.cc
 Main unit test file. Calls for all Unit Tests to be executed.

Detailed Description

Unit Tests Directory

The Unit Tests directory is intended to store C++ files containing test cases and unit tests for the RoveComm C++ project. This directory focuses on ensuring the correctness and reliability of the code through systematic testing.

Guidelines

The following are the guidelines for organizing files within the Unit Tests directory:

  1. Each C++ file should contain one or more test cases or unit tests for specific functionalities, modules, or components of the RoveComm C++ project.
  2. Use descriptive names for the files that reflect the purpose or functionality being tested.
  3. Ensure that the test files are properly documented with comments explaining the test cases, their expected outcomes, and any relevant details.
  4. Include a README file in the Unit Tests directory to provide an overview of the testing framework used, instructions for running the tests, and any additional information.

Usage

  1. Create a folder for the integration test and then include .cc files for each test suite.
  2. Look at the Example.cc file located in /tests/ to see how the test suite should be setup.

Organize the test files in a way that mirrors the structure of the project's codebase, making it easy to locate and execute the relevant tests.

Remember to update this README file whenever new test files are added to the directory, providing a brief summary of each file's purpose and functionality.

Regularly run the tests to identify and address any potential issues or bugs, ensuring the overall quality and reliability of the RoveComm C++ project.

Happy testing and maintaining code quality!