Skip to content

Commit

Permalink
Adds integration tests (#11)
Browse files Browse the repository at this point in the history
* Added integration test module
* Added integration tests
* Added UUID field encoder / decoder and more integration tests
* Code optimization

Fixes #4
  • Loading branch information
frne authored Oct 28, 2018
1 parent cd305e3 commit 506ccc0
Show file tree
Hide file tree
Showing 56 changed files with 8,741 additions and 21 deletions.
16 changes: 15 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@

lazy val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"

lazy val `typesolr-core` = (project in file("./typesolr-core")).
settings(
commonSettings,
Expand Down Expand Up @@ -33,12 +35,24 @@ lazy val `typesolr-zio` = (project in file("./typesolr-zio")).
)
).dependsOn(`typesolr-core`)

lazy val `integration-test` = (project in file("./integration-test")).
configs(IntegrationTest).
settings(
commonSettings,
Defaults.itSettings,
libraryDependencies ++= Seq(
scalatest % "it,test",
"commons-io" % "commons-io" % "2.6"
),
Test / parallelExecution := false
).dependsOn(`typesolr-core`, `typesolr-cats-effect`, `typesolr-zio`, `typesolr-embedded`)

lazy val commonSettings = Seq(
scalaVersion := "2.12.7",
resolvers += "Restlet Repository" at "http://maven.restlet.org",
libraryDependencies ++= Seq(
"org.scalactic" %% "scalactic" % "3.0.5",
"org.scalatest" %% "scalatest" % "3.0.5" % "test"
scalatest % "test"
),
scalacOptions ++= Seq(
"-deprecation",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Set of Catalan contractions for ElisionFilter
# TODO: load this as a resource from the analyzer and sync it in build.xml
d
l
m
n
s
t
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Set of French contractions for ElisionFilter
# TODO: load this as a resource from the analyzer and sync it in build.xml
l
m
t
qu
n
s
j
d
c
jusqu
quoiqu
lorsqu
puisqu
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Set of Irish contractions for ElisionFilter
# TODO: load this as a resource from the analyzer and sync it in build.xml
d
m
b
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Set of Italian contractions for ElisionFilter
# TODO: load this as a resource from the analyzer and sync it in build.xml
c
l
all
dall
dell
nell
sull
coll
pell
gl
agl
dagl
degl
negl
sugl
un
m
t
s
v
d
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Set of Irish hyphenations for StopFilter
# TODO: load this as a resource from the analyzer and sync it in build.xml
h
n
t
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Set of overrides for the dutch stemmer
# TODO: load this as a resource from the analyzer and sync it in build.xml
fiets fiets
bromfiets bromfiets
ei eier
kind kinder
Loading

0 comments on commit 506ccc0

Please sign in to comment.