reportportal / agent-scala-scalatest Goto Github PK
View Code? Open in Web Editor NEWProject for Scalatest agent
License: Apache License 2.0
Project for Scalatest agent
License: Apache License 2.0
I am using scalatest with JunitRunner and want the tests to get logged into reportportal. Am using gradle as the build tool. The gradle example given there (args = ['-C', 'com.epam.reportportal.scalatest.RPReporter'] does not work when running tests using Junit (using https://github.com/scalatest/scalatestplus-junit). Any help would be appreciated.
I am trying to incorporate with my scala test framework and getting below error.
we are using our own version of scalatest-maven-plugin
getting the below error
Exception in thread "ScalaTest-dispatcher" java.lang.NoSuchMethodError: com.google.common.io.Resources.asByteSource(Ljava/net/URL;)Lcom/google/common/io/ByteSource;
at com.epam.reportportal.utils.properties.PropertiesLoader.loadProperties(PropertiesLoader.java:91)
at com.epam.reportportal.utils.properties.PropertiesLoader.access$000(PropertiesLoader.java:44)
at com.epam.reportportal.utils.properties.PropertiesLoader$1.get(PropertiesLoader.java:55)
at com.epam.reportportal.utils.properties.PropertiesLoader$1.get(PropertiesLoader.java:51)
at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:109)
at com.epam.reportportal.utils.properties.PropertiesLoader.getProperties(PropertiesLoader.java:77)
at com.epam.reportportal.guice.ReportPortalClientModule.configure(ReportPortalClientModule.java:63)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:229)
at com.google.inject.spi.Elements.getElements(Elements.java:103)
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:136)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
at com.google.inject.Guice.createInjector(Guice.java:94)
at com.google.inject.Guice.createInjector(Guice.java:71)
at com.google.inject.Guice.createInjector(Guice.java:61)
at com.epam.reportportal.guice.BaseInjector.(BaseInjector.java:61)
at com.epam.reportportal.guice.Injector.(Injector.java:60)
at com.epam.reportportal.guice.Injector.(Injector.java:34)
at com.epam.reportportal.guice.Injector$1.get(Injector.java:44)
at com.epam.reportportal.guice.Injector$1.get(Injector.java:40)
at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:109)
at com.epam.reportportal.guice.Injector.getInstance(Injector.java:53)
at com.epam.reportportal.scalatest.RPReporter$$anon$1.get(RPReporter.scala:53)
at com.epam.reportportal.scalatest.RPReporter$$anon$1.get(RPReporter.scala:52)
at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:109)
at com.epam.reportportal.scalatest.RPReporter.apply(RPReporter.scala:77)
at org.scalatest.DispatchReporter$Propagator.$anonfun$run$10(DispatchReporter.scala:249)
at org.scalatest.DispatchReporter$Propagator.$anonfun$run$10$adapted(DispatchReporter.scala:248)
at scala.collection.immutable.List.foreach(List.scala:389)
at org.scalatest.DispatchReporter$Propagator.run(DispatchReporter.scala:248)
at java.lang.Thread.run(Thread.java:748)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.