Skip to content

it is a test dsl for restful client and server based on moco and dispatch. (scala)

License

Notifications You must be signed in to change notification settings

SoyeeDst/rest-test-dsl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rest-test-dsl

Gitter Build Status

  • it is a test DSL for restful client and server based on moco and dispatch. (since scala2.10.4)

  • it also supports actor mode (will support Akka actor later) to make scalacheck style test cases more fast

  • it is very simple to use the DSL to test REST client and server

    • as a client example: "client ask_for resource to DELETE by request should SUCCESS and_with {} "

    • as aserver example: "server own resource when DELETE given request then {} "

  • there are some samples in the unit test folder

*** Release Notes ***

##0.0.4

  • bugfix for rest client to share the http client

##0.0.3

  • upgrade scalatest version to 2.2.0
  • make server dsl code simply
  • fix bugs

##0.0.2

  • Remove end method from client to make the DSL more plain
  • fix the client bug to close the http client
  • add one more implicit to make server DSL more plain without add a method if the response is constructed outside DSL

About

it is a test dsl for restful client and server based on moco and dispatch. (scala)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 100.0%