generated from wessel/boilerplate
[PR] Add unit tests to documentation, add README, add launchfile #7
Reference in New Issue
Block a user
Delete Branch "1-grade-generator/documentation-updates"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR will add some documentation about unit tests to all nodes and classes. It'll also saturate the repo with a decent README. A launch file is also added to easily start all required nodes.
Status
Semantic versioning classification:
@@ -28,8 +32,65 @@ FinalGradeDeterminator()- Sends async request with collected exam grades for the student-course combination- Uses callback to handle service responseFormatting, below also a lot of extra newlines
@@ -0,0 +1,9 @@<launch><node pkg="g2_2025_grade_calculator_pkg" exec="exam_result_generator"/>Add param
delay_between_grades_msWIP: [PR] Add unit tests to documentation, add README, add launchfileto [PR] Add unit tests to documentation, add README, add launchfile@@ -13,0 +19,4 @@## System ArchitectureThe TI Minor Grade Generator is a ROS2-based distributed system for managing student exam results and calculating final grades. The system follows a microservices architecture with clear separation of concerns.Misschien dit naar "onze taal"verwoorden
@@ -13,0 +53,4 @@#### Configuration Management- **ConfigManager**: Loads and validates system configuration from TOML files- Provides runtime access to configuration parameters for all nodesremove
all@@ -13,0 +77,4 @@The system uses TOML configuration files for environment-specific settings:- Database connection parameters- ROS2 node configurationsfalse
@@ -13,0 +85,4 @@Unit tests are implemented using Google Test framework:- Mock services and database managers for isolated testing- Parameterized tests for various grade calculation scenarios- Documentation on the tests are located in the full documentation of the nodes themselvesIn the tests directory
@@ -0,0 +1,147 @@# TI Minor Grade Generator Design DocumentSame as readme? This section is also quite AI-y
@@ -0,0 +25,4 @@#### 1. FinalGradeDeterminator Node**Namespace**: `assignments::one::final_grade_determinator`**Brief Description**: Collects exam results, triggers grade calculation when thresholds are met, and stores final grades.ctrl f, replace
**Brief Description**into> *x*, can use regex replace. Personal preference :}@@ -0,0 +88,4 @@#### Result```# Empty result section - completion indicates successMohammad changed this in his branch
@@ -0,0 +167,4 @@## Related Documentation- [System Architecture](../Orig.md): Overall system design and communication patternsNon-existant
@@ -0,0 +39,4 @@- Logs final grade information- Stores final course result in databaseFormatting
@@ -0,0 +1,43 @@## InstallationI'd recommend having it in only the readme
@@ -0,0 +1,65 @@Formatting