Permalink
Browse files

updated fresh to ignore hidden files. releasing 1.4.0

  • Loading branch information...
1 parent 2505ca3 commit c248da9fe18cf3659010a20d90db8042e3d7f053 @slagyr committed May 17, 2011
Showing with 12 additions and 11 deletions.
  1. +3 −1 CHANGES.md
  2. +1 −4 TODO.md
  3. +1 −1 project.clj
  4. +2 −0 spec/speclj/tags_spec.clj
  5. +2 −2 src/speclj/run/standard.clj
  6. +3 −3 src/speclj/version.clj
View
4 CHANGES.md
@@ -7,8 +7,10 @@
* renamed specdoc to documentation
* output improved
* with-all spec component
+* tag examples. declared in describe blocks. filtered on run.
+* exclude hidden files in runs (https://github.com/slagyr/speclj/pull/4)
-# 1.3.0
+ # 1.3.0
* using raw Runtime.exec in 'lein spec' command to avoid ant's output mangling and lag.
* should-be-same or some assertion that checks object reference equality
View
5 TODO.md
@@ -1,10 +1,7 @@
# Features to add
-* tag examples. declared in describe blocks. filtered on run.
-* exclude hidden files in runs (https://github.com/slagyr/speclj/pull/4)
-* exceptions during a spec run should not abort the rest of the examples
+* exceptions during a spec run should not abort the rest of the examples ???
* should-contain that accepts strings/regex, maps, seq
-* allow running to run individual example
* mocks
* report runs to growl, for vigilant runner
* limelight runner
View
2 project.clj
@@ -7,7 +7,7 @@
:distribution :repo
:comments "Copyright © 2011 Micah Martin All Rights Reserved."}
:dependencies [[org.clojure/clojure "1.2.0"]
- [fresh "1.0.1"]
+ [fresh "1.0.2"]
[mmargs "1.2.0"]]
:dev-dependencies [[lein-clojars "0.6.0"]]
:test-path "spec/"
View
2 spec/speclj/tags_spec.clj
@@ -73,4 +73,6 @@
)
+blah
+
(run-specs)
View
4 src/speclj/run/standard.clj
@@ -8,9 +8,10 @@
[speclj.running Runner]))
(defn- load-spec [spec-file]
+ (try
(let [src (slurp (.getCanonicalPath spec-file))
rdr (-> (java.io.StringReader. src) (clojure.lang.LineNumberingPushbackReader.))]
- (clojure.lang.Compiler/load rdr (.getParent spec-file) (.getName spec-file))))
+ (clojure.lang.Compiler/load rdr (.getParent spec-file) (.getName spec-file)))))
(deftype StandardRunner [descriptions results]
Runner
@@ -19,7 +20,6 @@
files (sort files)]
(binding [*runner* this *reporter* reporter]
(doseq [file files]
- ; (load-string (slurp (.getCanonicalPath file))))))
(load-spec file))))
(run-and-report this reporter)
(fail-count @results))
View
6 src/speclj/version.clj
@@ -3,9 +3,9 @@
[clojure.string :as str]))
(def major 1)
-(def minor 3)
-(def tiny 1)
-(def snapshot true)
+(def minor 4)
+(def tiny 0)
+(def snapshot false)
(def string
(str
(str/join "." (filter identity [major minor tiny]))

0 comments on commit c248da9

Please sign in to comment.