-
Notifications
You must be signed in to change notification settings - Fork 86
feat(agent): Test Agent Integration #854
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9bcce13 to
12caaf0
Compare
* chore: fix AutoBeTestWriteEvent * chore: Fix IAutoBeTestWriteResult * fix: Fix orchestrateTest logic by modifying AutoBeTestWriteEvent * test, fix: Fix validate_agent_test_write by modifying AutoBeTestWriteEvent * chore: add comment to function property in AutoBeTestWriteEvent
* chore: define AutoBeTestWriteFunctionBase and apply each Function interface * chore: fix AutoBeTestWriteFunction * chore: resolve AutoBeTestWriteFunction related type error
* chore: Fix AutoBeTestValidateEvent * chore: add comment to function property in AutoBeTestValidateEvent * chore: remove unnecessary import from AutoBeTestValidate * chore(ui): fix logic about AutoBeTestWriteEvent in AutoBeValidateEventMovie.tsx * chore: Revert AutoBeValidateEventMovie.tsx * fix: fix the logic related Test Validate by modifying AtoBeTestValidateEvent
* chore: define TEST_WRITE_AUTHORIZATION.md * chore: define transformTestWriteAuthorizationHistories * chore: define IAutoBeTestWriteAuthorizationApplication * feat: define orchestrateTestWriteAuthorization * test: Test Write Authorization Test
* feat: orchestrateTestGeneration * test: Test Generation Agent * chore: define TEST_WRITE_GENERATION.md * test, fix: fix validate_agent_test_generation * fix: convert orchestrateTestGeneration from logic to llm * chore: Fix TEST_WRITE_GENERATION.md * chore: define transformTestWriteGenerationHistory * chore: define IAutoBeTestWriteGenerationApplication * chore: rename orchestrateTestGeneration to orchestrateTestWriteGeneration * chore: remove import statement prompt from TEST_WRITE_GENERATION.md * chore: add additionalImport property to completeTestCode * test, chore: rename test write generation
* feat: Test Prepare Agent * test: Test Prepare Agent * fix: Fix incorrect statement when generate random value * chore: define TEST_WRITE_PREPARE.md * chore: define transformTestWritePrepareHistories * chore: define IAutoBeTestWritePrepareApplication * fix: convert orchestrateTestPrepare from logic to llm * test, fix: fix validate_agent_test_prepare * chore: rename orchestrateTestPrepare to orchestrateTestWritePrepare * chore: fix import statement prompt from TEST_WRITE_PREPARE.md * chore: add randint import statement to getTestImportStatments * fix: apply completeTestCode function to orchestrateTestWritePrepare * test, chore: rename filename
…orization (#839) * chore: fix AutoBeTestCorrectEvent * chore: define getTestArtifacts function * chore: define IAutoBeTestAgentResult * chore: define insertScriptToTestResult util function * chore: fix files field to functions in AutoBeTestCompleteEvent * chore, fix: fix files field to functions in AutoBeTestHistory * chore, fix: remove draft, review field from AutoBeTestWriteFunction * fix: fix orchestrateTest by applying IAutoBeTestAgentResult type * fix: fix orchestrateTestWrite by applying IAutoBeTestWriteResult type * fix: fix orchestrateTestWritePrepare by applying IAutoBeTestWritePrepareResult type * fix: fix orchestrateTestWriteGeneration by applying IAutoBeTestWriteGenerationResult type * fix: fix orchestrateTestWriteAuthorization by applying IAutoBeTestWriteAuthorizationResult type * chore: fix transform function about Test Agent * fix: fix orchestrateTestCorrect by applying IAutoBeTestAgentResult type * fix: fix orchestrateTestCorrectInvalidRequest by applying IAutoBeTestAgentResult type * test, fix: fix validate_agent_test_write function * chore: remove document if branch * chore: add document if branch in orchestrateTest * chore: rename test agents * chore: fix files field to functions in AutoBeReplayComputer * chore: fix incorrect type in test * test, fix: fix incorrect type in validate_agent_test_prepare_write * chore: add getPrepareImport util function * chore: fix Test Prepare Write Agent Prompt * test, fix: add correct agent to test prepare, generation, authorization agent * chore: Add CORRECT systemprompt about Test Agent * chore: fix prepare correct system prompt * chore: fix ui and hackathon server by modifying TestCorrectEvent * fix: Add tstl package to test package.json * chore: fix step from interface to analyze in Test Agent
…nd remove login api
… param to generate parameter
… completeTestCode function
…ation, generation
…and apply to TestWrite
…to transformTestWriteHistory
…ormTestCorrectHistory
12caaf0 to
fce502c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Test Write AgenttoTest Operation Write Agent(rename event, function, filename etc...)This pull request refines the agent prompts and supporting TypeScript utilities for test authorization flows, shifting the approach from deleting functions with invalid type usage to surgically fixing type violations while preserving function structure. It also introduces a new
DeepPartialutility type, and updates the sample authorization function implementations to use it for better type safety and flexibility.Authorization agent prompt improvements:
TypeScript utility enhancements:
DeepPartialtype ininternals/template/test/test/utils/DeepPartial.tsto allow for deeply partial DTOs in test functions, improving flexibility for optional overrides.internals/template/interface/test/tsconfig.jsonto setbaseUrlfor improved module resolution in tests.Authorization function sample updates:
DeepPartial<IUser.IJoin>for theinputparameter, and leverageRandomGeneratorfor generating test data, ensuring type safety and proper structure. [1] [2]General prompt and workflow clarifications:
Change references:
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]