Fantastic indeed! 

Koen

Op 19-apr.-2012, om 21:08 heeft Paul Bakker het volgende geschreven:

This is awesome! It makes testing much easier too :-)

Paul

On Apr 19, 2012, at 21:04 , Lincoln Baxter, III wrote:

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."
_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev

_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev