<commit_before>using HarmonyLib;
using NUnit.Framework;
using System.Linq;

namespace HarmonyLibTests
{
	public static class TestTools
	{
		public static void Log(string str)
		{
			TestContext.Progress.WriteLine($"    {str}");
		}
	}

	public class TestLogger
	{
		[SetUp]
		public void BaseSetUp()
		{
			var args = TestContext.CurrentContext.Test.Arguments.Select(a => a.ToString()).ToArray().Join();
			if (args.Length > 0) args = $"({args})";
			TestContext.Progress.WriteLine($"### {TestContext.CurrentContext.Test.MethodName}({args})");
		}

		[TearDown]
		public void BaseTearDown()
		{
			TestContext.Progress.WriteLine($"--- {TestContext.CurrentContext.Test.MethodName} ");
		}
	}
}<commit_msg>Improve test logging<commit_after>using HarmonyLib;
using NUnit.Framework;
using System.Linq;

namespace HarmonyLibTests
{
	public static class TestTools
	{
		public static void Log(string str)
		{
			TestContext.WriteLine($"    {str}");
		}
	}

	public class TestLogger
	{
		[SetUp]
		public void BaseSetUp()
		{
			var args = TestContext.CurrentContext.Test.Arguments.Select(a => a.ToString()).ToArray().Join();
			if (args.Length > 0) args = $"({args})";
			TestContext.WriteLine($"### {TestContext.CurrentContext.Test.MethodName}({args})");
		}

		[TearDown]
		public void BaseTearDown()
		{
			TestContext.WriteLine($"--- {TestContext.CurrentContext.Test.MethodName} ");
		}
	}
}
{'fraction_non_alphanumeric': 0.15345821325648415, 'fraction_numerical': 0.001440922190201729, 'mean_word_length': 4.2218045112781954, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4859663', 'n_tokens_mistral': 511, 'n_tokens_neox': 460, 'n_words': 88}