smartest 0.1.0.alpha1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +16 -0
- data/DEVELOPMENT.md +774 -0
- data/Gemfile +5 -0
- data/LICENSE +21 -0
- data/README.md +518 -0
- data/Rakefile +12 -0
- data/SMARTEST_DESIGN.md +1137 -0
- data/exe/smartest +63 -0
- data/lib/smartest/autorun.rb +8 -0
- data/lib/smartest/dsl.rb +22 -0
- data/lib/smartest/errors.rb +52 -0
- data/lib/smartest/execution_context.rb +8 -0
- data/lib/smartest/expectation_target.rb +21 -0
- data/lib/smartest/expectations.rb +9 -0
- data/lib/smartest/fixture.rb +78 -0
- data/lib/smartest/fixture_class_registry.rb +27 -0
- data/lib/smartest/fixture_definition.rb +31 -0
- data/lib/smartest/fixture_set.rb +119 -0
- data/lib/smartest/init_generator.rb +70 -0
- data/lib/smartest/matchers.rb +109 -0
- data/lib/smartest/parameter_extractor.rb +51 -0
- data/lib/smartest/reporter.rb +91 -0
- data/lib/smartest/runner.rb +80 -0
- data/lib/smartest/suite.rb +12 -0
- data/lib/smartest/test_case.rb +18 -0
- data/lib/smartest/test_registry.rb +25 -0
- data/lib/smartest/test_result.rb +43 -0
- data/lib/smartest/version.rb +5 -0
- data/lib/smartest.rb +59 -0
- data/smartest/smartest_test.rb +634 -0
- data/smartest.gemspec +48 -0
- metadata +95 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: b4b99c1edbf3ad101277d9c87de980708ffe37b5665a3b151be6f03803d4837a
|
|
4
|
+
data.tar.gz: 6c0d645bd34ccedc0df9ef4fdacb9c3b43133bee5a0f6172ab73c5d9b44c05d1
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 567e14909b4fd63fe70392014d5f41d964e078ac7f16c46ff64071ae6860eb0eabdad3b1c2c409e51b52ce440b487b2531897ceee40f4d6de5dc79a6eb6297a5
|
|
7
|
+
data.tar.gz: ca377cc64560272f1d75f5527ce10014771bf728500d8489abb6a68a6e285c30c1f587b4a24f47a871ead56033a8fb6b4225dbe60c226c6b1288a1d5cdc509fe
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.1.0 - Unreleased
|
|
4
|
+
|
|
5
|
+
- Add the initial Smartest test runner.
|
|
6
|
+
- Support top-level `test` definitions.
|
|
7
|
+
- Support class-based fixtures through `Smartest::Fixture`.
|
|
8
|
+
- Support required keyword-argument fixture injection and fixture dependencies.
|
|
9
|
+
- Support per-test fixture caching and cleanup.
|
|
10
|
+
- Support suite-scoped fixtures through `suite_fixture`.
|
|
11
|
+
- Support `eq`, `include`, `be_nil`, and `raise_error` matchers.
|
|
12
|
+
- Add the `smartest` CLI.
|
|
13
|
+
- Add `--help` and `--version` CLI options.
|
|
14
|
+
- Use `smartest/**/*_test.rb` as the default CLI glob so Smartest can coexist with Minitest files under `test/`.
|
|
15
|
+
- Add gem packaging metadata and release tasks.
|
|
16
|
+
- Add Docusaurus documentation.
|