devtools/test/data/js_examples/test_simple_success.js
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 17 Jan 2012 14:05:04 +0100
branchstable
changeset 8168 707466abe9cc
parent 5742 74c19dac29cf
child 10426 ce213d6858f1
permissions -rw-r--r--
[book] add doc about request, session and connection management you need to know when writing tests

$(document).ready(function() {

  module("air");

  test("test 1", function() {
      equals(2, 2);
  });

  test("test 2", function() {
      equals('45', '45');
  });

  module("able");
  test("test 3", function() {
      same(1, 1);
  });
});