I am about to write just another Java-Test which covers a new feature. To document the reason for this new tests I am thinking about commenting the test with an explanation of the feature.
Should I do that?
What is a good way to link the tests with the features?
You should name your tests in such a way that it’s obvious which feature is under test, and the conditions of that test.
If, for some reason, that is not possible, then and only then should you add minimal commentary to your test; as should be the case for ANY code you write.