xUnit style testing.
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
Implement TestCase.assertEqual().
TestCase.assertEqual()
Currently only handles JavaScript primitives.
Issue #172.
␄
Tests for TestCase being abstract and class cleanups.
TestCase
Bump version numbers.
Move static public field to the correct location in TestCase.
Issue #173.
Make sure that class cleanup functions get a proper this.
Implement TestCase.assertRaises().
TestCase.assertRaises()
Add test for instantiating TestCase directly.
Minor JSDoc tweak.
Implement TestResult.wasSuccessful().
TestResult.wasSuccessful()
Give the IIFE a local name.
This makes no difference in reality, it only exists to make eslint happy. But it reads better than using base.
Issue #167.
Remove stale comment.
The TestRunner class calls doClassCleanup() with exception handling.
TestRunner
JSDoc: Correct signature for function parameter.
Need to use the function(): Foo to indicate an actual class of type Foo, not an instance of Foo.
function(): Foo
Foo
Create hierarchy of exceptions for use inside of TestCase.
If these exceptions escape the test framework, they will at least have TestCase in the name.
Instantiate the TestCase and execute the method for each one.
Add skip and fail methods to TestCase.
Extract test methods and queue them up for execution.
顯示所有腳本版本