Skip to content

Latest commit

 

History

History
937 lines (641 loc) · 59.7 KB

File metadata and controls

937 lines (641 loc) · 59.7 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

5.15.7 - 2025-04-16

Changed

  • (chore) adopt keepachangelog format for this changelog fle moving forward
  • (chore) Migrate to Shared CI (#327)
  • (chore) Docs restructuring (#331)
  • (chore) Project restructure (#332)

Fixed

  • bug with indentation during mocha diff comparison (#334)
  • playing with creating stack traces for reporters on failed assertions #324
  • Bugfix/wrong line number for async tests #323
  • Fixed a bug where crashes in node tests would stall rooibos #322
  • Fixed a bunch of potential crashes due to prop name conflicts with native functions #319
  • Added the ability to have duplicate test names #317
  • Clean up test files #318
  • chore(deps): bump serialize-javascript and mocha in /bsc-plugin #316
  • Fix nested assertions causing compilation error when using sub _ #314
  • Remove the ropm step, devs just need to do this manually #310
  • Bugfix/only annotation not always applied correctly #308
  • promises support in tests #307
  • Feature/mocha test reporter #305
  • Task/update framework folder to match structure on device #306
  • Cleaned up formatting 852cd15
  • more indentation clean up 973d6f2
  • Fixed a bunch of potental crashes due to prop name conflicts with native functions 0b23f1f

7 February 2025

  • Upgraded to BSCv1.0.0-alpha.44 and fixed issues #312
  • Alllll places need to not use local... double duh e54c95d
  • Dont use local brighterscript, duh 765fe82
  • JSON formatting change 92566db

20 October 2024

  • update changelog for v6.0.0-alpha.41 48ba632
  • Upgrade to bsc@1.0.0-alpha.41 77c002d

20 October 2024

  • Sets default types for m.top and m.node in BaseTestSuite #301
  • upgade to bsc@1.0.0-alpha.40 f318f70
  • update changelog for v6.0.0-alpha.40 92bb27b

3 October 2024

  • Adds a CLI to Rooibos! #294
  • Adds a CLI to Rooibos (current version) #295
  • chore: release v5.14.0 e2d2a57
  • Update changelog for v6.0.0-alpha.39 38e3cbe

1 October 2024

  • Upgade to brighterscript@1.0.0-alpha.38 #299
  • Allow 5000ms for code coverage test #293
  • A few updates to simplify config #292
  • Upgrading to Brighterscript v1 #289
  • upgrade changelog for v6.0.0-alpha.38 9ac4db8

4 March 2025

  • Fixed a bug where crashes in node tests would stall rooibos #322
  • chore: release v5.15.5 30e5ec4

26 February 2025

  • Fixed a bunch of potential crashes due to prop name conflicts with native functions #319
  • Fixed a bunch of potental crashes due to prop name conflicts with native functions 0b23f1f
  • chore: release v5.15.4 023a363

24 February 2025

  • Added the ability to have duplicate test names #317
  • Clean up test files #318
  • chore(deps): bump serialize-javascript and mocha in /bsc-plugin #316
  • Cleaned up formatting 852cd15
  • more indentation clean up 973d6f2
  • File path standardization for test hashing e239045

17 February 2025

  • Fix nested assertions causing compilation error when using sub _ #314
  • Update unit test to account for this 8c4d819
  • chore: release v5.15.2 6de914b
  • Fix lint error d55d1ee

31 January 2025

  • Remove the ropm step, devs just need to do this manually #310
  • chore: release v5.15.1 1655c55

28 January 2025

  • Bugfix/only annotation not always applied correctly #308
  • promises support in tests #307
  • Feature/mocha test reporter #305
  • Task/update framework folder to match structure on device #306
  • chore: release v5.15.0 397403f

3 October 2024

  • Adds a CLI to Rooibos (current version) #295
  • chore: release v5.14.0 e2d2a57

12 September 2024

  • chore(deps): bump luxon from 1.28.0 to 1.28.1 #210
  • Fixed a bug where scope validations where incomplete for node tests #280
  • Changes for the migration of this repo to RokuCommunity org #286
  • Use an AA to index test suites #287
  • Bugfix/general fixes #284
  • addresses regression that prevents stubCall allowing non-function return values #283
  • Updated to node 16.20.2 #285
  • Allow custom test reporter #265
  • Fixed logs sometimes getting cut off at the end of running tests #279
  • Adjust implementation to fit with new proposal 599e6ce
  • chore: release v5.13.0 6c56e29
  • Switch reporter API to conform to new spec proposal, add onBegin and onEnd 54aa936

10 March 2024

  • Fixed assertAsyncField params #278
  • Fixed async tests sometimes waiting the full timeout even though the … #276
  • Lcov fixes #274
  • Fix SGNode test generation #270
  • Fixed duplicate cur line injections #267
  • chore: release v5.12.0 b47c88e
  • Merge pull request #273 from georgejecook/faster-applcation-closing 9471f48
  • Fixed failed tests and upgraded brighterscript ffdc3ca

1 February 2024

  • Code cov perf and bug fix in if statements #264
  • Added an api to fail tests with an exception #263
  • Reduce raw code statements #260
  • Updated annotations to be order agnostic #262
  • Feature/runtime global function mocking #259
  • Small formatter pass and code change to be formatter frendly #252
  • Updated default global excluded files #251
  • Updated annotations to be order agnositic 3d24579
  • chore: release v5.11.0 a360bd8

7 January 2024

  • Fix Rooibos_init injection causing duplicate calls #247
  • Fix some sourcemap transpile issues #249
  • Added a config value to crash when a assert fails #248
  • chore: release v5.10.0 cfad0f5

5 January 2024

  • Update FileFactory.ts to move status labels down for better visibility #245
  • chore: release v5.9.1 f322b9a

4 January 2024

25 October 2023

  • WIP: adds support for expecting on global functions and namespace functions #241
  • added docs about rendezvous tracking config flag #242
  • fix spelling #239
  • fixes docs issue #238
  • fixes error that prevented namespaces being correctly resolved 9dcfa58
  • chore: release v5.8.0 e74d87f

23 July 2023

  • feat(core): add support for declaring tests as functions. Resolves #235 #236
  • Proposed fix for anonymous callback crash #234
  • feat(core): add support for declaring tests as functions. Resolves #235 (#236) #235
  • chore: release v5.7.0 be83282

22 June 2023

  • fix: fixes crash when merging groups in a node test #233
  • chore: release v5.6.2 c7d900d

7 June 2023

  • Fix coverage files import #232
  • chore: release v5.6.1 58cef81

1 June 2023

  • Adds release-it-stuff #231
  • docs: adds documentation for code coverage #230
  • Fix code coverage #209
  • chore: release v5.6.0 64ccfcb

30 May 2023

  • fix(runner): addresses crash on tests-scene #229
  • Release 5.5.3 7afe7bf

12 May 2023

11 May 2023

6 May 2023

  • Feat/async testing #223
  • [FLAG] Adds keepAppOpen flag #212
  • Fix build badge and fix readme formatting #218
  • Fix CI by NOT excluding package-lock #219
  • Fix formatting b8bd259
  • bump 5d92599
  • Remove brackets from bare links 52337f1

21 February 2023

  • Fix/dont iteate m or top, dont loop too many times #216

21 February 2023

21 February 2023

26 January 2023

  • Renames global timer var for uniqueness #211
  • bump 445521b

23 December 2022

  • Fix/add mc node support #208

22 December 2022

  • fixes issue with creating main.brs file that would cause the entire project to go south #207
  • bump 567940c
  • bump to bsc 0.61.2 f0af100

21 December 2022

21 December 2022

  • support otherFake with expectedInvocations>1 #199
  • Fix windows builds #205
  • bump 058cb6f
  • bump node version and CI OS versions 13eb19b

8 November 2022

4 November 2022

26 September 2022

  • Make "undent" a prod dependency #186

15 June 2022

  • fix(asserts): fixes logic error in assertclass #179
  • bump f47052f

13 June 2022

8 June 2022

8 June 2022

  • fix(stubs): do not update non-mockable objects, needlessly #177
  • bump e297fc9

7 June 2022

  • feature(stubs): rooibos will now automtically convert any object that requires stubbing into a stubbable object #176

25 May 2022

  • fix(core): uses lifecycle hooks correctly, so as to not transpile files before enums and other bsc plugin tasks have occurred #175
  • bump 3e23360
  • bump 1d3b0a8

24 May 2022

24 May 2022

  • fix(core): fixes incorrect class name equality checks #172

23 May 2022

  • fix(asserts): improves like,and imrpoves output for types, across the board #171
  • Use AstEditor for all transpile modifications #159
  • bump 2384504
  • bump 0707ec8
  • bump 6367ded

9 May 2022

9 May 2022

  • Feat/update to bsc 0.49.0 #167

9 May 2022

  • adds expectLastCallToThrowError so we can throw errors from fakes #166
  • Quality of life fixes #162
  • bump b04ee37

2 April 2022

  • Feature/accept expect once with function param #157
  • adds callfunc once method #156
  • Update slack link #155

26 February 2022

26 February 2022

  • chore: update to bsc 0.45.3 #152
  • fix(node-tests): fixes node tests not running #147
  • bump 0c69f53
  • bump 3b54696

12 January 2022

12 January 2022

6 January 2022

  • improves stringand float comparisons and assert not invalid message #142

5 January 2022

5 January 2022

17 September 2021

30 August 2021

  • Feat/adds flag to allow skipping some fields on iterative equals #135
  • Clutch of fixes #134
  • version bump 865cccf
  • version bump 894cdf0

19 May 2021

  • chore: fix docs #132
  • remove travis #130

19 May 2021

22 April 2021

1 March 2021

  • adds scripts for easy remote/local npm switching c033761
  • compile against latest bsc 7d2c187

23 February 2021

11 February 2021

  • feat(framework-tests): Improve framework tests by making it a bsc compiled app, so that it servers of an example of how to use rooibos with bsc #114
  • first stab at moving over to ropm 81b9e8f
  • refactoring to reflect new plugin-driven pattenr 32faa19
  • adds linting and testing setup. Thanks Bronley Plumb cab1266

12 June 2020

21 May 2020

  • chore(tests): Adds node test to framework suite, and also improves the file structure to include placeholder files, so as to better conform with brighterscript compiler f23b81d
  • chore(core): bump to 3.6.1 167fab1
  • fix(TestRunner): Adds more logoutput when a node test does not complete c4277d6

21 May 2020

  • feat(assertions): adds support for async fields 28f3275
  • chore(docs): add async assert docs 6261e55
  • chore(core): bump to 3.6.0 660926b

20 May 2020

  • fix(TestRunner): Addresses issue that prevented node tests from correctly running c6aec59
  • bump to 3.5.1 a08fff6

20 May 2020

  • feat(runner): adds ability to wait on scene.isReadyToStartTests, if present before starting the tests c1b71a9
  • fix(mocks): Better handling for mock creation failures df74e3b
  • bump to 3.5.0 6246d42

10 May 2020

7 May 2020

  • feat(mocks):adds shadow methods to facilitate mock failure line number reporting d1e652c
  • chore: bounce to 3.4.2 cc2c559

5 May 2020

4 May 2020

  • Feature/option to remove test times #82
  • add option to not print test times #80
  • Regenerates package-lock.json bf210cd
  • feat(core): Adds lcov report, and moves test files to brighterscript 99b8d50
  • feat: lcov support 0cfb918

26 September 2019

  • feat: Increase mocks limit to 25 - it is now possible to create up to 25 mocks for a given test suite. #73
  • chore:adds changelog generator to dependencies 22a2530
  • fix: fixes incorrect reporting of version numbers during test run e820831
  • bounc to 3.3.0 7652747

22 September 2019

  • version bounce, remove file that should not be scm 0e60d54
  • fix: fixes incorrect reporting of version numbers during test run e3f8810
  • ignore generated dist file in sample project ff2a592

22 September 2019

  • fix: fixes regression in node tests 7b63c69
  • bounce to 3.2.1 07067e4
  • chore: add bash task to run gulp, coz vscode ide keeps opening a gulp tab c7a45ad

22 September 2019

  • feat: migrate to using brighterscript, via maestro project's compiler 391b902
  • chore: adds documentation for matchers ef79171
  • feat: adds matchers for mocks, you can now use built in anyXXXMatchers, or roll your own as function pointers, or inline functions f87609e

10 August 2019

  • fixes compatability issues with rooibos cli #68
  • adds version task to gulp file and fixes docs 815a61f
  • updates version to 3.1.1 0a11e3d
  • updates docs f2d9a1a

18 July 2019

  • Feature/check version #66
  • adds legacy support #61
  • adds checks for version 17b9d83
  • some format fixes 745af9c
  • some format fixes dba439c

23 June 2019

  • adds legacy support documentation a1fc451
  • fix borked formatting on rooibosC args table in the docs 464b9cf

4 June 2019

  • Feature/move json config #54
  • bounce to 3.0.3 3c81064
  • runtime config is now provided by rooibosC 774ade1
  • fix for box crash on asString when used on an aa with mock methods 8367146

28 May 2019

  • adds path to test suite output 73f0d17

27 May 2019

  • improves docs for code coverage f388804

25 May 2019

  • Feature/code coverage #46
  • fix #45 #45
  • Revert "remove files that should not be checked in" 9c2ece6
  • remove files that should not be checked in 3e4ecdb
  • remove folder which should not be added ba257a5

27 April 2019

  • doc update e9d7a40
  • 2.3.0 - adds ms time for each test in the test output f960e52

26 April 2019

  • 2.2.0 - adds ability to pass node scope into the test runner, for non-node tests so node-scoped functions/vars can be accessed 67527eb

26 April 2019

  • 2.1.4 adds paramter directive to allow creation of nodes 189b1be
  • minor doc update b22363d

25 April 2019

  • Feature/update to use latest rooibos c #41
  • improved docs for updated rooibos preprocessor fd48ffe
  • fix typo 0fc3fc0
  • update changelog 1e9f8f4

21 March 2019

  • Bugfix/overloaded expects collide on same method name on different objects #39
  • formats base test suite, and addresses issue of overriding mocks colliding on method name across different objects 297fcfa
  • doc update 01e4df0
  • adds additinoaly testing to ensure that there were no regressions on non-overloaded expects mixed with overloaded ones 9d0015c

21 March 2019

  • Bugfix/minor issues #35
  • adds dist to repo to make life easier c5c364b
  • fix incorrect docs on stub method 18581b8
  • doc updates 3b4e06e

21 March 2019

  • Feature/multi expect #34
  • Bugfix/documentation samples restructuring #32
  • Add multi overloads for expectOnce fac8adc
  • Bounce to 2.1.0 ee85712
  • updates travis ci and readme e849134

18 February 2019

18 May 2021

9 February 2021

  • feat(framework-tests): Improve framework tests by making it a bsc compiled app, so that it servers of an example of how to use rooibos with bsc #114
  • Chore/move to new bs compiler #106
  • Feature/option to remove test times #82
  • add option to not print test times #80
  • feat: Increase mocks limit to 25 - it is now possible to create up to 25 mocks for a given test suite. #73
  • fixes compatability issues with rooibos cli #68
  • Feature/check version #66
  • adds legacy support #61
  • Feature/move json config #54
  • Feature/code coverage #46
  • Feature/update to use latest rooibos c #41
  • Bugfix/overloaded expects collide on same method name on different objects #39
  • Bugfix/minor issues #35
  • Feature/multi expect #34
  • Bugfix/documentation samples restructuring #32
  • Rooibos 2.0.0 #26
  • fix #45 #45
  • doc update 2a562ce
  • removes rooibosPreprocessor - it now is in it's own repo 1477b1e
  • bunch of fixes for solo test and solo param filtering, introduces more stub test data to work with (mainly just looking at output right now - needs more asserts) and also better handling of params (deals with bright scripts loose json parser and invalid type, by having direct control of the suite, group and test via asText, as opposed to simply doing asJson and stringily) 26e1f09

1 October 2018

v0.0.0-packages

12 June 2024

  • Updated to node 16.20.2 #285
  • Allow custom test reporter #265
  • Fixed logs sometimes getting cut off at the end of running tests #279
  • Fixed assertAsyncField params #278
  • Fixed async tests sometimes waiting the full timeout even though the … #276
  • Lcov fixes #274
  • Fix SGNode test generation #270
  • Fixed duplicate cur line injections #267
  • Code cov perf and bug fix in if statements #264
  • Added an api to fail tests with an exception #263
  • Reduce raw code statements #260
  • Updated annotations to be order agnostic #262
  • Feature/runtime global function mocking #259
  • Small formatter pass and code change to be formatter frendly #252
  • Updated default global excluded files #251
  • Fix Rooibos_init injection causing duplicate calls #247
  • Fix some sourcemap transpile issues #249
  • Added a config value to crash when a assert fails #248
  • Update FileFactory.ts to move status labels down for better visibility #245
  • fixes failing test #246
  • Junit test reporter #243
  • Chore/doc update #244
  • WIP: adds support for expecting on global functions and namespace functions #241
  • added docs about rendezvous tracking config flag #242
  • fix spelling #239
  • fixes docs issue #238
  • feat(core): add support for declaring tests as functions. Resolves #235 #236
  • Proposed fix for anonymous callback crash #234
  • fix: fixes crash when merging groups in a node test #233
  • Fix coverage files import #232
  • Adds release-it-stuff #231
  • docs: adds documentation for code coverage #230
  • Fix code coverage #209
  • fix(runner): addresses crash on tests-scene #229
  • Feat/custom test scene #225
  • Fix/compiler issues #224
  • Feat/async testing #223
  • [FLAG] Adds keepAppOpen flag #212
  • Fix build badge and fix readme formatting #218
  • Fix CI by NOT excluding package-lock #219
  • Fix/dont iteate m or top, dont loop too many times #216
  • Fix/crash stagingdir #215
  • Renames global timer var for uniqueness #211
  • Fix/add mc node support #208
  • fixes issue with creating main.brs file that would cause the entire project to go south #207
  • support otherFake with expectedInvocations>1 #199
  • Fix windows builds #205
  • Fix - Remove "createNodefile" call duplicate #194
  • Fix/update to bsc 0.59.0 #192
  • Make "undent" a prod dependency #186
  • fix(asserts): fixes logic error in assertclass #179
  • Feat/allow pointers for assert class #178
  • fix(stubs): do not update non-mockable objects, needlessly #177
  • feature(stubs): rooibos will now automtically convert any object that requires stubbing into a stubbable object #176
  • fix(core): uses lifecycle hooks correctly, so as to not transpile files before enums and other bsc plugin tasks have occurred #175
  • Fix/fix incorrect empty message #173
  • fix(core): fixes incorrect class name equality checks #172
  • fix(asserts): improves like,and imrpoves output for types, across the board #171
  • Use AstEditor for all transpile modifications #159
  • Feat/update to bsc 0.49.0 #167
  • adds expectLastCallToThrowError so we can throw errors from fakes #166
  • Quality of life fixes #162
  • Feature/accept expect once with function param #157
  • adds callfunc once method #156
  • Update slack link #155
  • chore: update to bsc 0.45.3 #152
  • fix(node-tests): fixes node tests not running #147
  • fix: fixes equals failures #144
  • improves stringand float comparisons and assert not invalid message #142
  • Feat/add home press flag #140
  • Fix/doc improvements #139
  • Fix/doc improvements #138
  • Feat/adds flag to allow skipping some fields on iterative equals #135
  • Clutch of fixes #134
  • chore: fix docs #132
  • remove travis #130
  • chore: update docs #131
  • Beta #121
  • feat(framework-tests): Improve framework tests by making it a bsc compiled app, so that it servers of an example of how to use rooibos with bsc #114
  • Chore/move to new bs compiler #106
  • Feature/option to remove test times #82
  • add option to not print test times #80
  • feat: Increase mocks limit to 25 - it is now possible to create up to 25 mocks for a given test suite. #73
  • fixes compatability issues with rooibos cli #68
  • Feature/check version #66
  • adds legacy support #61
  • Feature/move json config #54
  • Feature/code coverage #46
  • Feature/update to use latest rooibos c #41
  • Bugfix/overloaded expects collide on same method name on different objects #39
  • Bugfix/minor issues #35
  • Feature/multi expect #34
  • Bugfix/documentation samples restructuring #32
  • Rooibos 2.0.0 #26
  • feat(core): add support for declaring tests as functions. Resolves #235 (#236) #235
  • fix #45 #45
  • fixes #5 checking for test naming collisions needs improvements with Params tests - can lead to vague error messages for params #5
  • fixes #13 aftereach not running #13
  • fixes #15 #15
  • fixes #8 Accept whitespace (carriage return) between annotations and test functions #8
    • fixes #7 - all annotations are now case insensitive #7
  • fixes #9 Typo #9
  • -remove unused api docs folder 6af014d
  • Adjust implementation to fit with new proposal 599e6ce
  • Fixed failed tests and upgraded brighterscript ffdc3ca