You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Felix Schumacher <fe...@internetallee.de> on 2015/10/10 14:48:16 UTC

Resources for unit tests.

Hi all,

is there any place, where I could resources that are used inside the 
unit tests, only?

In my case I try to test SMIMEAssertion and I would like to put a signed 
email and the used certificate somewhere the test case can reach it.

In maven I would place them under src/test/resources. If we have no such 
place, would it be useful/OK to create such a place?

Regards,
  Felix

Re: Resources for unit tests.

Posted by Felix Schumacher <fe...@internetallee.de>.
Am 10.10.2015 um 16:17 schrieb sebb:
> On 10 October 2015 at 13:48, Felix Schumacher
> <fe...@internetallee.de> wrote:
>> Hi all,
>>
>> is there any place, where I could resources that are used inside the unit
>> tests, only?
>>
>> In my case I try to test SMIMEAssertion and I would like to put a signed
>> email and the used certificate somewhere the test case can reach it.
>>
>> In maven I would place them under src/test/resources. If we have no such
>> place, would it be useful/OK to create such a place?
> +1
Would test/resources be a good place?

>
>> Regards,
>>   Felix


Re: Resources for unit tests.

Posted by sebb <se...@gmail.com>.
On 10 October 2015 at 13:48, Felix Schumacher
<fe...@internetallee.de> wrote:
> Hi all,
>
> is there any place, where I could resources that are used inside the unit
> tests, only?
>
> In my case I try to test SMIMEAssertion and I would like to put a signed
> email and the used certificate somewhere the test case can reach it.
>
> In maven I would place them under src/test/resources. If we have no such
> place, would it be useful/OK to create such a place?

+1

> Regards,
>  Felix