Page Contents

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

3.2.0 (2020-06-30)

Features

  • testlab: add transform option for sandbox copyFile (f5565fb)

3.1.8 (2020-06-23)

Bug Fixes

  • set node version to >=10.16 to support events.once (e39da1c)

3.1.7 (2020-06-11)

Note: Version bump only for package @loopback/testlab

3.1.6 (2020-05-28)

Note: Version bump only for package @loopback/testlab

3.1.5 (2020-05-20)

Note: Version bump only for package @loopback/testlab

3.1.4 (2020-05-19)

Note: Version bump only for package @loopback/testlab

3.1.3 (2020-05-07)

Note: Version bump only for package @loopback/testlab

3.1.2 (2020-04-29)

Note: Version bump only for package @loopback/testlab

3.1.1 (2020-04-23)

Note: Version bump only for package @loopback/testlab

3.1.0 (2020-04-22)

Features

  • update package.json and .travis.yml for builds (cb2b8e6)

3.0.1 (2020-04-11)

Note: Version bump only for package @loopback/testlab

3.0.0 (2020-04-08)

Features

  • testlab: introduce TestSandboxOptions to control sanbox creation (d03ec89)

BREAKING CHANGES

  • testlab: The TestSandbox constructor changes its signature and behavior now. It used to take a path as the top-level directory of the sandbox. The new style is illustrated below.
// Create a sandbox as a unique temporary subdirectory under the rootPath
const sandbox = new TestSandbox(rootPath);
const sandbox = new TestSandbox({subdir: true});

// Create a sandbox in the root path directly
// This is same as the old behavior
const sandbox = new TestSandbox(rootPath, {subdir: false});
const sandbox = new TestSandbox(rootPath, {subdir: '.'});

// Create a sandbox in the `test1` subdirectory of the root path
const sandbox = new TestSandbox(rootPath, {subdir: 'test1'});

2.0.2 (2020-03-24)

Bug Fixes

2.0.1 (2020-03-17)

Note: Version bump only for package @loopback/testlab

2.0.0 (2020-03-05)

Bug Fixes

  • cli: extract messages for generators (2f572bd)

chore

  • remove support for Node.js v8.x (4281d9d)

Features

  • testlab: remove legacy API itSkippedOnTravis (e162c8c)
  • add tslib as dependency (a6e0b4c), closes #4676

BREAKING CHANGES

  • testlab: The helper itSkippedOnTravis is no longer available, please change your tests to use skipOnTravis instead.
