testing - Relative Path to Grails test Directory -


i created folder under test directory store files needed our tests. how can access directory via relative path? looked grailsresourceutils seems deal grails-app directory.

for example, need access like:

test/artifacts/file.txt 

hm, seem easy exact path:

new file("test/artifacts/file.txt") 

resolves fine.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -