Skip to content

Commit

Permalink
Start creating testing utils
Browse files Browse the repository at this point in the history
  • Loading branch information
ulitol97 committed Apr 25, 2022
1 parent b06ddf4 commit dab5445
Show file tree
Hide file tree
Showing 4 changed files with 476 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ streams. Comet uses:
- [Cats Effect](https://github.com/typelevel/cats-effect): For composing the app
in a functional style and within the Typelevel ecosystem
- [FS2](https://github.com/typelevel/fs2): For reliably processing all sorts of
Streams in a functional way
Streams in parallel
- [SHaclEX](https://github.com/weso/shaclex): For RDF processing and validation
against both [ShEx](https://shex.io/)
and [SHACL](https://www.w3.org/TR/shacl/)
Expand Down
6 changes: 5 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ lazy val buildInfoSettings = Seq(
)

// Core dependencies
lazy val catsVersion = "3.3.9"
lazy val catsVersion = "3.3.11"
// FS2 dependencies
lazy val fs2Version = "3.2.5"
lazy val fs2KafkaVersion = "3.0.0-M6"
Expand All @@ -54,6 +54,8 @@ lazy val shaclexVersion = "0.2.2"
lazy val shexsVersion = "0.2.2"
lazy val umlShaclZexVersion = "0.0.82"
lazy val wesoUtilsVersion = "0.2.4"
// Testing dependencies
lazy val catsEffectTestingVersion = "1.4.0"
// -------------------------------------------------------------------------- //
// Core dependencies
lazy val catsEffect = "org.typelevel" %% "cats-effect" % catsVersion
Expand All @@ -64,3 +66,5 @@ lazy val fs2Kafka = "com.github.fd4s" %% "fs2-kafka" % fs2KafkaVersion
lazy val shexs = "es.weso" %% "shexs" % shexsVersion
lazy val shaclex = "es.weso" %% "shaclex" % shaclexVersion
lazy val wesoUtils = "es.weso" %% "utilstest" % wesoUtilsVersion
// Testing dependencies
lazy val catsEffectTesting = "org.typelevel" %% "cats-effect-testing-scalatest" % catsEffectTestingVersion % Test
10 changes: 10 additions & 0 deletions src/main/scala/schema/ShExSchemaFormat.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.ragna.comet
package schema

/**
* Schema formats accepted by the application for ShEx schemas
*/
enum ShExSchemaFormat(val name: String) {
case SHEXC extends ShExSchemaFormat("ShExC")
case SHEXJ extends ShExSchemaFormat("ShExJ")
}
Loading

0 comments on commit dab5445

Please sign in to comment.