Expand my Community achievements bar.

how do I perform Unit Testing on Assembler Class using junit

Avatar

Former Community Member
Hello

Friends



I am using the life cycle data services and I am working on the test driven development methodology, for that I want to test my Assembler classes that extends AbstractAssember. I am not having any knowledge of how to perform the unit testing on the same.

Please Help me.



Thanks and Regards

Nitin Kalaskar.
2 Replies

Avatar

Former Community Member
Nitin,



I would suggest writing a unit test for each of the assembler methods that

you have coded.



For instance, you could pass various arguments (good and bad) to the fill()

method and verify the correct results (or errors) are returned. This would

be a straightforward way of testing.



--

Tom Jordahl

Adobe