using Centron.Tests.EndToEnd.Infrastructure; using Xunit; using Xunit.Abstractions; namespace Centron.Tests.EndToEnd.Tests.IndexSearch.IndexBuilder; public class IndexBuilderTests : CentronTest { public IndexBuilderTests(ITestOutputHelper testOutputHelper) : base(testOutputHelper) { } [Theory] [InlineData(1, "Hallo Welt ich bin ein normaler text für Computer c-entron software gmbh")] [InlineData(2, "haefele@c-entron.de")] [InlineData(3, "https://c-entron.de/something/todo")] public void RunTest(int step, string input) { var builder = new BusinessLogic.IndexSearch.IndexBuilder(); builder.Add(input); var terms = builder.GetTerms(); this.Verifier.Verify($"{step}_Output", new { Input = input, Terms = terms }); } }