Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: xunit code genarator #4

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

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.

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