airqo-platform / airqo-platform/AirQo-api

Enhance Test Cases for POST Endpoints in Device Routes

オープン
#3,718 コメント 0 件 リアクション 0 件 担当者 1 名 @Baalmart が担当を希望しています GitHub で見る
主要言語
JavaScript
スター
26
フォーク
24
平均マージ
5時間 36分
マージ済み PR(30日)
81

説明

As discussed in [this comment](https://github.com/airqo-platform/AirQo-api/pull/3709#discussion_r1809625554) on PR [#3709](https://github.com/airqo-platform/AirQo-api/pull/3709), the test cases for POST endpoints can be improved. The proposed enhancements include:

- Testing with actual request bodies instead of placeholders.
- Verifying the request body in controller method calls.
- Adding negative test cases for invalid inputs or controller failures.

This issue is created at the request of @Baalmart to track these improvements.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。