Open ReiHashimoto opened 9 months ago
FE auto test Hiện tại, khi khách review PR và release thì họ check các mục sau theo cách thao tác GUI thủ công. (Tuy nhiên, có một số quy trình thao tác và kết quả khác do bổ sung những tính năng gần đây, v.v.) https://docs.google.com/s Lansheet/d/1CzgAPyy2AqsDKQ5Ob1kQuVJshY2FV89SPH_tevN67U4/edit#gid=0
Vì tốn nhiều công số cho việc xác minh này nên khách muốn có thể auto test càng nhiều nội dung có thể kiểm tra được bằng các auto test của FE càng tốt.
1/Điều tra và khảo sát kĩ lưỡng các hạng mục có thể áp dụng auto test (bao gồm cả estimate công số) (RP) 2/Quyết định đối tượng auto test (ARAYA) 3/ Implement
Trước mắt là mình sẽ đối ứng mục 1 ở trên, mình có thể thêm cột vào file spreadsheet ở trên cũng ok
Mình có thể kiểm tra các mục giống vs các mục hiện có nên có thể linh hoạt đề xuất cho họ
@ReiHashimoto 1の対応が完了しました。 Jest と puppeteerという自動ツールを使用する前提で 上記ファイルのG列に導入できそうな項目の概算工数を入れました。 ご確認お願い致します。 https://docs.google.com/spreadsheets/d/1CzgAPyy2AqsDKQ5Ob1kQuVJshY2FV89SPH_tevN67U4/edit#gid=0
詰まっているところを別Issueを作成しました。
【追加情報】
What to Test In general, your tests should cover the following aspects of your code:
What Not to Test Testing most of your code is important, but here are some things you do not need to test:
現在はリリースやPRレビューの際に以下の項目を手動でGUIを操作してテストしています。 (ただし、直近の機能追加などで操作手順や結果が異なっているものもある) https://docs.google.com/spreadsheets/d/1CzgAPyy2AqsDKQ5Ob1kQuVJshY2FV89SPH_tevN67U4/edit#gid=0
検証作業の負荷が高いため、FEの自動テストでチェック可能な内容をできるだけ自動テストできるようにしたいです。
まずは1を対応していただきたいです。 上記スプレッドシートに列を追加するなどしていただいてOKです。
既存の項目と同等のチェックができれば良いので、柔軟に提案していただきたいです。
関連
83