[forge-dev] A silent build
Lincoln Baxter, III
lincolnbaxter at gmail.com
Thu Apr 19 15:04:10 EDT 2012
You may notice when building forge from master, that test output is no
longer printed to the console. This is because George Gastaldi has
implemented a long standing feature request:
https://issues.jboss.org/browse/FORGE-211
It is now possible to call: getOutput() in Forge test cases extending from
AbstractShellTest, making assertions on what your plugin is actually
printing to the console.
Assert.assertTrue(getOutput().contains("Expected output"));
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20120419/e97abd2a/attachment.html
More information about the forge-dev
mailing list