You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
using all clients in the new Scala-based integration tests sounds like a good idea.
the old Java-based tests follow this approach.
alexeyOnGitHub
changed the title
3 Tests are failing with non default HTTP clients.
3 integration tests in Scala folder are failing with non default HTTP clients.
Feb 3, 2019
If we are changing
httpClient
in theTrelloTestFactory
toAsyncTrelloHttpClient
,AsyncTrelloHttpClient2
orRestTemplateHttpClient
3 integration tests are failing with following output.As a solution for this kind of problems I could try to implement parametrized tests and integrate Travis for project.
The text was updated successfully, but these errors were encountered: