brstest
brstest copied to clipboard
Mark, I'm quite curious what your opinion is of the BrightScript unit testing framework which Roku released very recently as a beta at https://github.com/rokudev/unit-testing-framework.
Since AAs are stored internally as pointers, they can contain references to themselves without requiring infinite memory. However, the current method of checking equality (check each k/v pair for equality,...
allow users to create reusable assertions by calls to some global method ``` addAssertion("assertIsAwesome", function(args): ... : end function ) ``` This would populate some global associative array with methods...
Create a global method with signature `btmark(message as String)` that pushes each new message to a global stack variable. The global stack variable should be reset before running each test....
For example: If I'm using `t.assertTrue(...)` multiple times in the same test, I currently have no way of knowing which of those assertions failed. An expanded syntax of: ``` t.assertTrue(value,...
using a suffix allows the file and its related test to be listed next to each other in IDE directory listings, etc.