-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/workflow' into devel/ros2-foxy
- Loading branch information
Showing
26 changed files
with
329 additions
and
482 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
## Issue Description | ||
## Description | ||
### Problem: | ||
Provide a clear description of the issue | ||
|
||
Please provide a clear and concise description of the issue. | ||
### Goal: | ||
The purpose of this issue is to enhance the codebase by including comprehensive exception tests. These tests will ensure that the system properly handles cases where an invalid or missing IP address is provided, and they will verify that all potential problems during the connection establishment are appropriately handled. | ||
|
||
### Steps to Reproduce (if applicable) | ||
### Proposed Changes: | ||
|
||
If the issue is a bug, include steps to reproduce the problem: | ||
1. Add test cases to check for invalid or missing IP addresses before starting the UDP connection. | ||
2. Verify that exceptions are raised when attempting to establish a connection without a valid IP address. | ||
3. Test the system's response to various connection-related problems, such as network unavailability or port conflicts, to ensure graceful handling of such scenarios. | ||
|
||
1. Step 1 | ||
2. Step 2 | ||
3. ... | ||
### Expected Benefits: | ||
By adding these exceptions tests, we can achieve the following benefits: | ||
|
||
### Expected Behavior | ||
Improve the robustness and reliability of the system by catching potential issues during connection establishment. | ||
Reduce the likelihood of unexpected failures and errors, which will facilitate easier debugging and maintenance. | ||
Enhance the overall stability of the system, providing a more seamless experience for end-users. | ||
|
||
A clear and concise description of what you expected to happen. | ||
|
||
### Screenshots (if applicable) | ||
## Steps to Reproduce | ||
Set up the testing environment to isolate the code related to IP address validation and UDP connection establishment. | ||
Design test cases to cover scenarios where an invalid or missing IP address is provided. | ||
Implement the tests and ensure they raise appropriate exceptions when necessary. | ||
Create test cases to simulate various connection-related problems and validate the system's response. | ||
Run the test suite and observe the results, ensuring that all tests pass successfully. | ||
|
||
If the issue is related to the UI, consider including screenshots to help explain the problem. | ||
|
||
### Environment (if applicable) | ||
|
||
- OS: [e.g., Windows 10, macOS Big Sur] | ||
- Browser: [e.g., Chrome, Firefox] | ||
|
||
### Additional Context | ||
|
||
Add any other context about the issue here. | ||
## Additional Notes | ||
Any additional information or context relevant to the issue can be added here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# This workflow will install Python dependencies, run tests and lint with a single version of Python | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | ||
|
||
name: Code Quality | ||
run-name: Run Lint Checks | ||
on: [push, pull_request] | ||
jobs: | ||
cpplint: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: 3.7 | ||
|
||
- name: Update pip | ||
run: python -m pip install --upgrade pip | ||
|
||
- name: Install dependencies | ||
run: pip install cpplint flake8 | ||
|
||
- name: Lint with flake8 | ||
run: flake8 | ||
|
||
- name: Lint with cpplint | ||
run: cpplint --recursive . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.