我正在研究CFML的MxUnit测试框架.在其中,我想检查函数的返回值是否是有效的JSON.目前我正在使用:
assertEquals(True,IsJSON(userEventItems),'The return must be json');
是否有任何MXUnit函数来检查断言是否是JSON,就像assertIsQuery()在MXUnit中一样?
assertIsQuery()
testing coldfusion json testcase mxunit
coldfusion ×1
json ×1
mxunit ×1
testcase ×1
testing ×1