Is there any test framework for assembly? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more开发者_如何学运维. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this questionguys, I want to know is there any test framework for assembly?
I searched, but seems no relevant topic.
or, I should write my own test case in own code? just like:
http://pastebin.mozilla.org/1093688
thanks!
You can use one of the C unit test libraries/frameworks, since calling public symbols written directly in assembly is possible. Writing unit tests in assembly, to keep the same language, could be a cumbersome task, and in the end you're interested more about the output/behavior of the tested function.
精彩评论