require "optparse_plus/test/base_integration_test" class TestSomething < OptparsePlus::BaseIntegrationTest def test_truth stdout,stderr,results = run_app("<%= gemname %>","--help") assert_banner(stdout, "<%= gemname %>", takes_options: true, takes_arguments: false) assert_option(stdout,"-h", "--help") assert_option(stdout,"--version") assert_oneline_summary(stdout) end end