Changes between Version 17 and Version 18 of Obsolete/Development/Code/TestingComponents
- Timestamp:
- Dec 11, 2013, 1:34:22 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Obsolete/Development/Code/TestingComponents
v17 v18 125 125 {{{ 126 126 #!perl 127 # When calling output() on ls -l, it will return foo\nbar 128 set_command_output("ls -l", "foo\nbar"); 127 # Set the standard output of the ls -l command. When calling output() on it, it will return foo\nbar 128 set_desired_output("ls -l", "foo\nbar"); 129 # Set the standard error of the ls -l command. 130 set_desired_error("ls -l", "this is an error"); 129 131 # Sets $? to 1 130 132 set_command_status("ls -l", "1"); … … 165 167 $comp->a_lesser_method($t->{a_subtree}); 166 168 }}} 169 170 Your test profiles should live in `src/test/resources`. 167 171 168 172 And test whatever you need to test. Simple, right?