Skip to content

Instantly share code, notes, and snippets.

@groves
Created August 29, 2009 22:10
Show Gist options
  • Save groves/177698 to your computer and use it in GitHub Desktop.
Save groves/177698 to your computer and use it in GitHub Desktop.

Revisions

  1. groves created this gist Aug 29, 2009.
    8 changes: 8 additions & 0 deletions gistfile1.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    from junit.framework import TestCase

    from clamp import Clamp, java, jvoid

    class TestJUnit(Clamp, TestCase):
    @java(jvoid)
    def testAddition(self):
    self.assertEquals(4, 1 + 3)
    4 changes: 4 additions & 0 deletions gistfile2.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    integrationtest:
    [exec] Compiling 1 proxies to /Users/groves/dev/clamp/build/integration-classes
    [junit] Testsuite: clampjunit.TestJUnit
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.007 sec