Language Devel /
Unit Testing
Difference (last change) (no other diffs, normal page display)
Changed: 7,9c7
echo void main() { } > main.d dmd -unittest main.d std\path.d main.exe |
rdmd --main -unittest std\path.d |
Changed: 15,18c13,15
echo void main() { } > main.d dmd -unittest main.d std/path.d ./main ] |
rdmd --main -unittest std/path.d ] |
Unit Testing
To unit-test a Phobos module (e.g. std.path in Phobos) call:
Windows:
![]() |
|
on Linux this might be:
![]() |
|