├── .editorconfig ├── .github ├── copilot-instructions.md └── workflows │ ├── documentation-coverage.yaml │ ├── documentation.yaml │ ├── rubocop.yaml │ ├── test-coverage.yaml │ ├── test-external.yaml │ └── test.yaml ├── .gitignore ├── .mailmap ├── .rubocop.yml ├── assets └── logo.afphoto ├── bake.rb ├── benchmark └── test.rb ├── bin ├── sus ├── sus-host ├── sus-parallel └── sus-tree ├── config ├── external.yaml └── sus.rb ├── context ├── getting-started.md ├── index.yaml ├── mocking.md ├── shared.md └── usage.md ├── fixtures ├── fixtures.rb └── sus │ └── config │ └── empty │ └── config │ └── sus.rb ├── gems.rb ├── guides ├── getting-started │ └── readme.md └── links.yaml ├── lib ├── sus.rb └── sus │ ├── assertions.rb │ ├── base.rb │ ├── be.rb │ ├── be_truthy.rb │ ├── be_within.rb │ ├── clock.rb │ ├── config.rb │ ├── context.rb │ ├── describe.rb │ ├── expect.rb │ ├── file.rb │ ├── filter.rb │ ├── fixtures.rb │ ├── have.rb │ ├── have │ ├── all.rb │ └── any.rb │ ├── have_duration.rb │ ├── identity.rb │ ├── include_context.rb │ ├── integrations.rb │ ├── it.rb │ ├── it_behaves_like.rb │ ├── let.rb │ ├── mock.rb │ ├── output.rb │ ├── output │ ├── backtrace.rb │ ├── bar.rb │ ├── buffered.rb │ ├── lines.rb │ ├── messages.rb │ ├── null.rb │ ├── progress.rb │ ├── status.rb │ ├── structured.rb │ ├── text.rb │ └── xterm.rb │ ├── raise_exception.rb │ ├── receive.rb │ ├── registry.rb │ ├── respond_to.rb │ ├── shared.rb │ ├── tree.rb │ ├── version.rb │ └── with.rb ├── license.md ├── media ├── logo.png └── logo.webp ├── readme.md ├── release.cert ├── releases.md ├── sus.gemspec └── test └── sus ├── .registry_directory ├── directory_test_file.rb └── nested_directory │ └── nested_directory_test_file.rb ├── assertions.rb ├── be.rb ├── be_within.rb ├── clock.rb ├── config.rb ├── context.rb ├── describe.rb ├── expect.rb ├── file.rb ├── have.rb ├── have_duration.rb ├── identity.rb ├── include_context.rb ├── it.rb ├── it_behaves_like.rb ├── mock.rb ├── output ├── backtrace.rb ├── buffered.rb └── status.rb ├── raise_exception.rb ├── receive.rb ├── registry.rb ├── respond_to.rb ├── version.rb └── with.rb /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/copilot-instructions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/.github/copilot-instructions.md -------------------------------------------------------------------------------- /.github/workflows/documentation-coverage.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/.github/workflows/documentation-coverage.yaml -------------------------------------------------------------------------------- /.github/workflows/documentation.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/.github/workflows/documentation.yaml -------------------------------------------------------------------------------- /.github/workflows/rubocop.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/.github/workflows/rubocop.yaml -------------------------------------------------------------------------------- /.github/workflows/test-coverage.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/.github/workflows/test-coverage.yaml -------------------------------------------------------------------------------- /.github/workflows/test-external.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/.github/workflows/test-external.yaml -------------------------------------------------------------------------------- /.github/workflows/test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/.github/workflows/test.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/.gitignore -------------------------------------------------------------------------------- /.mailmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/.mailmap -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /assets/logo.afphoto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/assets/logo.afphoto -------------------------------------------------------------------------------- /bake.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/bake.rb -------------------------------------------------------------------------------- /benchmark/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/benchmark/test.rb -------------------------------------------------------------------------------- /bin/sus: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/bin/sus -------------------------------------------------------------------------------- /bin/sus-host: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/bin/sus-host -------------------------------------------------------------------------------- /bin/sus-parallel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/bin/sus-parallel -------------------------------------------------------------------------------- /bin/sus-tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/bin/sus-tree -------------------------------------------------------------------------------- /config/external.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/config/external.yaml -------------------------------------------------------------------------------- /config/sus.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/config/sus.rb -------------------------------------------------------------------------------- /context/getting-started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/context/getting-started.md -------------------------------------------------------------------------------- /context/index.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/context/index.yaml -------------------------------------------------------------------------------- /context/mocking.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/context/mocking.md -------------------------------------------------------------------------------- /context/shared.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/context/shared.md -------------------------------------------------------------------------------- /context/usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/context/usage.md -------------------------------------------------------------------------------- /fixtures/fixtures.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/fixtures/fixtures.rb -------------------------------------------------------------------------------- /fixtures/sus/config/empty/config/sus.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/fixtures/sus/config/empty/config/sus.rb -------------------------------------------------------------------------------- /gems.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/gems.rb -------------------------------------------------------------------------------- /guides/getting-started/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/guides/getting-started/readme.md -------------------------------------------------------------------------------- /guides/links.yaml: -------------------------------------------------------------------------------- 1 | getting-started: 2 | order: 0 3 | -------------------------------------------------------------------------------- /lib/sus.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus.rb -------------------------------------------------------------------------------- /lib/sus/assertions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/assertions.rb -------------------------------------------------------------------------------- /lib/sus/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/base.rb -------------------------------------------------------------------------------- /lib/sus/be.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/be.rb -------------------------------------------------------------------------------- /lib/sus/be_truthy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/be_truthy.rb -------------------------------------------------------------------------------- /lib/sus/be_within.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/be_within.rb -------------------------------------------------------------------------------- /lib/sus/clock.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/clock.rb -------------------------------------------------------------------------------- /lib/sus/config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/config.rb -------------------------------------------------------------------------------- /lib/sus/context.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/context.rb -------------------------------------------------------------------------------- /lib/sus/describe.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/describe.rb -------------------------------------------------------------------------------- /lib/sus/expect.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/expect.rb -------------------------------------------------------------------------------- /lib/sus/file.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/file.rb -------------------------------------------------------------------------------- /lib/sus/filter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/filter.rb -------------------------------------------------------------------------------- /lib/sus/fixtures.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/fixtures.rb -------------------------------------------------------------------------------- /lib/sus/have.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/have.rb -------------------------------------------------------------------------------- /lib/sus/have/all.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/have/all.rb -------------------------------------------------------------------------------- /lib/sus/have/any.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/have/any.rb -------------------------------------------------------------------------------- /lib/sus/have_duration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/have_duration.rb -------------------------------------------------------------------------------- /lib/sus/identity.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/identity.rb -------------------------------------------------------------------------------- /lib/sus/include_context.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/include_context.rb -------------------------------------------------------------------------------- /lib/sus/integrations.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/integrations.rb -------------------------------------------------------------------------------- /lib/sus/it.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/it.rb -------------------------------------------------------------------------------- /lib/sus/it_behaves_like.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/it_behaves_like.rb -------------------------------------------------------------------------------- /lib/sus/let.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/let.rb -------------------------------------------------------------------------------- /lib/sus/mock.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/mock.rb -------------------------------------------------------------------------------- /lib/sus/output.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/output.rb -------------------------------------------------------------------------------- /lib/sus/output/backtrace.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/output/backtrace.rb -------------------------------------------------------------------------------- /lib/sus/output/bar.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/output/bar.rb -------------------------------------------------------------------------------- /lib/sus/output/buffered.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/output/buffered.rb -------------------------------------------------------------------------------- /lib/sus/output/lines.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/output/lines.rb -------------------------------------------------------------------------------- /lib/sus/output/messages.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/output/messages.rb -------------------------------------------------------------------------------- /lib/sus/output/null.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/output/null.rb -------------------------------------------------------------------------------- /lib/sus/output/progress.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/output/progress.rb -------------------------------------------------------------------------------- /lib/sus/output/status.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/output/status.rb -------------------------------------------------------------------------------- /lib/sus/output/structured.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/output/structured.rb -------------------------------------------------------------------------------- /lib/sus/output/text.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/output/text.rb -------------------------------------------------------------------------------- /lib/sus/output/xterm.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/output/xterm.rb -------------------------------------------------------------------------------- /lib/sus/raise_exception.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/raise_exception.rb -------------------------------------------------------------------------------- /lib/sus/receive.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/receive.rb -------------------------------------------------------------------------------- /lib/sus/registry.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/registry.rb -------------------------------------------------------------------------------- /lib/sus/respond_to.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/respond_to.rb -------------------------------------------------------------------------------- /lib/sus/shared.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/shared.rb -------------------------------------------------------------------------------- /lib/sus/tree.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/tree.rb -------------------------------------------------------------------------------- /lib/sus/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/version.rb -------------------------------------------------------------------------------- /lib/sus/with.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/lib/sus/with.rb -------------------------------------------------------------------------------- /license.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/license.md -------------------------------------------------------------------------------- /media/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/media/logo.png -------------------------------------------------------------------------------- /media/logo.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/media/logo.webp -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/readme.md -------------------------------------------------------------------------------- /release.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/release.cert -------------------------------------------------------------------------------- /releases.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/releases.md -------------------------------------------------------------------------------- /sus.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/sus.gemspec -------------------------------------------------------------------------------- /test/sus/.registry_directory/directory_test_file.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/.registry_directory/directory_test_file.rb -------------------------------------------------------------------------------- /test/sus/.registry_directory/nested_directory/nested_directory_test_file.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/.registry_directory/nested_directory/nested_directory_test_file.rb -------------------------------------------------------------------------------- /test/sus/assertions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/assertions.rb -------------------------------------------------------------------------------- /test/sus/be.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/be.rb -------------------------------------------------------------------------------- /test/sus/be_within.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/be_within.rb -------------------------------------------------------------------------------- /test/sus/clock.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/clock.rb -------------------------------------------------------------------------------- /test/sus/config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/config.rb -------------------------------------------------------------------------------- /test/sus/context.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/context.rb -------------------------------------------------------------------------------- /test/sus/describe.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/describe.rb -------------------------------------------------------------------------------- /test/sus/expect.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/expect.rb -------------------------------------------------------------------------------- /test/sus/file.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/file.rb -------------------------------------------------------------------------------- /test/sus/have.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/have.rb -------------------------------------------------------------------------------- /test/sus/have_duration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/have_duration.rb -------------------------------------------------------------------------------- /test/sus/identity.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/identity.rb -------------------------------------------------------------------------------- /test/sus/include_context.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/include_context.rb -------------------------------------------------------------------------------- /test/sus/it.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/it.rb -------------------------------------------------------------------------------- /test/sus/it_behaves_like.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/it_behaves_like.rb -------------------------------------------------------------------------------- /test/sus/mock.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/mock.rb -------------------------------------------------------------------------------- /test/sus/output/backtrace.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/output/backtrace.rb -------------------------------------------------------------------------------- /test/sus/output/buffered.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/output/buffered.rb -------------------------------------------------------------------------------- /test/sus/output/status.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/output/status.rb -------------------------------------------------------------------------------- /test/sus/raise_exception.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/raise_exception.rb -------------------------------------------------------------------------------- /test/sus/receive.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/receive.rb -------------------------------------------------------------------------------- /test/sus/registry.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/registry.rb -------------------------------------------------------------------------------- /test/sus/respond_to.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/respond_to.rb -------------------------------------------------------------------------------- /test/sus/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/version.rb -------------------------------------------------------------------------------- /test/sus/with.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/socketry/sus/HEAD/test/sus/with.rb --------------------------------------------------------------------------------