- Supports PostCSS 7 and 8 (major)
- Supports Node 10+ (major)
- Supports configurations from (in order)
postcss-tape.config.js,postcss-tape.config.mjs,postcss-tape.config.cjs,.tape.js,.tape.mjs, and.tape.cjs.
- Fixed: Issue loading a test plugin
- Fixed: Tests for an error
- Fixed: Documentation errors
- Updated: Node 8+ compatibility (major)
- Fixed: Better support warnings and errors
- Changes the nested
postcss-plugin: { "test-name": {} }with{ "test-name": {} }. - Supports a
--ci truemode for full logging
I’ve rewritten the plugin in less lines of code and hopefully more clearly. I had a lot of trouble following the old version, so it’s very hard to know what changes there are. I also accidentally published an incompatible version, so version 3 is skipped for 4.
- Added: New
processOptionsoption for controlling the PostCSS process
- Added: New
pluginmethods for specifying alternative plugin(s) - Added: Support for running all tests even if some fail
- Updated: Travis compatibility
- Added: Node v4.x compatibility
- Added: Sequential testing
- Added: New
beforeandaftermethods - Added: New
source,expect, andresultoverrides
- Added: Check errors with
RegExp
- Updated: Throw existing error
- Updated: Run
aftereven if test fails
- Added: Expected
erroroption - Added:
aftercommand to run option
- Added: Support
plugins#processwith separate arguments
- Added: Initial version