fail 'message to display in console'
This will fail the test when executed.
This will fail the test when executed.
def create_temp_file() @temp_fpath= '' begin @temp_fpath = File.absolute_path('..\src\features\data\tempfile.txt') create_file(@temp_fpath, 'Sample text') rescue Exception => e puts e.message end @temp_fpathend