Skip to content

Testing Behavior of Generated Method with Dynamic Logic #76496

Closed Answered by CyrusNajmabadi
sharpzilla asked this question in Q&A
Discussion options

You must be logged in to vote

Create a test library that references your generator. Then create a unit test library that references your test library. Have the unit test validate the 'sum' method that is generated into your library, just like you would write any other unit test of some piece of code.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CyrusNajmabadi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Question Resolution-Answered The question has been answered
2 participants