I'm trying to figure out if there's a better way to do this.

Java doesn't support "here files" or embedded files.... so you have to keep
your resources external.  Usually in 'resources',

I don't want to have things like HTML code and other things in my tests as
it makes the tests ugly.

But the problem is that once I create the resources, they can't participate
in refactoring.

At least in intellij... even if it's *OBVIOUS* that the resource is
associated with a given test.

Is there a cleaner way to do this?

Either this whole thing is broken or I'm doing it wrong.

-- 

We’re hiring if you know of any awesome Java Devops or Linux Operations
Engineers!

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>

Reply via email to