3 ms·
That IBM article was really informative; thanks for the recommendation! I'm going to have to run without a unit testing framework, as (to my knowledge) the pla
by dlytle 18y ago
That IBM article was really informative; thanks for the recommendation! I'm going to have to run without a unit testing framework, as (to my knowledge) the platform I'm using doesn't support it. Doesn't seem like one is required, though. I'll pick up a unit testing book and start reading.
- stcredzero 18y agoOne thing about a lot of Unit Test frameworks, is that there's hardly anything to them! SUnit, which is literally the granddaddy of a lot of the unit test frameworks basically consists of: - two exception handlers - a superclass that you can subclass to have a place to park your test code - a reflective thingy that looks on those test classes for methods that start with "test" and executes them. The above was probably less than 40 lines of code. If you're competent, you should be able to roll your own.
- elviejo 18y agoCheck the book Test Driven Development by Example (Kent Beck) the second part of the book walks you on to How to build your own testing framework. Good read