One never-committed incarnation of the demos smoke tests had the code doing stuff in a
common base class, and then the ExampleRunner and XXXTestCase classes calling into that. I
scrapped that to keep the demos clean and readable.
I think also you probably don't want to put loads of assertions into the demo code,
but maybe something simple to just run all the demos against a running AS instance and
inspecting System.out or something could work.
On 21 Apr 2011, at 12:12, Andrew Lee Rubinger wrote:
Hi everyone:
Is there an automated way to be testing the ExampleRunner classes (which
have main() methods) in the demos? As we move things around I'd like to
be sure not to break anything in the process. :)
S,
ALR
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev