포럼
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
테스트 중독...
2011.02.23 11:08
<!DOCTYPE html>
<html>
<head>
<title>QUnit Test Suite</title>
<link rel="stylesheet" href="http://github.com/jquery/qunit/raw/master/qunit/qunit.css" type="text/css" media="screen">
<script type="text/javascript" src="http://github.com/jquery/qunit/raw/master/qunit/qunit.js"></script>
<?php /* <script type="text/javascript" src="myProject.js"></script> */?>
<script type="text/javascript">
test('array test', function() {
var fixture = [];
ok(fixture.length === 0, 'initialized array`s length must be 0');
fixture.push('1');
ok(fixture.length === 1, 'push then length + 1');
ok('1' !== 1, 'character 1 not equal number 1');
});
</script>
</head>
<body>
<h1 id="qunit-header">QUnit Test Suite</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
</body>
</html>
jsUnit 보다 좋은거 같네요 qUnit.. 근데 왜 js가지고 이러지 난..
jsUnit 보다 좋은거 같네요 qUnit.. 근데 왜 js가지고 이러지 난..