Sha256: fc005181bcb846124712205bb01583692d1d79df639769ac2f04e8175c635e56

Contents?: true

Size: 865 Bytes

Versions: 113

Compression:

Stored size: 865 Bytes

Contents



What do we do to get people writing tests?
What do we do to get people writing tests first?

I didn't know it's name, but apparently it's the Lettuce Principal,
(see http://blog.toolshed.com/2003/03/the_lettuce_pri.html).

	We NEED to make testing as easy as possible to get them testing.















Class Under Test			Test Class
######################################################################

module Something			module TestSomething
  class Thingy				  class TestThingy
    def do_something			    def test_do_something_normal
      # ...				      thingy = Thingy.new
    end					      result = thingy.do_something
  end					      assert(result.blahblah)
end					    end
					    def test_do_something_edgecase
					      thingy = Thingy.new
					      result = thingy.do_something
					      assert(result.blahblah)
					    end
					  end
					end

Version data entries

113 entries across 113 versions & 11 rubygems

Version Path
cloudsmith-api-2.0.15 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.2/example.txt
cloudsmith-api-2.0.14 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.2/example.txt
ZenTest-4.12.2 example.txt
cloudsmith-api-2.0.13 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/example.txt
cloudsmith-api-2.0.12 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/example.txt
cloudsmith-api-2.0.11 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/example.txt
cloudsmith-api-2.0.10 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/example.txt
cloudsmith-api-2.0.9 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/example.txt
cloudsmith-api-2.0.8 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/example.txt
cloudsmith-api-2.0.7 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/example.txt
cloudsmith-api-2.0.6 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/example.txt
cloudsmith-api-2.0.5 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/example.txt
cloudsmith-api-2.0.4 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/example.txt
cloudsmith-api-2.0.3 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/example.txt
cloudsmith-api-2.0.2 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/example.txt
cloudsmith-api-2.0.1 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/example.txt
cloudsmith-api-2.0.0 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/example.txt
cloudsmith-api-1.142.3 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/example.txt
cloudsmith-api-1.120.3 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/example.txt
cloudsmith-api-1.61.3 vendor/bundle/ruby/2.6.0/gems/ZenTest-4.12.1/example.txt