-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Template project code is not compiled during test
#860
Comments
I noticed this, too. The plugin seems to use the |
I'm not sure yet why this is necessary, since scriptedDependencies := { val x = (Test / g8).value }
|
I discovered that the This seems to be resolved by using .enablePlugins(Giter8Plugin) instead of the I haven't gotten a completely clean run yet, but that seems to be because of an error in my template. But the above so far seems to fix your issue. |
@eed3si9n I think this issue requires some attention, as apparently now all the g8Test are no-ops. Following the findings of @performantdata, I've been able to determine that this has been introduced between sbt 1.9.6 and 1.9.7. Here's the diff. |
steps
sbt or Giter8 version: 1.9.8
Generate a new new template project:
Start the SBT prompt and run tests:
problem
Something is published locally:
but template project is not compiled, there is no directory
target/sbt-test
, as described in:https://www.foundweekends.org/giter8/testing.html#Using+the+Giter8Plugin
If the
src/main/g8/src/main/scala/Stub.scala
is modified to be invalid code, no error messages are shown when runningtest
org8Test
The text was updated successfully, but these errors were encountered: