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

test framework traits for Chat #13285

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

lukka
Copy link
Member

@lukka lukka commented Feb 15, 2025

No description provided.

@lukka lukka changed the title [DRAFT]dev/lukka/test framework for chat test framework traits for Chat Feb 15, 2025
@lukka lukka marked this pull request as ready for review February 15, 2025 01:33
@lukka lukka requested a review from a team as a code owner February 15, 2025 01:33
@@ -235,7 +235,10 @@ export class CppConfigurationLanguageModelTool implements vscode.LanguageModelTo
contextString += `The project targets the ${chatContext.targetArchitecture} architecture. `;
telemetryProperties["targetArchitecture"] = chatContext.targetArchitecture;
}

if (chatContext.usedTestFrameworks?.length > 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think ?. is needed, right? It's not used for the other members and it seems like it would always be defined.

image

@lukka lukka force-pushed the dev/lukka/test-framework-for-chat branch from 828bec8 to 68bf625 Compare February 19, 2025 02:48
@@ -154,7 +154,8 @@ describe('CppConfigurationLanguageModelTool Tests', () => {
standardVersion: 'c++20',
compiler: 'msvc',
targetPlatform: 'windows',
targetArchitecture: 'x64'
targetArchitecture: 'x64',
usedTestFrameworks: ['gtest', 'catch2']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these actually match the casing of what we send? e.g. "GTest", "Catch2"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Pull Request
Development

Successfully merging this pull request may close these issues.

2 participants