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 pytest #150

Merged
merged 8 commits into from
Aug 7, 2023
Merged

Add pytest #150

merged 8 commits into from
Aug 7, 2023

Conversation

200km
Copy link
Member

@200km 200km commented Aug 2, 2023

Issue

詳細

c2a-aobcでpytestが実行できる環境を整えた。試験的に次のテストコードを追加した。

  • NOPコマンドが通ることの確認
  • マニュアル目標Quaternion設定コマンドが通り、それによってテレメトリが変化することの確認
  • 参照ユリウス日設定コマンドが通り、それによってテレメトリが変化することの確認

ただし、#28 に書いた通り、現状のコードのままではc2a-enum-loaderでエラーが出るので修正しないと実行できない。
この部分の修正は別PR/issueで対応する。

検証結果

ビルドチェック

ソースコードの変更はないので不要

動作確認チェック

pytestが正常に実行できることを確認した。

試験結果詳細記述場所 or 詳細ログ保存場所へのリンク

pytest実行結果

image

補足

NA

@200km 200km added ✈️ priority::medium priority medium 🐬 minor update Minor update 🔧 tools Tools 🛰️ C2A Command Centric Architecture 📡 WINGS Web-based INterface Ground-station Software labels Aug 2, 2023
@200km 200km added this to the 開発仮目標1 milestone Aug 2, 2023
@200km 200km self-assigned this Aug 2, 2023
@200km 200km requested review from sksat and a team as code owners August 2, 2023 19:45
@200km 200km requested review from seki-hiro, suzuki-toshihir0 and conjikidow and removed request for a team August 2, 2023 19:45
@200km 200km requested a review from chutaro August 2, 2023 19:51
@200km
Copy link
Member Author

200km commented Aug 2, 2023

@chutaro CDH関係すると思うので、レビュワーに入れさせてもらっています。

@200km 200km linked an issue Aug 2, 2023 that may be closed by this pull request
2 tasks
@200km 200km requested a review from chutaro August 3, 2023 09:42
Copy link
Contributor

@chutaro chutaro left a comment

Choose a reason for hiding this comment

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

approve しました!

@200km 200km closed this Aug 7, 2023
@200km 200km reopened this Aug 7, 2023
@200km 200km merged commit 292b243 into develop Aug 7, 2023
@200km 200km deleted the feature/add-pytest branch August 7, 2023 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✈️ priority::medium priority medium 🛰️ C2A Command Centric Architecture 🐬 minor update Minor update 📡 WINGS Web-based INterface Ground-station Software 🔧 tools Tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pytestが実行できる体制を整える
3 participants