Lokeshwar Tailor
Lokeshwar Tailor

Reputation: 371

Eclipse displaying one of the source folder (src/test) in different color compared to source folder - src/main?

Please, can anyone tell me what is the difference Eclipse is depicting between (1) and (2) the attached image?

eclipse-image-displaying-the-difference

Tried googling, but couldn't find any proper source stating above :)

Upvotes: 9

Views: 4314

Answers (1)

user1438038
user1438038

Reputation: 6079

This feature was introduced in Eclipse 4.8 to indicate that a source folder contains test code.

See New and Noteworthy, the section "Test sources" describes it in more detail.

I'll quote the relevant part here:

Test source folders and dependencies are shown with a darker icon in the build path settings, the package explorer and other locations. This can be disabled in Preferences > Java > Appearance

Eclipse settings

Upvotes: 12

Related Questions