rdmd -main -unittest file.d ```d import std.stdio; unittest { writeln("first"); } unittest { writeln("second"); assert(0); } ``` Output: ``` first second onlineapp.d(11): [unittest] unittest failure 1/1 modules FAILED unittests ``` The first assert to execute should kill the rest of the unittests.
- Unittests not firing? Mike Brown via Digitalmars-d-learn
- Re: Unittests not firing? rikki cattermole via Digitalmars-d-learn
- Re: Unittests not firing... Mike Brown via Digitalmars-d-learn
- Re: Unittests not fi... H. S. Teoh via Digitalmars-d-learn
- Re: Unittests not fi... Mike Brown via Digitalmars-d-learn
- Re: Unittests no... H. S. Teoh via Digitalmars-d-learn
- Re: Unittes... H. S. Teoh via Digitalmars-d-learn
- Re: Unittes... Mike Brown via Digitalmars-d-learn