Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add History api #17

Merged
merged 10 commits into from
Sep 18, 2024
Merged

feat: add History api #17

merged 10 commits into from
Sep 18, 2024

Conversation

SamYSF
Copy link
Contributor

@SamYSF SamYSF commented Aug 27, 2024

What this PR does / why we need it:
add api for save, view and delete history testcase record.

  1. GetHistoryTestSuite: Query HistorySuite information based on suiteName.
  2. ListHistoryTestSuite: Group HistorySuite information based on suiteName.
  3. CreateTestCaseHistory: Create historical record information in the database (the historyLimit configuration can control the number of historical records).
  4. GetHistoryTestCase: Query specific HistoryTestcase information based on its ID.
  5. GetHistoryTestCase: Retrieve historyTestCase information.
  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.

go.mod Show resolved Hide resolved
@LinuxSuRen LinuxSuRen merged commit a74a972 into LinuxSuRen:master Sep 18, 2024
5 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants