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

Running tests attempts to open directory as file #1

Closed
jtzwu opened this issue Dec 11, 2013 · 0 comments · Fixed by #2
Closed

Running tests attempts to open directory as file #1

jtzwu opened this issue Dec 11, 2013 · 0 comments · Fixed by #2

Comments

@jtzwu
Copy link
Contributor

jtzwu commented Dec 11, 2013

When running gradle test with the plugin install, I get the following error. Gradle version 1.9.

An exception or error caused a run to abort. This may have been caused by a problematic custom reporter.
java.io.FileNotFoundException: /home/username/src/xxx/build/reports/tests (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:212)
at java.io.FileOutputStream.(FileOutputStream.java:165)
at org.scalatest.tools.HtmlReporter.(HtmlReporter.scala:57)
at org.scalatest.tools.ReporterFactory.createHtmlReporter(ReporterFactory.scala:118)
at org.scalatest.tools.ReporterFactory.org$scalatest$tools$ReporterFactory$$getReporterFromConfiguration$1(ReporterFactory.scala:155)
at org.scalatest.tools.ReporterFactory$$anonfun$1.apply(ReporterFactory.scala:162)
at org.scalatest.tools.ReporterFactory$$anonfun$1.apply(ReporterFactory.scala:161)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.Iterator$class.foreach(Iterator.scala:727)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1156)
at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
at org.scalatest.tools.ReporterConfigurations.foreach(ReporterConfiguration.scala:37)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at org.scalatest.tools.ReporterConfigurations.map(ReporterConfiguration.scala:37)
at org.scalatest.tools.ReporterFactory.getDispatchReporter(ReporterFactory.scala:161)
at org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1643)
at org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:703)
at org.scalatest.tools.Runner$.main(Runner.scala:573)
at org.scalatest.tools.Runner.main(Runner.scala)

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

Successfully merging a pull request may close this issue.

1 participant