Last update November 19, 2012

Language Devel /
Unit Test Phobos



Unit Testing Phobos

To unit-test a Phobos module (e.g. std.path in Phobos) call:

rdmd --main --force -unittest std/path.d

You might have to pass the -d flag to enable deprecated features, if the unittests depend on it.

FrontPage | News | TestPage | MessageBoard | Search | Contributors | Folders | Index | Help | Preferences | Edit

Edit text of this page (date of last change: November 19, 2012 10:08 (diff))