Skip to content

Commit

Permalink
publish under pl.newicom org, remove gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelkaczor committed Apr 27, 2015
1 parent 6a4d600 commit 1390220
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 375 deletions.
52 changes: 0 additions & 52 deletions README.md
Expand Up @@ -20,58 +20,6 @@ using(_ url "http://api.rest.org/person") { implicit rb =>
}
```

## The Plan

I plan for this to be a useful resource for writing REST web service system tests. However my initial focus is learning and documenting the creation of a Scala DSL. The progress on the implementation is slow because I am documenting my understanding of DSLs as I go.

You can follow the [progress on my blog](http://iainhull.github.io/tags.html#resttest-ref):

* [The Builder Pattern](http://iainhull.github.io/2013/07/01/a-simple-rest-dsl-part-1/)
* [The Builder as the basis for a DSL](http://iainhull.github.io/2013/07/02/a-simple-rest-dsl-part-2/)
* [Extracting and asserting on response values](http://iainhull.github.io/2013/07/14/a-simple-rest-dsl-part-3/)
* [Grouping common request configuration with the `using` method](http://iainhull.github.io/2013/07/14/a-simple-rest-dsl-part-4/)
* [How to structure DLS projects](http://iainhull.github.io/2014/05/18/a-simple-rest-dsl-part-5/)
* [Improvements to Extractors](http://iainhull.github.io/2014/06/19/a-simple-rest-dsl-part-6/)
* Integrating RestTest with ScalaTest (planned)
* How to document a DLS (planned)
* Summary of Scala techniques and resources for creating DSLs (planned)

## How to build

This project has been migrated to Scala 2.11 and the build ported to [SBT](http://www.scala-sbt.org/).

To download and build RestTest just:

```
git clone git@github.com:IainHull/resttest.git
cd resttest
sbt test
```

To create a fully configured eclipse project just:

```
sbt eclipse with-source=true
```


### Old build using Gradle ###
This project used to be built with [gradle](http://www.gradle.org/). It still includes the gradle files and the gradle wrapper which will download gradle and build the project for you (the only prereq is Java).

To download and build RestTest just:

```
git clone git@github.com:IainHull/resttest.git
cd resttest
./gradlew build
```

To create a fully configured eclipse project just:

```
./gradlew eclipse
```

## License

RestTest is licensed under the permissive [Apache 2 Open Source License](http://www.apache.org/licenses/LICENSE-2.0.txt).
63 changes: 0 additions & 63 deletions build.gradle

This file was deleted.

6 changes: 6 additions & 0 deletions build.sbt
@@ -1,7 +1,10 @@
import sbtrelease.ReleasePlugin._
import Dependencies._

name := "resttest"

organization := "pl.newicom"

version := "0.1.0"

scalaVersion := "2.11.5"
Expand All @@ -10,9 +13,12 @@ resolvers += "typesafe repo" at "http://repo.typesafe.com/typesafe/releases/"

resolvers += "spray repo" at "http://repo.spray.io/"

publishMavenStyle := true

libraryDependencies ++= resttestDependencies

dependencyOverrides += "org.slf4j" % "slf4j-api" % "1.7.2"

parallelExecution in Test := false

Publish.settings ++ releaseSettings
Binary file removed gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 0 additions & 6 deletions gradle/wrapper/gradle-wrapper.properties

This file was deleted.

164 changes: 0 additions & 164 deletions gradlew

This file was deleted.

0 comments on commit 1390220

Please sign in to comment.