Commit 092324b
Data-driven integration tests (#249)
* basic integration utility
* Integration test suite factory implementation
* Implementing core models for integration testing
* AutoClient mockup
* Adding runner starter code
* Adding foundational classes
* Drafting AgentClient and ResponseClient implementations
* Spec test
* Filling in more implementation details
* More files
* Cleaning up implementations
* Adding expect replies sending method
* Beginning unit tests
* Adding integration decor from sample test cases
* Integration from service url tests
* _handle_conversation implementation for response_client
* AgentClient tests completed
* Creating response client tests
* Hosting server for response client
* Response client tests completed
* Beginning refactor of aiohttp runner
* Unit test updates
* Fixing issues in refactor
* Fixed TestIntegrationFromSample unit test
* Another commit
* Reorganizing files
* Completed TestIntegrationFromServiceUrl unit tests
* Reformatting with black
* Quickstart integration test beginning
* Draft of quickstart sample setup
* Environment config connection
* Renaming messaging endpoint to agent url
* Removing unnecessary files
* Fixing agent client payload sending
* First successful integration test
* Beginning foundational test cases
* TypingIndicator test
* Adding more test cases
* More foundational integration test cases
* Reorganizing testing tools into package
* Polished the testing framework package
* Adding verbose logging for results with benchmark tool
* General cleanup
* Adding README
* Revising README
* Formatting
* Addressing PR comments
* Removing unused import
* Update dev/microsoft-agents-testing/microsoft_agents/testing/sdk_config.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update dev/microsoft-agents-testing/pyproject.toml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update dev/microsoft-agents-testing/microsoft_agents/testing/auth/generate_token.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update dev/microsoft-agents-testing/microsoft_agents/testing/integration/core/environment.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Removing unused code
* Adding field assertion helpers
* Implementing field assertion types
* Adding data driven test foundation
* Separating assertions from checkers
* Adjusting return values for check_activity with refactor
* Fixing package name in pyproject.toml
* Assertion test cases
* _parse_assertion unit tests
* More assertion tests and fixes to data normalization logic
* Fixing more test cases with newest refactor
* assert_activity tests
* Reorganizing tests
* Copyright comments
* DDT implementation outline
* DataDrivenTest class
* select_activity implementation for assertions
* inverted assertions for quantifiers
* ActivityAssertion class implementation
* DataDrivenTest implementation
* Populate function for dictionaries
* Populate tests
* Selector class implementation
* Assertion tests completed for now
* Adding ActivityAssertion tests
* DataDrivenTest implementation connected with default config
* More test cases and formatting
* Data driven testing single test setup support
* Formatting
* Dynamic data driven test loading
* Another commit
* DataDrivenTest class implementation with accompanying unit tests
* Recursive test loading with parent links
* Slight reorg
* Formatting
* Adding DataDrivenTest cases
* Fixing test cases
* Test case assertions
* Reorganizing integration tests
* Removed unused files
* Reverting payload for benchmark
* Added working integration tests
* Cleanup for PR
* Fixing typing annotation on ddt decorator
* Updated README.md
* Adding Quickstart integration tests
* Fixing integration test name resolution
* Adding initial for claire-bot tests
* Claire-bot tests
* Adding data driven tests for claire-bot
* Reformatting with black
* Update dev/integration/agents/claire_bot/python/src/agent.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update dev/integration/agents/claire_bot/python/src/agent.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* PR comments
* Formatting
* Minor fixes
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent de0083f commit 092324b
146 files changed
Lines changed: 9117 additions & 144 deletions
File tree
- dev
- integration
- agents
- basic_agent
- python
- src
- weather
- agents
- plugins
- samples
- tests
- basic_agent
- directline
- msteams
- webchat
- quickstart
- directline
- microsoft-agents-testing
- _manual_test
- microsoft_agents/testing
- assertions
- auth
- integration
- core
- aiohttp
- client
- data_driven
- utils
- tests
- assertions
- integration
- core/client
- data_driven
- utils
- tests/activity
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | | - | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
This file was deleted.
File renamed without changes.
Whitespace-only changes.
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments