On Mon, May 18, 2009 at 11:26 AM, David Ashley <david.ashley....@gmail.com> wrote:
> TCPIP_TEST sounds good, an it can cover all TCPIP related tests - sockets, > ftp, smtp, etc. > > And I did find the markNoTest method for rendering all the tests in a group > inactive. I will use that to deactivate the smtp tests unless an smtp server > and account have been set up in the environment. David, I added the TCPIP_TEST type that is not executed by default. The way it works is as follows: There is a set of default test types that are always executed. You can vary that set by using either the -I (include switch) or the -X (exclude switch) The complete set of test types, currently, is: Valid types are: Doc_example_noise Unit_long Framework_example Doc_example Unit Gui Default Sample Gui_sample Ole Native_api Tcpip The default set is all of the above except: Doc_example_noise and Tcpip So it would be: Unit_long Framework_example Doc_example Unit Gui Default Sample Gui_sample Ole Native_api Default and Unit test types are synonyms. I.e., the default test type is the unit test type. So, to execute a Tcpip test group you would use: ./testOORexx -I tcpip which would run all the default test types and tcpip. (The test type names are all case insensitive.) Or, I added a switch -a that runs All tests, i.e., no test type is excluded. The command line parser also recognizes the keyword: All for the -I or -X switch. So the following two command lines are equivalent: ./testOORexx -I all and ./testOORexx -a Then from there you can use the -I and -X switches to run any combination of tests types you want. For instance to only run the Tcpip test type you could do: ./testOORexx -X all -I tcpip This all works now. I have a few refinements I want to make to the implementation, but the interface as described above will stay the same. -- Mark Miesfeld ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel