Skip to content

Instantly share code, notes, and snippets.

@ignacy
Created April 6, 2011 17:38
Show Gist options
  • Select an option

  • Save ignacy/906109 to your computer and use it in GitHub Desktop.

Select an option

Save ignacy/906109 to your computer and use it in GitHub Desktop.
Test java code with jruby
import org.example.Person
class PersonTests < Test::Unit::TestCase
def setup
@person = Person.new("Jan", "Kowalski")
end
def test_person_getter_although_we_shouldnt
assert_match /Kowalski/, @person.getSurname
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment