Testing
Manages execution of tests for Carbon.
Methods
unknown public Testing:GetResults()
Returns table
Aggregates and returns the overall results for the tests that have been run.
unknown public Testing:Prerequisite(Test test
)
Returns void
- required
test
: The test to mark.
Marks that a given test is a prerequisite of this test. Should only be used within tests.
unknown public Testing:Requires(any module
)
Returns void
- required
module
: The module to test before this one.
Denotes that this module will not test correcly if another module failed any tests.
unknown public Testing:RunAllTests()
Returns void
Runs all the tests.
unknown public Testing:RunTest(Test test
)
Returns void
- required
test
: The test to run.
Runs a test if it has not been run already.
unknown public Testing:RunTestList(table test
)
Returns void
- required
test
: The test container to run.
Runs a list or dictionary full of tests.
unknown public Testing:TestFor(any module, Test test
)
Returns void
- required
module
: The module to associate a test wtith. - required
test
: The test to associate with this module.
Associates a test as necessary to prove functionality of a module.
Properties
[none]