Properties for unit testing
Properties for unit testing
- Subject: Properties for unit testing
- From: Pascal Robert <email@hidden>
- Date: Sat, 29 Aug 2015 21:06:21 -0400
Hi,
I’m trying to write, for the first time, some unit tests for ERJavaMail. I need to pass some properties in the tests, but the properties are only seen if they are in the Properties file. If I pass as argument in the launch configuration, the properties are not found.
I have tried with both -er.javamail.imapHost outlook.office365.com or -Der.javamail.imapHost=outlook.office365.com, same results.
Anyway to use properties that ERXProperties can find in a unit test? ERXExtensions.initApp is called.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden