All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
See ROADMAP.
- Dom builders provide access to jsdom for low-level manipulation. For example
WindowBuilder.getJsdom()
. - Spy objects: Visitor and CallsCounter. Factory methods in AbstractUnitTestCase:
.createVisitor()
,.createCallsCounter()
.
- export jsdom Window to runtime: now window not instance of Window =(
Window.onhashchange
event now triggered by set value towindow.location.hash
.
- AbstractDomTestCase -> AbstractDomTestCase
- Method
AbstractDomTestCase.getLocationBuilder(): LocationBuilder
: for window.location testing. - Method
AbstractDomTestCase.getWindowBuilder(): LocationBuilder
: for window.location testing.
- Unify Dom Builders interfaces.
- AbstractDocumentTestCase method
getFakeDocumentBuilder()
->getDocumentBuilder()
- DocumentEventBuilder (DomEventBuilder): use constructors instead.
- Window and Document stubbed with jsdom now instances of Window and Document.
- More built-in Dom interfaces supported by TypeScript and jsdom now can be checked with
instanceof
.
- Preparing suite import paths (Windows slash escaping).
error TS1125: Hexadecimal digit expected
bug: escaping in suite map item paths.
- AbstractUnitTestCase.expectedException() method.
- assertions show expected value in message on fails.
- some messages in DomAssert.
- use 6 version for node typings.
- npm script coverage call pretest now.
- assertNotSame
- Coverage with [remap-]istanbul: use npm run coverage.
- Codecov integration
- Change scripts in package.json.
- Add prepublish task for compile bin file.
--debug
run option (log4js integration) on suite building and running.
- Workflow was changed, see README for actual info.
- Base class TestUnit -> AbstractUnitTestCase
- DocumentTestCase -> AbstractDocumentTestCase
- Use class imports and modules instead references and namespaces.
- Change logic of test suite launcher building.
- Use npm @types instead typings tool.
- Upgrade to typescript 2.0
- Refactoring in all internal classes.
- assertInstanceOf(): tested with abstract and non TS classes. TS interfaces can not be handled by language design =(
- All assertions now accept optional message and get correct description on fail.
- All DocumentTestCase attribute and class assertions accept Element instead HTMLElement, according DomAssert API.
- DocumentEventBuilder
- DocumentTestCase assertions: assertElementHasClass, assertElementNotHasClass, assertElementsCount
- DocumentBuilder.setContentFromFile()
- WindowBuilder.setLocation(), with optional loading
- WindowBuilder.setSource()
- static method WindowBuilder.createFromUrl
- static DocumentBuilder.createFromUrl -> public DocumentBuilder.setContentFromUrl()
- Use native querySelectors method instead jQuery.
- Type hinting in DOM assertions based on selectors: accept NodeSelector.
- Missed msg argument in DocumentTestCase assertions.
- DocumentTestCase for DOM testing.
- Window and Document Fake Builders (jsdom).
- TestCase.setUpBeforeClass()
- TestCase.tearDownAfterClass()
- Build to js - this feature not used.
- Summary info:
- show vendor and lib name
- total number of tests
- total number of assertions
- number of Passed, Failed and Error tests
- names of failed assertions with reason: test case name and message
- names of test with errors with reasons (catches error)
- total time of execution
- Mock Builder (based on JSMockito): for mock TS classes.
- assertContains for strings and arrays.
- Super class for library exceptions extended from build-in
Error
.
- Bump version in this patch for ping npmjs.com registry.
- assertNull
- assertNotNull
- assertSame
- assertEquals
- optional custom message on fail for all asserts in last argument
- Road map with features list.
- Add exclusion for tests/tsconfig.json
- Update README with fix npm behavior with .gitignore.
- Use tslint and fix CS.
- Assets with bootsrap files.
- References to links library sources from client code.
- Support optional CLI arguments in bootstrap for run specified tests: node test.js
- Name of Map in Launch Builder.
- New assertions: true, false, undefined
- Publish bin/launch-builder to npm package
- This Changelog