RFR: Initial section on testing [v6]

Jesper Wilhelmsson jwilhelm at openjdk.java.net
Thu Oct 22 20:07:16 UTC 2020


On Thu, 22 Oct 2020 15:46:41 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:

>> src/index.md line 370:
>> 
>>> 368:             }
>>> 369:         }
>>> 370:     }
>> 
>> Should there be a mention of trying to be consistent with other tests in a test folder, that is if they are using TestNG,  follow that pattern
>> 
>> Should we indicate when to use a TEST.properties file vs. including the properties within the test?
>
>>Should we indicate when to use a TEST.properties file vs. including the properties within the test?
> 
> `TEST.properties` files aren't intended to be used by tests, they are jtreg configurations file, so using them for test-specific properties might lead to name clashes and unexpected behaviors.

Let's agree on not adding anything about TEST.properties at this point. I have added a note in the todo-list about the need for documented best practices for this. Once the text is written we can discuss where to put it.

-------------

PR: https://git.openjdk.java.net/guide/pull/30


More information about the guide-dev mailing list