ModelEngine-Group / ModelEngine-Group/fit-framework

OhScript 中存在一个测试用例执行时间偏长

Open
#113 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

in: ohscript type: enhancement
Dominant language
Java
Stars
2.1k
Forks
335
PR merge metrics
No merged PRs in 30d

Description

Image

相比其他测试用例,如图的测试用例执行时间太长,影响每次的单元测试效率,建议优化

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the OhScript test case shown in the attached image and measure its execution time against the other unit tests. Read the surrounding test setup and identify why this case runs longer. Done means the test completes faster without reducing its coverage or causing failures in the unit test suite.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
performance, testing-qa
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.