You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The @MavenProjectSources (new since 0.12) is very useful. If the user does not set any parameters to it (neither resourcesUsage nor sources), I have a vague suggestion what it should default to.
The has similar semantics to @MavenProject, which - when used without paramenters - defaults to a directory called maven_project. So I am just wondering if @MavenProjectSources should behave similarly - i.e default to using the maven_project subdirectory?
And then we learn that we should place the project in a directory named maven_project:
The @MavenProject defines that project name which is by default maven_project. This means,
you have to define the project you would like to test on like this: ....
Ok, so I am just thinking that it would be elegantly consistent that the @MavenProjectSources would behave similarly - it could default to using the maven_project subdirectory.
There could be a section in the documentation right before (or after) the above section, that would contain a similar code example as above, but using @MavenProjectSources (without parameters) instead of @MavenProject (and without any ordering of the tests):
I think this usage of @MavenProjectSources could be documented in the same section as the @MavenProject, because it would highlight the similarities and differences between the two annotations nicely.
The text was updated successfully, but these errors were encountered:
The
@MavenProjectSources
(new since 0.12) is very useful. If the user does not set any parameters to it (neitherresourcesUsage
norsources
), I have a vague suggestion what it should default to.The has similar semantics to
@MavenProject
, which - when used without paramenters - defaults to a directory calledmaven_project
. So I am just wondering if@MavenProjectSources
should behave similarly - i.e default to using themaven_project
subdirectory?Argumentation:
In the current documentation for
@MavenProject
, we see this example:And then we learn that we should place the project in a directory named
maven_project
:Ok, so I am just thinking that it would be elegantly consistent that the
@MavenProjectSources
would behave similarly - it could default to using themaven_project
subdirectory.There could be a section in the documentation right before (or after) the above section, that would contain a similar code example as above, but using
@MavenProjectSources
(without parameters) instead of@MavenProject
(and without any ordering of the tests):I think this usage of
@MavenProjectSources
could be documented in the same section as the@MavenProject
, because it would highlight the similarities and differences between the two annotations nicely.The text was updated successfully, but these errors were encountered: