tldr 0.10.1 → 1.1.0
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 +4 -4
- data/CHANGELOG.md +26 -0
- data/README.md +237 -247
- data/exe/tldr +2 -0
- data/exe/tldt +2 -0
- data/lib/tldr/argv_parser.rb +81 -25
- data/lib/tldr/argv_reconstructor.rb +107 -0
- data/lib/tldr/assertions.rb +2 -3
- data/lib/tldr/autorun.rb +2 -0
- data/lib/tldr/minitest_compatibility.rb +35 -0
- data/lib/tldr/reporters/default.rb +11 -11
- data/lib/tldr/reporters/icon_provider.rb +9 -0
- data/lib/tldr/runner.rb +37 -12
- data/lib/tldr/value/config.rb +60 -134
- data/lib/tldr/value/test.rb +1 -1
- data/lib/tldr/version.rb +1 -1
- data/lib/tldr/yaml_parser.rb +29 -0
- data/lib/tldr.rb +3 -0
- data/script/test +3 -3
- metadata +25 -4
- data/lib/tldr/assertions/minitest_compatibility.rb +0 -55
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d60d27a492477aa1034acf117993630307f595690f97d356da763fb352f4837e
|
4
|
+
data.tar.gz: 240ee628207bf5b79568fff7ef93b5e6174825b8a53748e2b453076d2d00db7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e513372aedda6a808ee61e426fc3c738e1f7837fe3ccb55ec658153c15998b4eab9da976680f062d936c638e6fcdcbdcdfabec181137acc48ce6187b5d4aa69
|
7
|
+
data.tar.gz: 4fa415b7f6858e8a26766232a251542f28e7485ead112dd514d72fb55364ae54520ff1d3585dada05e8e56861295dfe458922f4038b1cdb67ee7ec1c4883f382
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,29 @@
|
|
1
|
+
## unreleased
|
2
|
+
|
3
|
+
## [1.1.0]
|
4
|
+
|
5
|
+
* Add `--exit-0-on-timeout` to allow the suite timeout to be used more as a budget constraint (e.g. "I know my full suite is going to take 30 seconds to run but I want to constantly run as many as I can in 500ms to get fast feedback")
|
6
|
+
* Add `--exit-2-on-failure` flag to exit with status 2 for test failures (not just errors), useful for Claude Code hooks which only block on exit code 2
|
7
|
+
|
8
|
+
## [1.0.0]
|
9
|
+
|
10
|
+
* **BREAKING** you know how the whole point of TLDR is that it aborts your test
|
11
|
+
run after 1.8s? Yeah, well, it doesn't anymore. Use `--timeout` to enable it
|
12
|
+
* **BREAKING** replace the `--no-dotfile` flag and has been replaced by a
|
13
|
+
`--[no-]config PATH` flag. To skip loading the YAML file, use `--no-config`.
|
14
|
+
To set the file, use `--config FILE` option
|
15
|
+
* **BREAKING** Remove `assert_include?` and `refute_include?` in favor of
|
16
|
+
Minitest-compatible `assert_includes` and `refute_includes`.
|
17
|
+
* **BREAKING** Rename `TLDR::Assertions::MinitestCompatibility` to `TLDR::MinitestCompatibility` and remove `assert_send`, which [nobody uses](https://github.com/minitest/minitest/issues/668)
|
18
|
+
* **BREAKING** Replace `no_emoji` YAML option with `emoji` option. Disable emoji output by default. Add `--emoji` flag for enabling it.
|
19
|
+
* Add `--[no-]timeout TIMEOUT` flag and `timeout` YAML option. To enable the
|
20
|
+
TLDR Classic™ default of 1.8s, specify `--timeout` from the CLI or `timeout: true`
|
21
|
+
in YAML. To specify a custom timeout of 42.3 seconds, flag `--timeout 42.3` or
|
22
|
+
`timeout: 42.3` in YAML
|
23
|
+
* Add `require "tldr/autorun"`, which adds an `at_exit` hook so that tests can be
|
24
|
+
run from the command line (still supports CLI args and YAML options) by running `ruby path/to/test.rb` (see [its test](/tests/autorun_test.rb))
|
25
|
+
* Fix custom reporters by looking them up only after helpers have a chance to run. [#15](https://github.com/tendersearls/tldr/issues/15)
|
26
|
+
|
1
27
|
## [0.10.1]
|
2
28
|
|
3
29
|
* Fix 3.4 / Prism [#17](https://github.com/tendersearls/tldr/pull/17)
|