From ade7641c53b877d1140f967770cf2903cbcbbb5b Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Tue, 12 Aug 2025 15:14:35 +0900 Subject: [PATCH] Use `ExplicitAttribute` instead of manual nunit ignore --- .../Visual/SongSelectV2/TestSceneSongSelectGrouping.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/osu.Game.Tests/Visual/SongSelectV2/TestSceneSongSelectGrouping.cs b/osu.Game.Tests/Visual/SongSelectV2/TestSceneSongSelectGrouping.cs index 114a79438c..0f7c42946d 100644 --- a/osu.Game.Tests/Visual/SongSelectV2/TestSceneSongSelectGrouping.cs +++ b/osu.Game.Tests/Visual/SongSelectV2/TestSceneSongSelectGrouping.cs @@ -6,9 +6,8 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using NUnit.Framework; -using osu.Framework.Testing; -using osu.Framework.Development; using osu.Framework.Graphics.Containers; +using osu.Framework.Testing; using osu.Framework.Utils; using osu.Game.Beatmaps; using osu.Game.Collections; @@ -258,14 +257,12 @@ namespace osu.Game.Tests.Visual.SongSelectV2 #region Benchmarks [Test] + [Explicit("Manual benchmark")] public void TestPerformance() { const int sets_count = 100; const int diffs_count = 100; - if (DebugUtils.IsNUnitRunning) - Assert.Ignore("For benchmarking purposes only."); - AddStep("log in", () => { API.Login("user1", string.Empty); // match username in test scores.