Griffin Bassman 9af6883fbe
fix: dotnet test CI and standardize test categories (#5286)
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2025-02-03 11:49:08 -05:00

31 lines
727 B
C#

// Copyright (c) Microsoft Corporation. All rights reserved.
// SampleTests.cs
using AutoGen.Gemini.Sample;
using AutoGen.Tests;
using Xunit;
namespace AutoGen.Gemini.Tests;
[Trait("Category", "UnitV1")]
public class SampleTests
{
[ApiKeyFact("GCP_VERTEX_PROJECT_ID")]
public async Task TestChatWithVertexGeminiAsync()
{
await Chat_With_Vertex_Gemini.RunAsync();
}
[ApiKeyFact("GCP_VERTEX_PROJECT_ID")]
public async Task TestFunctionCallWithGeminiAsync()
{
await Function_Call_With_Gemini.RunAsync();
}
[ApiKeyFact("GCP_VERTEX_PROJECT_ID")]
public async Task TestImageChatWithVertexGeminiAsync()
{
await Image_Chat_With_Vertex_Gemini.RunAsync();
}
}