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

Add test for validating Astarte interfaces using astartectl #29

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

Jusuf95
Copy link
Contributor

@Jusuf95 Jusuf95 commented Dec 10, 2024

Add a test for validating Astarte interface definitions using astartectl, ensuring their correctness and compliance with the expected structure.

To ensure the correct functionality and behavior of the astartectl commands for interface validation, including:

  • Verifying that interface JSON files are valid and adhere to the expected structure.
  • Confirming successful validation with appropriate output.

Created test for:

  • Validating Interfaces: Using astartectl utils interfaces validate to check the correctness of interface definitions and ensure the process completes successfully.

- Add test to validate Astarte interfaces using astartectl

Signed-off-by: Jusuf <[email protected]>
@Jusuf95 Jusuf95 force-pushed the utils_interface_validate branch from 691d9ca to dea5d64 Compare December 10, 2024 09:28
Copy link
Collaborator

@Annopaolo Annopaolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good! We should also test for malformed interfaces, so that not only the happy path is covered

@Annopaolo Annopaolo merged commit 69403ae into astarte-platform:main Dec 10, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants