Last update November 19, 2012

Language Devel /
Unit Test Phobos



Difference (last change) (no other diffs, normal page display)

Changed: 1c1,9
Describe the new page here.
==Unit Testing Phobos==

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

[[code][background=#EEEEEE]
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.

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))