Sha256: 62ddd1d0de67f38b68e0110676731f1451d6960f8bdfe9c77aae7724cc4b8546
Contents?: true
Size: 1.68 KB
Versions: 19
Compression:
Stored size: 1.68 KB
Contents
Feature: Print I want to print a factbase Scenario: Simple print of a small factbase, to YAML Given I make a temp directory Then I run bin/judges with "--verbose eval simple.fb '$fb.insert.foo = 42'" Then I run bin/judges with "print --format=yaml simple.fb simple.yml" Then Stdout contains "printed" And Exit code is zero Scenario: Simple print of a small factbase, to JSON Given I make a temp directory Then I run bin/judges with "--verbose eval simple.fb '$fb.insert.foo = 42'" Then I run bin/judges with "print --format=json simple.fb simple.json" Then Stdout contains "printed" And Exit code is zero Scenario: Simple print of a small factbase, to XML Given I make a temp directory Then I run bin/judges with "--verbose eval simple.fb '$fb.insert.foo = 42'" Then I run bin/judges with "print --format=xml --auto simple.fb" Then Stdout contains "printed" And Exit code is zero Scenario: Simple print of a small factbase, to XML, with a query Given I make a temp directory Then I run bin/judges with "--verbose eval simple.fb '$fb.insert.foo = 42'" Then I run bin/judges with "--verbose eval simple.fb '$fb.insert.foo = 43'" Then I run bin/judges with "print '--query=(eq foo 43)' --auto simple.fb" Then Stdout contains "printed" And Exit code is zero Scenario: Print twice, without --force Given I make a temp directory Then I run bin/judges with "--verbose eval simple.fb '$fb.insert.foo = 42'" Then I run bin/judges with "print --auto simple.fb" Then Stdout contains "printed" Then I run bin/judges with "print --auto simple.fb" Then Stdout contains "No need to print" And Exit code is zero
Version data entries
19 entries across 19 versions & 1 rubygems