Sha256: 56f104d9f610e0ebd9c8e98330b352f9cdc807adc0345eaaa244bb704681149f
Contents?: true
Size: 700 Bytes
Versions: 4
Compression:
Stored size: 700 Bytes
Contents
# This file is a behavioral specification for the design under test. <% case aOutputInfo.specFormat when :xUnit %> class <%= aOutputInfo.specClassName %> < Test::Unit::TestCase def setup <%= aOutputInfo.designClassName %>.reset! end <% aModuleInfo.ports.each do |port| %> def test_<%= port.name %> end <% end %> end <% when :rSpec %> context "A new <%= aOutputInfo.designClassName %>" do setup do <%= aOutputInfo.designClassName %>.reset! end specify "should ..." do # <%= aOutputInfo.designClassName %>.should ... end end <% else %> class <%= aOutputInfo.specClassName %> def initialize <%= aOutputInfo.designClassName %>.reset! end end <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ruby-vpi-11.0.0 | bin/generate_test_tpl/spec.rb |
ruby-vpi-10.0.0 | bin/generate_test_tpl/spec.rb |
ruby-vpi-11.1.1 | bin/generate_test_tpl/spec.rb |
ruby-vpi-11.1.0 | bin/generate_test_tpl/spec.rb |