- itSkippedOnTravis('supports IPv6', () => {
+ skipOnTravis(it, 'supports IPv6', () => {

Signed-off-by: Miroslav Bajtoš mbajtoss@gmail.com

  • Node.js v8.x is now end of life. Please upgrade to version 10 and above. See https://nodejs.org/en/about/releases.

1.10.3 (2020-02-05)

Note: Version bump only for package @loopback/testlab

1.10.2 (2020-01-27)

Note: Version bump only for package @loopback/testlab

1.10.1 (2020-01-07)

Note: Version bump only for package @loopback/testlab

1.10.0 (2019-12-09)

Features

  • testlab: allow an optional agent argument for http/https get requests (d67384b)

1.9.5 (2019-11-25)

Note: Version bump only for package @loopback/testlab

1.9.4 (2019-11-12)

Note: Version bump only for package @loopback/testlab

1.9.3 (2019-10-24)

Note: Version bump only for package @loopback/testlab

1.9.2 (2019-10-07)

Note: Version bump only for package @loopback/testlab

1.9.1 (2019-09-28)

Note: Version bump only for package @loopback/testlab

1.9.0 (2019-09-27)

Features

  • implement TestSandbox.writeTextFile (59ca3a0)

1.8.1 (2019-09-17)

Note: Version bump only for package @loopback/testlab

1.8.0 (2019-09-06)

Features

  • testlab: add TestLab.writeJsonFile (baa993b)

1.7.5 (2019-09-03)

Bug Fixes

  • make givenHttpServerConfig typing compatible with TypeScript 3.6 (1edbc0b)

1.7.4 (2019-08-19)

Note: Version bump only for package @loopback/testlab

1.7.3 (2019-08-15)

Note: Version bump only for package @loopback/testlab

1.7.2 (2019-07-31)

Note: Version bump only for package @loopback/testlab

1.7.1 (2019-07-26)

Note: Version bump only for package @loopback/testlab

1.7.0 (2019-07-17)

Features

  • testlab: improve typings for toJSON() helper (a64e860)

1.6.3 (2019-06-28)

Note: Version bump only for package @loopback/testlab

1.6.2 (2019-06-21)

Note: Version bump only for package @loopback/testlab

1.6.1 (2019-06-20)

Note: Version bump only for package @loopback/testlab

1.6.0 (2019-06-17)

Features

  • testlab: add skipIf helper (48f3703)

1.5.0 (2019-06-06)

Features

  • testlab: add generic helper skipOnTravis (3221d9f)

1.4.0 (2019-06-03)

Features

  • replace tslint with eslint (44185a7)

1.3.0 (2019-05-31)

Features

  • testlab: rework itSkippedOnTravis to support Jest framework (c7e14ca)

1.2.11 (2019-05-30)

Note: Version bump only for package @loopback/testlab

1.2.10 (2019-05-23)

Note: Version bump only for package @loopback/testlab

1.2.9 (2019-05-14)

Note: Version bump only for package @loopback/testlab

1.2.8 (2019-05-10)

Note: Version bump only for package @loopback/testlab

1.2.7 (2019-05-09)

Note: Version bump only for package @loopback/testlab

1.2.6 (2019-05-06)

Note: Version bump only for package @loopback/testlab

1.2.5 (2019-04-20)

Note: Version bump only for package @loopback/testlab

1.2.4 (2019-04-11)

Note: Version bump only for package @loopback/testlab

1.2.3 (2019-04-09)

Note: Version bump only for package @loopback/testlab

1.2.2 (2019-04-05)

Bug Fixes

  • rest: make sure basePath is included in RestServer.url (705bce4)

1.2.1 (2019-03-22)

Bug Fixes

  • testlab: make sure fixtures is included in npm package (6edfa9d)

1.2.0 (2019-03-22)

Features

  • testlab: add dummy HTTPS config (a32c885)

1.1.0 (2019-03-12)

Features

  • testlab: always use IPv4 host in HTTP server config (3d487b2)

1.0.7 (2019-02-25)

Note: Version bump only for package @loopback/testlab

1.0.6 (2019-02-08)

Note: Version bump only for package @loopback/testlab

1.0.5 (2019-01-28)

Note: Version bump only for package @loopback/testlab

1.0.4 (2019-01-14)

Bug Fixes

  • rework tslint comments disabling “no-unused-variable” rule (a18a3d7)
  • testlab: add api docs during build (5b5018d)

1.0.3 (2018-12-20)

Note: Version bump only for package @loopback/testlab

1.0.2 (2018-12-13)

Bug Fixes

  • rest: parse query string even when there is no rest query param (ad905a5)

1.0.1 (2018-11-08)

Note: Version bump only for package @loopback/testlab

0.15.2 (2018-10-08)

Note: Version bump only for package @loopback/testlab

0.15.1 (2018-10-05)

Note: Version bump only for package @loopback/testlab

0.15.0 (2018-10-03)

Features

  • testlab: add StubbedInstanceWithSinonAccessor (1dc2304)

0.14.1 (2018-09-27)

Note: Version bump only for package @loopback/testlab

0.14.0 (2018-09-25)

Features

  • testlab: add a new helper deserializedFromJson (8d105e4)

0.13.0 (2018-09-21)

Features

  • testlab: add createRestAppClient(), simplify usage in tests (d75be77)
  • testlab: set port to 0 in givenHttpServerConfig (90a0bfb)

0.12.2 (2018-09-12)

Note: Version bump only for package @loopback/testlab

0.12.1 (2018-09-10)

Note: Version bump only for package @loopback/testlab

0.12.0 (2018-09-08)

Features

  • testlab: expose “sandbox.path” property (1445ebd)

0.11.5 (2018-08-24)

Note: Version bump only for package @loopback/testlab

0.11.4 (2018-08-15)

Note: Version bump only for package @loopback/testlab

0.11.3 (2018-08-08)

Note: Version bump only for package @loopback/testlab

0.11.2 (2018-07-21)

Note: Version bump only for package @loopback/testlab

0.11.1 (2018-07-20)

Note: Version bump only for package @loopback/testlab

0.11.0 (2018-07-20)

Note: Version bump only for package @loopback/testlab

0.10.11 (2018-07-10)

Note: Version bump only for package @loopback/testlab

0.10.10 (2018-06-28)

Note: Version bump only for package @loopback/testlab

0.10.9 (2018-06-27)

Note: Version bump only for package @loopback/testlab

0.10.8 (2018-06-20)

Bug Fixes

  • testlab: decache files in TestSandbox when resetting it (7878ae6)

0.10.7 (2018-06-09)

Note: Version bump only for package @loopback/testlab

0.10.6 (2018-06-09)

Note: Version bump only for package @loopback/testlab

0.10.5 (2018-06-08)

Bug Fixes

  • fill out missing brackets in testlab readme (5383f54)

0.10.4 (2018-05-20)

Note: Version bump only for package @loopback/testlab

0.10.3 (2018-05-14)

Bug Fixes

  • change index.d.ts files to point to dist8 (42ca42d)

0.10.2 (2018-05-14)

Note: Version bump only for package @loopback/testlab

0.10.1 (2018-05-08)

Note: Version bump only for package @loopback/testlab

0.10.0 (2018-05-03)

Features

  • add helper package “dist-util” (532f153)

0.9.0 (2018-05-03)

Features

  • add helper package “dist-util” (532f153)

0.8.0 (2018-04-25)

Bug Fixes

  • fix lint error from prettier 1.12.1 (63c2f37)

Features

  • build: add an option to copy non ts files to outDir (49b9a82)

0.7.0 (2018-04-16)

Note: Version bump only for package @loopback/testlab

0.6.0 (2018-04-11)

Features

  • testlab: update sourceMappingURL when copying a JS file (aac2781)

0.5.4 (2018-04-11)

Bug Fixes

  • change file names to fit advocated naming convention (0331df8)

0.5.3 (2018-04-06)

Note: Version bump only for package @loopback/testlab

0.5.2 (2018-04-04)

Note: Version bump only for package @loopback/testlab

0.5.1 (2018-04-02)

Note: Version bump only for package @loopback/testlab

0.5.0 (2018-03-29)

Note: Version bump only for package @loopback/testlab

0.4.1 (2018-03-23)

Note: Version bump only for package @loopback/testlab

0.4.0 (2018-03-21)

Bug Fixes

  • testlab: fix throw() and rejectedWith() types (8ad9f66)

0.3.3 (2018-03-14)

Note: Version bump only for package @loopback/testlab

0.3.2 (2018-03-13)

Note: Version bump only for package @loopback/testlab

0.3.1 (2018-03-08)

Note: Version bump only for package @loopback/testlab

0.3.0 (2018-03-06)

Bug Fixes

Features

  • upgrade from swagger 2 to openapi 3 (71e5af1)

0.2.0 (2018-03-01)

Note: Version bump only for package @loopback/testlab

0.1.2 (2018-03-01)

Note: Version bump only for package @loopback/testlab

0.1.1 (2018-02-23)

Bug Fixes

0.1.0 (2018-02-21)

Note: Version bump only for package @loopback/testlab

4.0.0-alpha.24 (2018-02-07)

Bug Fixes

  • build: fix tslint config and slipped violations (22f8e05)

build

BREAKING CHANGES

  • Support for Node.js version lower than 8.0 has been dropped. Please upgrade to the latest Node.js 8.x LTS version.

Co-Authored-by: Taranveer Virk taranveer@virk.cc

4.0.0-alpha.23 (2018-02-04)

Note: Version bump only for package @loopback/testlab

4.0.0-alpha.22 (2018-01-30)

Note: Version bump only for package @loopback/testlab

4.0.0-alpha.21 (2018-01-29)

Note: Version bump only for package @loopback/testlab

4.0.0-alpha.20 (2018-01-26)

Bug Fixes

  • testlab: switch to fs-extra instead of using fs (#905) (06cdaaf)
  • apply source-maps to test errors (76a7f56), closes #602
  • make mocha self-contained with the source map support (7c6d869)

Features

  • testlab: create a test sandbox utility (#877) (9526ba3)

4.0.0-alpha.19 (2018-01-19)

Note: Version bump only for package @loopback/testlab

4.0.0-alpha.18 (2018-01-11)

Note: Version bump only for package @loopback/testlab

4.0.0-alpha.17 (2017-12-21)

Note: Version bump only for package @loopback/testlab

4.0.0-alpha.16 (2017-12-11)

Note: Version bump only for package @loopback/testlab

4.0.0-alpha.15 (2017-11-29)

Note: Version bump only for package @loopback/testlab

4.0.0-alpha.14 (2017-11-09)

Note: Version bump only for package @loopback/testlab

4.0.0-alpha.13 (2017-11-06)

Note: Version bump only for package @loopback/testlab

4.0.0-alpha.12 (2017-10-31)

Note: Version bump only for package @loopback/testlab

4.0.0-alpha.11 (2017-10-31)

Note: Version bump only for package @loopback/testlab

4.0.0-alpha.10 (2017-10-25)

Bug Fixes

  • testlab: Remove sinon-should integration (8841fce)