FastDeploy icon indicating copy to clipboard operation
FastDeploy copied to clipboard

[CI]【Hackathon 9th Sprint No.35】NO.35 Add unittest tests/engine/test_common_engine.py

Open 0Ayachi0 opened this issue 1 month ago • 3 comments

Motivation

NO.35 功能模块 fastdeploy/engine/common_engine.py 单测补充

Modifications

add unittest tests/engine/test_common_engine.py

Usage or Command

no need

Accuracy Tests

no need

Checklist

  • [x] Add at least a tag in the PR title.
    • Tag list: [[FDConfig],[APIServer],[Engine], [Scheduler], [PD Disaggregation], [Executor], [Graph Optimization], [Speculative Decoding], [RL], [Models], [Quantization], [Loader], [OP], [KVCache], [DataProcessor], [BugFix], [Docs], [CI], [Optimization], [Feature], [Benchmark], [Others], [XPU], [HPU], [GCU], [DCU], [Iluvatar], [Metax]]
    • You can add new tags based on the PR content, but the semantics must be clear.
  • [x] Format your code, run pre-commit before commit.
  • [x] Add unit tests. Please write the reason in this PR if no unit tests.
  • [x] Provide accuracy results.
  • [x] If the current PR is submitting to the release branch, make sure the PR has been submitted to the develop branch, then cherry-pick it to the release branch with the [Cherry-Pick] PR tag.

0Ayachi0 avatar Nov 15 '25 20:11 0Ayachi0

Thanks for your contribution!

paddle-bot[bot] avatar Nov 15 '25 20:11 paddle-bot[bot]

感谢贡献! 麻烦参考 PR 增加和develop分支的对比 https://github.com/PaddlePaddle/FastDeploy/pull/5007

CSWYF3634076 avatar Nov 18 '25 05:11 CSWYF3634076

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :warning: Please upload report for BASE (develop@e43a5fc). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #5070   +/-   ##
==========================================
  Coverage           ?   60.66%           
==========================================
  Files              ?      317           
  Lines              ?    38778           
  Branches           ?     5844           
==========================================
  Hits               ?    23524           
  Misses             ?    13389           
  Partials           ?     1865           
Flag Coverage Δ
GPU 60.66% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Nov 27 '25 04:11 codecov-commenter