Skip to content

Conversation

@SamYSF
Copy link
Contributor

@SamYSF SamYSF commented Aug 27, 2024

What this PR does / why we need it:
Now we can save, view, and manage history testcase records, enabling comparison, rollback, and code generation from historical data.

Frontend:

  1. Add test history page.
  2. Add history code comparison, parameter rollback, and record jump.
  3. Add the ability to delete all related history records of a test case.
  4. Add history test case code generation.

Backend:

  1. CreateHistoryTestCase: Create history test using the result and test case information.
  2. GetHistoryTestCase: Retrieve test case information based on its ID.
  3. GetHistorySuites: Return all history test suite information.
  4. ListHistoryTestSuite: Query and categorize all history test suite information.
  5. GetHistoryTestCaseWithResult, GetHistoryTestCase: Retrieve information related to historyTestCase.
  6. DeleteHistoryTestCase: Delete the corresponding historyTestCase based on its ID.
  7. GetTestCaseAllHistory: Query all related historical test records based on the test suite and its test case name.
  8. DeleteAllHistoryTestCase: Delete all related historical test records based on the test suite and its test case name.
  9. HistoryGenerateCode: Generate code from history records.
  10. handleLargeResponseBody: Save oversized response bodies and return the file path instead of the body content.
  11. DownloadResponseFile: Download oversized response body files.

see the extension part LinuxSuRen/atest-ext-store-orm#17

@LinuxSuRen LinuxSuRen added enhancement New feature or request ospp 开源之夏 https://summer-ospp.ac.cn/ labels Aug 27, 2024
@CLAassistant
Copy link

CLAassistant commented Sep 3, 2024

CLA assistant check
All committers have signed the CLA.

@SamYSF SamYSF force-pushed the history-api branch 22 times, most recently from 077533f to c71d221 Compare September 9, 2024 13:31
@SamYSF SamYSF force-pushed the history-api branch 4 times, most recently from a77bd3c to 41a50fa Compare September 13, 2024 01:08
@SamYSF SamYSF force-pushed the history-api branch 2 times, most recently from 4832614 to eef572d Compare September 13, 2024 03:04
@SamYSF SamYSF force-pushed the history-api branch 3 times, most recently from 232e5f9 to 717beff Compare September 13, 2024 07:41
@SamYSF SamYSF force-pushed the history-api branch 2 times, most recently from a9e4750 to 698350a Compare September 15, 2024 01:55
@LinuxSuRen
Copy link
Owner

LinuxSuRen commented Sep 17, 2024

See

Error: failed to get latest tag: failed to get image tags from "https://registry-1.docker.io/v2/ysf233/atest-ext-store-orm/tags/list", status code: 401

It should be
image

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarCloud

@LinuxSuRen LinuxSuRen merged commit 95adf09 into LinuxSuRen:master Sep 18, 2024
8 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request ospp 开源之夏 https://summer-ospp.ac.cn/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants