des09 / ktrwjr

Automatically exported from code.google.com/p/ktrwjr
0 stars 0 forks source link

Please add a configuration file to ignore some tests #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Some of my tests will not run on GAE because they require 
non-white-listed jars. Would like to have ktrwjr not load
those tests, because when it does, ktrwjr crashes.
Need a property file in the class path like:

ktrwjr.properties

   <ignorePaths>
      <pathPattern>com/myapp/test/localonly/**</pathPattern>
   </ignorePaths>

   <ignoreTests>
       <testPattern>**LocalTest</testPattern>
   </ignoreTests>

Original issue reported on code.google.com by m...@systemsplanet.com on 22 Jan 2011 at 8:35

GoogleCodeExporter commented 9 years ago
Hi,

You can put the tests into another source folder,
and set its output dir except war/WEB-INF/classes.

Then the tests will not upload to GAE production,
that is, ktrwjr will not crash.

Best regards,
bufferings

Original comment by bufferi...@gmail.com on 23 Jan 2011 at 2:30

GoogleCodeExporter commented 9 years ago
i tried that but eclipse uses the same output directory
for all sources 

Original comment by m...@systemsplanet.com on 23 Jan 2011 at 2:42

GoogleCodeExporter commented 9 years ago
Can you check the "Allow output folders for source folders" in the "Java Buld 
Path" setting?
(Right click your Project > Properties > (Tree)Java Build Path > (Tab)Source)
Then you'll see "Output folder" item, and you can set the output dir separately.

Original comment by bufferi...@gmail.com on 23 Jan 2011 at 2:50

GoogleCodeExporter commented 9 years ago

I'll give it a try. sorry to use your time 
for eclipse help ;)

Original comment by m...@systemsplanet.com on 23 Jan 2011 at 3:11

GoogleCodeExporter commented 9 years ago

Original comment by bufferi...@gmail.com on 6 Feb 2011 at 3:15