omg-dds / dds-security

Validation of interoperability of products compliant with OMG DDS-SECURITY standard.
Other
14 stars 8 forks source link

changes to facilitate test automation (similar to dds-rtps) #17

Closed ClarkTucker closed 4 months ago

ClarkTucker commented 4 months ago

This changes the output of the test binary so that it more closely matches the output messages of the dds-rtps test.

mitza-oci commented 4 months ago

Would it be more maintainable for us to have the dds-security test code in the dds-rtps repository instead of this separate repo?

colmenero commented 4 months ago

Would it be more maintainable for us to have the dds-security test code in the dds-rtps repository instead of this separate repo?

@mitza-oci Is it a question of organization? That is, moving the current code into the other repository. Reuse functionality required by both (like the logger that this PR adds).

Or is it a question of trying to unify code? Ideally the same tests could be configure to run with/without security. This would be more difficult, from what I see the repositories have diverged quite much.

Maybe we could open a separate discussion (as an issue?) to agree on this without "polluting" this PR. What do you think @ClarkTucker?

ClarkTucker commented 4 months ago

Would it be more maintainable for us to have the dds-security test code in the dds-rtps repository instead of this separate repo?

@mitza-oci Is it a question of organization? That is, moving the current code into the other repository. Reuse functionality required by both (like the logger that this PR adds).

Or is it a question of trying to unify code? Ideally the same tests could be configure to run with/without security. This would be more difficult, from what I see the repositories have diverged quite much.

Maybe we could open a separate discussion (as an issue?) to agree on this without "polluting" this PR. What do you think @ClarkTucker?

I think it makes sense to consider merging them. But, right now, I'm on the fence:

  1. I think the two testing scenarios are very different [very different test parameters in each repo]; BUT
  2. the automation framework will be fairly similar

So, it's not clear to me which way will be easier in the long-term.

Bottom-line: I like the idea of discussing it further in a separate issue.

colmenero commented 4 months ago

@ClarkTucker I can run the rti executable and see the same output! So that's great.

I'm not approving yet, because I'd like to do a last review when I get back from a few days of PTO. I hope there is no hurry for this. It would have been merged into feature/DH anyway and I won't be able to continue with it until then.

ClarkTucker commented 4 months ago

@ClarkTucker I can run the rti executable and see the same output! So that's great.

I'm not approving yet, because I'd like to do a last review when I get back from a few days of PTO. I hope there is no hurry for this. It would have been merged into feature/DH anyway and I won't be able to continue with it until then.

No problem! Thanks for looking at it, and enjoy your break!