Timeline for Unit testing internal components
Current License: CC BY-SA 2.5
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 5, 2010 at 11:45 | comment | added | mlvljr | @rmx Once something satisfies all the necessary criteria it ain't no cheating even if has something in common with actual cheats. But the topic of inter- / intra- module access is really a bit contrived in the modern mainstream languages. | |
| Nov 5, 2010 at 11:27 | comment | added | Nobody |
Good answer. In .NET you can use the [assembly: InternalsVisibleTo("MyUnitTestAssembly")] attribute in your AssemblyInfo.cs to test internals. It feels like cheating though.
|
|
| Nov 5, 2010 at 10:14 | comment | added | mlvljr | and the list layout seems to be broken a bit ;( | |
| Nov 5, 2010 at 10:14 | history | edited | mlvljr | CC BY-SA 2.5 |
added 646 characters in body
|
| Nov 4, 2010 at 12:40 | history | answered | mlvljr | CC BY-SA 2.5 |