Updates configuration and refactors code structure
Migrates connection strings to new database host Removes unnecessary code and improves configuration handling Enhances test coverage and adds random word generation Updates telemetry and command handling patterns
This commit is contained in:
parent
dc98178095
commit
a991dcdb97
18 changed files with 481 additions and 63 deletions
|
|
@ -8,6 +8,7 @@ using PlanTempus.Core.Configurations.JsonConfigProvider;
|
|||
using PlanTempus.Core.ModuleRegistry;
|
||||
using PlanTempus.Core.SeqLogging;
|
||||
using PlanTempus.Database.ModuleRegistry;
|
||||
using CrypticWizard.RandomWordGenerator;
|
||||
|
||||
namespace PlanTempus.X.TDD;
|
||||
|
||||
|
|
@ -22,7 +23,11 @@ public abstract class TestFixture
|
|||
protected TestFixture() : this(null)
|
||||
{
|
||||
}
|
||||
|
||||
public string GetRandomWord()
|
||||
{
|
||||
var myWordGenerator = new WordGenerator();
|
||||
return myWordGenerator.GetWord(WordGenerator.PartOfSpeech.verb);
|
||||
}
|
||||
public TestFixture(string configurationFilePath)
|
||||
{
|
||||
if (configurationFilePath is not null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue