changelogs.md


bigstickcarpet/postman-bdd

Repository  -  API  -  Source

5.0.0

June 11, 2017

Breaking Changes:

Upgraded to Chai.js 4.0, which includes some breaking changes. If these changes affect you, then you can continue using Postman BDD v4 by downloading it from the following URL (notice the v4 in the path):

http://bigstickcarpet.com/postman-bdd/dist/v4/postman-bdd.min.js

Full Changelog

4.3.0

April 8, 2017

Full Changelog

4.2.1

March 7, 2017
  • Ensure that all header names in the response.headers object are lowercased. This should have always been the case, since it's consistent with the SuperAgent API

  • Minor tweak to the way before and after hooks are labeled. Previously, the label included the name of the describe block that the hook ran before/after

  • Refactored the response object to expose simple fields rather than property getters. This simplifies the code, and performs slightly better.

Full Changelog

4.0.0

March 6, 2017

Breaking Changes:

  • Test names are now prefixed with a number to ensure uniqueness. Previously, if you have two tests with the same name, the first one wouldn't be recorded, since Postman uses a dictionary to store test results

Other Changes:

  • Added a sample Postman collection with several requests that demonstrate basic and advanced usage of Postman BDD

  • Added a response.should.be.xml assertion, which is a shorthand for asserting that the Content-Type header is set to application/xml

Full Changelog

3.0.0

March 5, 2017

Breaking Changes:

  • If the response is JSON or XML, then it is automatically parsed for you. No need to call JSON.parse() or xml2json() first.

  • If automatic body parsing fails (e.g invalid JSON or XML), then no error is thrown. Instead, response.body will just be the plain-text response

Other Changes:

  • Fixed issue #5, where a failed assertion would appear as multiple failed tests in Postman

Full Changelog