Skip to content

Conversation

@S-AMH
Copy link

@S-AMH S-AMH commented Dec 15, 2024

Adds the possibility of auto generating XUnit unit test codes using the Tenrec Code Generator UI.
Contains small refactoring to the structure of Generators in order to keep the code readable considering added feature.
Solution file is edited as it contained a project which was not present in the repository. (SampleTestProjectTenrec.csproj)
The Original Generator.cs was moved to ./Generators/CS/MSTestGenerator.cs
OpenDocument method from original Generator.cs was moved to ./Utils/IOHelper.cs
CodeableNickname method from original Generator.cs was moved to ./Utils/StringHelper.cs
A new method called IndexedString is now present in ./Utils/StringHelper.cs to facilitate writing the strings which require formatting.

S-AMH added 11 commits December 15, 2024 21:34
Signed-off-by: Amir <hasanli.amir@gmail.com>
Signed-off-by: Amir <hasanli.amir@gmail.com>
Signed-off-by: Amir <hasanli.amir@gmail.com>
Signed-off-by: Amir <hasanli.amir@gmail.com>
Signed-off-by: Amir <hasanli.amir@gmail.com>
Signed-off-by: Amir <hasanli.amir@gmail.com>
Signed-off-by: Amir <hasanli.amir@gmail.com>
…sent in the original repo.

Signed-off-by: Amir <hasanli.amir@gmail.com>
Signed-off-by: Amir <hasanli.amir@gmail.com>
Signed-off-by: Amir <hasanli.amir@gmail.com>
Signed-off-by: Amir <hasanli.amir@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant