Sha256: dade8d2962fd0e24a82925c5cce65d781cc9a67283042fa2c36141e345f30bd7

Contents?: true

Size: 439 Bytes

Versions: 38

Compression:

Stored size: 439 Bytes

Contents

require 'rubygems'
require 'minitest/autorun'
require 'focus'

class TestFocus < MiniTest::Unit::TestCase
  def setup
    @x = 1
  end

  def teardown
    assert_equal 2, @x
  end

  def test_focus
    @x += 1
  end

  def test_ignore1
    flunk "ignore me!"
  end

  def test_ignore2
    flunk "ignore me!"
  end

  def test_ignore3
    flunk "ignore me!"
  end

  def test_focus2
    @x += 1
  end

  focus :test_focus, :test_focus2
end

Version data entries

38 entries across 38 versions & 6 rubygems

Version Path
ZenTest-4.4.2 test/test_focus.rb
ZenTest-4.4.1 test/test_focus.rb
vim-jar-0.0.3 bundler/ruby/1.8/gems/ZenTest-4.4.0/test/test_focus.rb
vim-jar-0.0.2 bundler/ruby/1.8/gems/ZenTest-4.4.0/test/test_focus.rb
vim-jar-0.0.1 bundler/ruby/1.8/gems/ZenTest-4.4.0/test/test_focus.rb
ZenTest-4.4.0 test/test_focus.rb
ZenTest-4.3.3 test/test_focus.rb
ZenTest-4.3.2 test/test_focus.rb
ZenTest-4.3.1 test/test_focus.rb
ZenTest-4.3.0 test/test_focus.rb
ZenTest-4.2.1 test/test_focus.rb
ZenTest-4.2.0 test/test_focus.rb
ZenTest-4.0.0 test/test_focus.rb
ZenTest-4.1.0 test/test_focus.rb
ZenTest-4.1.1 test/test_focus.rb
ZenTest-4.1.2 test/test_focus.rb
ZenTest-4.1.3 test/test_focus.rb
ZenTest-4.1.4 test/test_focus.rb