Skip to content

Commit

Permalink
Remove RSpec dependency, use our own Tester/Checker framework.
Browse files Browse the repository at this point in the history
  • Loading branch information
blambeau committed Feb 23, 2021
1 parent 888c500 commit 84d3adc
Show file tree
Hide file tree
Showing 19 changed files with 233 additions and 623 deletions.
16 changes: 12 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# 0.19.0

* RSpec is no longer used to run the test suite. Webspicy now
has its own test engine. The aim is to provide test suite
reporting appearing more natural in a techno-agnotic setting.
In particular, no stacktrace is shown for errors and failures
that do not involve user-specific ruby code.

* Improves error messages ; distinguish various stages of
assertions (web protocol, then and only then output, then and
only then semantics)

# 0.18.0 - 2021/02/23

* Dependencies upgraded, http >= 4.0 and finitio >= 0.10.0
Expand All @@ -15,10 +27,6 @@
Errconditions are postconditions that are met when the test
item is called while at least on precondition is violated.

* Improves error messages ; distinguish various stages of
assertions (web protocol, then and only then output, then and
only then semantics)

# 0.16.3 - 2020/12/18

* Fix RobustToInvalidInput to include empty params as valid
Expand Down
105 changes: 0 additions & 105 deletions Gemfile.lock

This file was deleted.

2 changes: 0 additions & 2 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ A few ideas listed here, from the vision exposed in `doc/`.

* YAML schemas must have a better mapping with vocabulary, in a backward compatible way. It must be easy to migrate an existing specification & test suite.

* Reuse an assertions framework, either from RSpec or Minitest.

* Make assertion support more generic: it should be possible to assert the response, not only the output.

* Support jsonpath for assertions paths, instead of hardcoded paths.
Expand Down
3 changes: 1 addition & 2 deletions lib/webspicy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
require 'logger'
require 'ostruct'
require 'yaml'
require 'rspec'
require 'rack/test'
require 'mustermann'
require 'colorized_string'
Expand All @@ -21,7 +20,6 @@ module Webspicy
require 'webspicy/support'
require 'webspicy/specification'
require 'webspicy/configuration'
require 'webspicy/checker'
require 'webspicy/tester'

###
Expand All @@ -35,6 +33,7 @@ module Webspicy
Postcondition = Specification::Postcondition
FileUpload = Specification::FileUpload
Scope = Configuration::Scope
Checker = Tester::FileChecker

###
### About folders
Expand Down
10 changes: 0 additions & 10 deletions lib/webspicy/checker.rb

This file was deleted.

2 changes: 0 additions & 2 deletions lib/webspicy/rspec/checker.rb

This file was deleted.

24 changes: 0 additions & 24 deletions lib/webspicy/rspec/checker/rspec_checker.rb

This file was deleted.

27 changes: 0 additions & 27 deletions lib/webspicy/rspec/support/rspec_runnable.rb

This file was deleted.

4 changes: 0 additions & 4 deletions lib/webspicy/rspec/tester.rb

This file was deleted.

121 changes: 0 additions & 121 deletions lib/webspicy/rspec/tester/rspec_asserter.rb

This file was deleted.

Loading

0 comments on commit 84d3adc

Please sign in to comment.