-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
If we are changing httpClient
in the TrelloTestFactory
to AsyncTrelloHttpClient
, AsyncTrelloHttpClient2
or RestTemplateHttpClient
3 integration tests are failing with following output.
./gradlew clean build
> Task :compileJava
warning: [options] bootstrap class path not set in conjunction with -source 1.7
1 warning
> Task :compileTestScala
Pruning sources from previous analysis, due to incompatible CompileSetup.
warning: [options] bootstrap class path not set in conjunction with -source 1.7
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
> Task :test
com.julienvey.trello.CardIt > create API gets user-friendly error when list id unknown FAILED
org.scalatest.exceptions.TestFailedException at CardIt.scala:21
Caused by: com.julienvey.trello.exception.TrelloHttpException at CardIt.scala:22
Caused by: java.util.concurrent.ExecutionException at CardIt.scala:22
Caused by: com.fasterxml.jackson.core.JsonParseException
com.julienvey.trello.CardIt > create API gets proper exception and a user-friendly error with valid but inaccessible List Id FAILED
org.scalatest.exceptions.TestFailedException at CardIt.scala:28
Caused by: com.julienvey.trello.exception.TrelloHttpException at CardIt.scala:32
Caused by: java.util.concurrent.ExecutionException at CardIt.scala:32
Caused by: com.fasterxml.jackson.core.JsonParseException
com.julienvey.trello.CardIt > update API gets user-friendly exception when updating a deleted card FAILED
org.scalatest.exceptions.TestFailedException at CardIt.scala:59
Caused by: com.julienvey.trello.exception.TrelloHttpException at CardIt.scala:64
Caused by: java.util.concurrent.ExecutionException at CardIt.scala:64
Caused by: com.fasterxml.jackson.core.JsonParseException
223 tests completed, 3 failed
As a solution for this kind of problems I could try to implement parametrized tests and integrate Travis for project.
Metadata
Metadata
Assignees
Labels
No labels