score:3
So, while I don't have a great answer to this post, I have what worked for me. Basically my problem was that I was using ScalaTest to run my Scalding jobs from this link: Using the ScalaTest Maven plugin. This worked fine for my unit tests on operations but this caused weirdness when using ScalaTest with JobTest. After talked to the Scalding devs and finally acknowledging my team's own success with JUnitRunner, I decided to go with that. I changed my POM to support JUnitRunner and added @RunWith(classOf[JUnitRunner])
annotations to my tests. Everything worked and behaved like I wanted them too.
Source: stackoverflow.com
Related Query
- mutable.Buffer does not work with Scalding JobTest for Type Safe API
- IntelliJ IDEA Hotkey for comment does not work with Scala
- Why scala's pattern maching does not work in for loops for type matching?
- Shapeless type inference for HList does not work
- How does type inference work for a selection with placeholder syntax?
- Why does $ not work with values of type String (and only with the string literals directly)?
- LabelledTypeClass does not work for ADT with case object
- Scala 2 macro type class derivation for `Coder[P <: Product]` ends with error `P does not take parameters`
- Scala type inference does not work with type bounds, unless the type is specified explicitly
- Overriding abstract type does not work with control abstraction
- JsonIgnore for Scala method with default parameters does not work as expected
- Why does creating a DataFrame fail with "java.lang.UnsupportedOperationException: Schema for type Category is not supported"
- Why does pattern matching in Scala not work with variables?
- Why does 2.11.1 fail with error: not found: type Application?
- scala: why does underscore (_) initialization work for fields but not method variables?
- 7.toBinayString does not work in scala REPL, but with val k=7 it works
- scala 2.10.2 calling a 'macro method' with generic type not work
- Why does Scala implicit resolution fail for overloaded method with type parameter?
- Why scala does not unify this type lambda with underlying type?
- Command `timeout` does not work with Scala - why?
- Why does "flatMap" work with sequences of Option type in Scala?
- How does Scala's type inference work with type bounds?
- JSON4S type hint does not work
- Trait does not conform with type parameter bounds
- Return type depending on parameter type (e.g. Await.ready()) does not work as expected
- Method taking implicit CanBuildFrom does not work with eta-expansion?
- Why this structural type bound does not work as expected?
- sbt testOnly exclusion list with tag does not work
- Conditional compilation with macros work for methods, but not for fields
- Why does map/filter ... not work with an Array of Nothing?
More Query from same tag
- Issue while applying Logistic regression on csv Data
- How to use AspectJ with Sbt to generate SWF client classes
- How are these three approaches of defining a function different?
- Directive use both request header and body in akka-http
- Disabling analysis build.sbt in IntelliJ Scala plugin
- object SparkSession is not a member of package org.apache.spark.sql
- Storing each element from each RDD to a new List
- Scala repartition cannot resolve symbol
- Scala Trait with different def based on Type Parameter
- ClassNotFoundException when i add "provided" scope to the dependent project
- Megre two sorted Array, List vs Array
- sbt fails to download components
- Not able to write Data in Parquet File using Spark Structured Streaming
- scala read/write format for json with Type
- Spark / Mesos / Tasks lost, slaves blacklisted, executors removed
- Make an Actor send a poisonpill to itself when using pipe pattern
- java.lang.VerifyError: Operand stack overflow for google-ads API and SBT
- How can I use private functions[mllib] in my code?
- Try/catch item with strange syntax
- How do I package a class that extends App with sbt?
- How to avoid any mutable things in this builder?
- Spark2 unable to find table or view on remote hdfs cluster
- scala abstract type parameterized by `this.type`
- Scala mocking trait that is extended by another trait
- How to find out only those column names where data is having particular value in scala
- scala Enumeration with constructor and lookup table
- How to pass text file as argument scala
- Confusion over the actual type of a referenced abstract type
- What Project SDK should I use when creating an sbt project in IntelliJ IDEA?
- How to silence exception stack trace from Play framework stdout