no dogma blog
no dogma blog
Blog Posts
Podcast
Web API Lambda Course
Polly Course
Photos
Contact
Support this Site
About
RSS
Light
Dark
Automatic
Main Method
Unit Tests for Main and Other Methods in Top-Level Statements Console Applications
I spent some time attempting to find a way to execute unit tests on the Main and other methods within a console application using top-level statements, purely for the fun of it. It took longer than I had expected.
Jan 10, 2023
#
C#
,
dotNet
,
Top Level Statements
,
Unit Tests
,
Main Method
Cite
×