4impact / madcow

Madcow 2.0 - Advanced Test Automation! Madcow is the premier test automation tool designed to make your life easier. Developers love it. Testers can actually use it!
http://madcow.4impact.net.au/
Apache License 2.0
7 stars 5 forks source link

Unable to run batch madcow by selected file name #42

Closed edwardvelasco closed 8 years ago

edwardvelasco commented 8 years ago

Unable to execute batch madcow using the ff. commands below:

  1. runmadcow.bat -e TESTLOCAL -t f_addCard, f_editCard, f_listClients, f_removeClient, f_viewClient
  2. Error Message:
C:\Edward\Billzy\madcow>runmadcow.bat -e TESTLOCAL -t f_addCard, f_editCard, f_listClients, f_removeClient, f_viewClient
tests: [f_addCard, , --, f_editCard, , f_listClients, , f_removeClient, , f_viewClient]
2016-04-21 09:06:47,258 INFO [au.com.ps4impact.madcow.report.MadcowExecutionReport] - <Preparing assets for Madcow Report...>
There was an error running Madcow: Unable to find matches on the classpath for '**/.grass'
Press any key to continue . . .  
  1. runmadcow.bat -e TESTLOCAL -t functional/f_addCard, functional/f_editCard
  2. Error Message:
C:\Edward\Billzy\madcow>runmadcow.bat -e TESTLOCAL -t functional/f_addCard, functional/f_editCard
tests: [functional/f_addCard, , --, functional/f_editCard]
2016-04-21 09:13:25,994 INFO [au.com.ps4impact.madcow.report.MadcowExecutionReport] - <Preparing assets for Madcow Report...>
There was an error running Madcow: Unable to find matches on the classpath for '**/functional/f_addCard.grass'
Press any key to continue . . .
  1. runmadcow.bat -e TESTLOCAL -t tests/functional/f_addCard, tests/functional/f_editCard
  2. Error Message:
C:\Edward\Billzy\madcow>runmadcow.bat -e TESTLOCAL -t tests/functional/f_addCard, tests/functional/f_editCard
tests: [tests/functional/f_addCard, , --, tests/functional/f_editCard]
2016-04-21 09:13:38,849 INFO [au.com.ps4impact.madcow.report.MadcowExecutionReport] - <Preparing assets for Madcow Report...>
There was an error running Madcow: Unable to find matches on the classpath for '**/tests/functional/f_addCard.grass'
Press any key to continue . . .
edwardvelasco commented 8 years ago

Retried the command below just removed the space and works as expected.

  1. runmadcow.bat -e TESTLOCAL --test f_addCard.grass,f_editCard.grass
  2. runmadcow.bat -e TESTLOCAL --test f_addCard,f_editCard
dawogfather commented 8 years ago

This should be fixed in build #125 release tag v2.0.0-alpha.3 as we are now trimming the "test" arguments