Commits

Hector Miuler Malpica Gallegos committed 7e48d0f

low update

  • Participants
  • Parent commits 1f35130

Comments (0)

Files changed (5)

 target
-.cache
+\.cache
+\.idea
+name := "Kata Potter"
+
+version := "1.0"
+
+
+// ==================================================================
+// DEPENDENCIES
+libraryDependencies += "org.specs2" %% "specs2" % "1.12.1" % "test"
+
+libraryDependencies += "junit" % "junit" % "4.10"	
+
+libraryDependencies += "org.pegdown" % "pegdown" % "1.1.0"
+// ==================================================================
+
+
+// ==================================================================
+// REPOSITORIES
+resolvers += Classpaths.typesafeResolver
+
+resolvers ++= Seq("snapshots" at "http://oss.sonatype.org/content/repositories/snapshots",
+                  "releases"  at "http://oss.sonatype.org/content/repositories/releases")
+// ==================================================================
+

File project/build.sbt

-name := "Kata Potter"
-
-version := "1.0"
-
-
-// ==================================================================
-// DEPENDENCIES
-libraryDependencies += "org.specs2" %% "specs2" % "1.12.1" % "test"
-
-libraryDependencies += "junit" % "junit" % "4.10"	
-
-libraryDependencies += "org.pegdown" % "pegdown" % "1.1.0"
-// ==================================================================
-
-
-// ==================================================================
-// REPOSITORIES
-resolvers += Classpaths.typesafeResolver
-
-resolvers ++= Seq("snapshots" at "http://oss.sonatype.org/content/repositories/snapshots",
-                  "releases"  at "http://oss.sonatype.org/content/repositories/releases")
-// ==================================================================
-

File src/test/scala/com/mdp/potter/HelloWorldSpec.scala

 package com.mdp.potter
 
-import org.junit.runner.RunWith
-import org.specs2.Specification
-import org.specs2.runner.JUnitRunner
+//import org.junit.runner.RunWith
+//import org.specs2.Specification
+//import org.specs2.runner.JUnitRunner
 
 
 //@RunWith(classOf[JUnitRunner])

File src/test/scala/com/mdp/potter/PotterTest.scala

 import org.junit.runner.RunWith
 import org.specs2.runner.JUnitRunner
 import org.specs2.Specification
-import org.junit.runner.notification.Failure
 
 
 @RunWith(classOf[JUnitRunner])
     "si compras 6 libros diferentes tienes un 30% de descuento"                 ^
       "Compro 3 libros1, 3 libro2, 3 libros3, 3 libros4, 3 libros5, "+
       "3 libros5 debe de costar 100,8"                                          ! e61^
-    "si compras 6 libros diferentes tienes un 30% de descuento"                 ! pending^
                                                                                 p^
     "si compras toda la colección tienes un 45% de descuento"                   ! pending^
                                                                                 end