Skip to content

Latest commit

 

History

History
204 lines (137 loc) · 6.67 KB

CHANGES.md

File metadata and controls

204 lines (137 loc) · 6.67 KB

3.1.0

  • upgrade to clojure 1.6
  • upgrade clojurescript to 0.0-2234 and cljsbuild to 1.0.3
  • should-throw matches regex. @TakaGoto slagyr#95
  • lein spec no longer hangs when exiting if agents were used. @sdegutis slagyr#94
  • Fix for inproper exit-code on spec failures. @CraZySacX slagyr#90
  • Rerun all tests by pressing in vigilant runner. @kevinbuch slagyr#41
  • remove cljs? debug message. @kevinbuch slagyr#84

3.0.2

  • Fixes 'ClassNotFoundException speclj.run.standard' when running Vigilant.

3.0.1

  • Fixes exception throwing so that correct line numbers are displayed
  • CLJS upgrade to 2173
  • Resolves CLJS warning: "WARNING: Use of undeclared Var" when with used

3.0.0

  • Merges CLJ and CLJS into one jar using CLJX (specljs is no more)
  • lein spec tasks defaults to :eval-in :subprocess rather than :eval-in leiningen

2.9.1

  • adds :* and fn matchers to stub invokation checking

2.9.0

  • vigilant runner prints load error stacktraces
  • Adds stubs

2.8.1

  • Faster lein task. @mylesmegyesi slagyr#67
  • clojure-test reporter. @alpian
  • can use reporter objects as well as names. @alpian slagyr#69
  • reverts back to speclj.SpecFailure for errors.
  • lein spec task uses :test-paths project setting to specify spec location

2.8.0

  • Removes check for java.lang.Object when installing SpecCompoenent, because it blocks multimethods
  • Only call exit on fail. @glenjamin slagyr#47
  • Diff for maps. @edtsech slagyr#53
  • Fix for localized specs. @nilnor
  • -no-color switch. @dudymas slagyr#64
  • Remove (format) to work in recent cljs. @philipsdoctor slagyr#66
  • CLJS upgrade to 0.0-1978

2.7.5

  • should-contain and should-not-contain gracefully handle nil containers

2.7.4

  • ???

2.7.3

  • Adds speclj.core/run-spec as speclj.run.standard/run-spec (clj only) for backward compatibility
  • Adds should-be, such that (should-be empty? [1 2 3]) offers a useful report
  • Adds should-not-be, such that (should-not-be empty? []) offers a useful report
  • Simplifies failure report syntax

2.7.2

  • Specljs no longer adds keys to js/Object
  • Speclj doesn't leave orphaned sub process when the main process crashes @trptcolin
  • Speclj flushes output @trptcolin
  • speclj.core requires used name spaced for convenience.

2.7.1

  • Fixes problem with vigilant runner

2.7.0

  • Refactored to accomodate multiple platform (cljs)
  • BREAKING-CHANGE: (run-specs) moved from speclj.core to speclj.run.standard
  • Specljs (speclj on ClojureScript)

2 6.1

  • Java src is compiles with 1.5 target instead of 1.7 (which was used in 2.6.0)

2.6.0

  • Uses Clojure 1.5.1
  • Added with! and with-all!. Courtesy of @spadin.
  • Compile errors are caught and reported. Courtesy of @glenjamin. slagyr#39
  • should-contain and should== converted to pure macro so that line numbers are accurate. slagyr#42
  • failures result from java.lang.AssertionError to be compatible with 3rd party assertion libraries. slagyr#43
  • auto runner should no longer barf on compile errors. slagyr#33
  • removed 'lein new speclj' task. Instead use 'lein new speclj '. slagyr#23

2.5.0

  • should== for loose equality and collection containment equality
  • should-not== opposite of should==

2.4.0

  • should-contain works with regular expressions, maps, and sequences
  • should-not-contain, opposite of should-contain
  • Adds leinigen task help/doc string.

2.3.2

  • Vars (helpers fns and such) can be delcared inside contexts. Good suggestion by @mylesmegyesi.

2.3.1

  • Standard runner clears descriptions after each run.

2.3.0

  • Includes lein template by @bcmcgavin to create new speclj projects. slagyr#23
  • Updates 'lein spec' task by @mylesmegyesi to be compatible with lein2 deprecations. slagyr#24
  • Running specs in the REPL doesnt accumulate results any longer.

2.2.0

  • Support for Leiningen 2

2.1.3

  • Throwables are now caught by vigilant runner when loading files. Errors used to fail silently.

2.1.2

  • Errors (as opposed to Exceptions) no longer abort test runs

2.1.1

  • 2.1.0 is broken for some reason

2.1.0

  • Vigilant runner will remember failing tests and rerun them until they pass
  • leiningen spec task will always run in project root
  • tags in the command line work again

2.0.1

  • before-all's can use values from with-all's

2.0.0

1.5.0

  • Improved stacktrace eliding for pagages starting with clojure./java./speclj.
  • Multiple reporters supported
  • new assertions: should-be-nil, should-not-be-nil (Thanks to pgr0ss)
  • made reporting functional resuable

1.4.0

  • added pending macro to mark characteristics as pending
  • empty characteristics are now considered pending
  • xit is a shortcut to mark a characteristic as pending
  • added shortcuts for runners and reporters
  • renamed specdoc to documentation
  • output improved
  • with-all spec component
  • tag examples. declared in describe blocks. filtered on run.
  • exclude hidden files in runs (slagyr#4)

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
  • allow runners to run files, not just directories
  • options for (run-specs)
  • fix file path displayed with failed spec
  • refactored Vigilant running to use fresh library (embedded locally)

1.2.0

  • around components now execute around befores and afters
  • removed AOT compilation of clojure src which caused problems on other versions of clojure
  • fixed typo that prevented src from properly reloaded by Vigilant Runner
  • spec files are sorted before running
  • stack traces are elided and a switch was added to output full stack traces

1.1.0

  • fixed problem where vigilant runner would crash with :reload or :verbose in ns
  • colorize output
  • standard runner won't evaluate specs until they're all loaded
  • with components are only bound within their context
  • nested describe/context
  • afters are invoked even after failures or errors
  • should= support for doubles (use delta)
  • Lazy seqs print nicely in output (trptcolin)

1.0.3

  • First release