Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process main source set only #133

Open
remal opened this issue Apr 15, 2024 · 1 comment
Open

Process main source set only #133

remal opened this issue Apr 15, 2024 · 1 comment
Labels

Comments

@remal
Copy link

remal commented Apr 15, 2024

We have different kinds of tests in our project:

  • unit - test source set
  • integration - integrationTest source set
  • functional - functionalTest
  • etc

How can we process main source set only?

@Nava2 Nava2 added the feature label Apr 15, 2024
@Nava2
Copy link
Collaborator

Nava2 commented Apr 15, 2024

This seems like it'd be fairly trivial to update the path:
https://github.com/assertj/assertj-generator-gradle-plugin/blob/main/src/main/kotlin/org/assertj/generator/gradle/AssertJGeneratorGradlePlugin.kt#L46-L47

We'd likely need to create a new Extension that is applied to each Project, i.e. https://docs.gradle.org/current/userguide/implementing_gradle_plugins_binary.html#capturing_user_input_to_configure_plugin_runtime_behavior

We probably should only look at main by default. I think that it was an oversight on my behalf to look at more source sets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants