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

test: add E2E test for 1pub-1sub with ros2sub #335

Merged
merged 24 commits into from
Feb 3, 2025
Merged

test: add E2E test for 1pub-1sub with ros2sub #335

merged 24 commits into from
Feb 3, 2025

Conversation

atsushi421
Copy link
Contributor

Description

https://docs.google.com/spreadsheets/d/17tKod2f6-dnB6F0oh8RyAoWxezcKPx9DlzO1rrgeZik/edit?gid=0#gid=0 を実装しました。実行に時間がかかるので、現状はCIに組み込んでいません。

Related links

How was this PR tested?

bash scripts/e2e_test_1to1_with_ros2sub

Notes for reviewers

launchファイルでyamlを読み込むようになっているのは、launchファイルの引数のParseとlaunch_testingを共存させるのが困難だったためです。

Signed-off-by: atsushi421 <atsushi.yano.2@tier4.jp>
Signed-off-by: atsushi421 <atsushi.yano.2@tier4.jp>
@atsushi421 atsushi421 marked this pull request as draft January 28, 2025 05:46
@atsushi421 atsushi421 marked this pull request as ready for review January 28, 2025 06:20
@Koichi98
Copy link
Contributor

テスト実行中にログが出続けると思うのですが、これらのログに全体のテスト何個のうち何個目のテストを実行中なのかとか、テストの内容とかを含めることは可能ですか?

@atsushi421
Copy link
Contributor Author

テスト実行中にログが出続けると思うのですが、これらのログに全体のテスト何個のうち何個目のテストを実行中なのかとか、テストの内容とかを含めることは可能ですか?

可能です!テストの内容はconfigの内容を出すでOKですか?

@Koichi98
Copy link
Contributor

可能です!テストの内容はconfigの内容を出すでOKですか?

いいと思います!

@atsushi421
Copy link
Contributor Author

可能です!テストの内容はconfigの内容を出すでOKですか?

いいと思います!

追加しました! 12f29ae

@atsushi421 atsushi421 changed the title test: add e2e test for 1to1 with ros2sub test: add E2E test for 1pub to 1sub with ros2sub Jan 28, 2025
@atsushi421 atsushi421 changed the title test: add E2E test for 1pub to 1sub with ros2sub test: add E2E test for 1pub, 1sub with ros2sub Jan 28, 2025
@atsushi421 atsushi421 changed the title test: add E2E test for 1pub, 1sub with ros2sub test: add E2E test for 1pub-1sub with ros2sub Jan 28, 2025
@Koichi98
Copy link
Contributor

現状failしたテストがあったらそこでテストが止まると思うのですが、failしてもそのまま他のテストも実行するようなoptionがあると嬉しいかもです!デフォルトは停止がいいと思うのですが、failするのを確認したのちに他のテストが落ちる/落ちないことを確認することでデバッグ情報が増えるので需要があるかと思いました。

@atsushi421 atsushi421 marked this pull request as draft January 29, 2025 05:30
@atsushi421
Copy link
Contributor Author

現状failしたテストがあったらそこでテストが止まると思うのですが、failしてもそのまま他のテストも実行するようなoptionがあると嬉しいかもです!デフォルトは停止がいいと思うのですが、failするのを確認したのちに他のテストが落ちる/落ちないことを確認することでデバッグ情報が増えるので需要があるかと思いました。

-c コマンドを追加しました!

@atsushi421 atsushi421 marked this pull request as ready for review January 29, 2025 23:42
@atsushi421 atsushi421 marked this pull request as draft January 30, 2025 06:28
@atsushi421 atsushi421 marked this pull request as ready for review January 30, 2025 07:12
atsushi421 and others added 2 commits January 31, 2025 09:38
Co-authored-by: Koichi Imai <45482193+Koichi98@users.noreply.github.com>
Co-authored-by: Koichi Imai <45482193+Koichi98@users.noreply.github.com>
veqcc
veqcc previously approved these changes Feb 3, 2025
@atsushi421 atsushi421 marked this pull request as draft February 3, 2025 02:17
@atsushi421 atsushi421 marked this pull request as ready for review February 3, 2025 02:33
@atsushi421 atsushi421 added the run-build-test Run build-test in CI label Feb 3, 2025
@atsushi421 atsushi421 requested a review from Koichi98 February 3, 2025 02:42
@atsushi421 atsushi421 merged commit 49c52f3 into main Feb 3, 2025
4 checks passed
@atsushi421 atsushi421 deleted the e2e_test branch February 3, 2025 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-build-test Run build-test in CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants