MagiMaster

Results 17 issues of MagiMaster

Use loadmodule to have TestEZ manage the require cache for the tests it's running. This is doesn't do much on its own, but is needed for the monkey patching changes...

`describe.each` lets you pass in a table to parameterize any tests inside that describe block. Their example: ``` describe.each([ [1, 1, 2], [1, 2, 3], [2, 1, 3], ])('.add(%i, %i)',...

enhancement

Remove the special environment from TestRunner and integrate it with the environment stored in each test node. This also means refactoring how fail() works.

With recent changes, describe blocks with identical phrases are now treated as separate nodes whereas previously, they would be merged into one node (IIRC). Autogenerated nodes from the path are...

enhancement

One case we want to support for TestEZ is allowing configuration to be done per test suite. init.spec.lua was added to provide a place to run such configuration code. But...

enhancement

Things in extraEnvironment are injected into the globals table for all tests; however, that creates many awkward issues. For example, a test written to expect a certain global can't then...

enhancement