Douglas Eichelberger
9075cbae62
brew style --fix
2023-04-21 09:58:50 -07:00
Douglas Eichelberger
ac1e6ded9a
git grep -l '# typed: false' | xargs gsed -i 's|# typed: false||g'
2023-04-21 09:57:47 -07:00
Bo Anderson
6cd1e5e384
Avoid passing around a massive $LOAD_PATH.
...
Portable Ruby crashes if the $LOAD_PATH gets too big.
2021-02-26 18:23:48 +00:00
Rylan Polster
4a82d807e1
style: remove RSpec/MultipleDescribes violations in commands
2021-02-01 20:30:51 -05:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Mike McQuaid
2bdf0d6068
spec_helper: increase tests timeout.
...
When GitHub Actions is congested some tests can take longer than this
(particularly as we're running in parallel). Globally double the time
we allow for all tests.
2020-08-25 10:20:17 +01:00
Markus Reiter
bf9659423a
Increase timeout for some integration tests.
2020-07-28 09:50:15 +02:00
Mike McQuaid
bed5297b6c
.github/workflows/tests: run config, doctor.
...
This should help with debugging why the `brew bundle` tests are now
failing.
2019-12-04 15:35:31 +00:00
Mike McQuaid
eb0be5f6fe
test: re-enable portable Ruby tests.
...
Let's try to get these working again.
2019-11-06 15:36:28 +00:00
Mike McQuaid
2d51b8189b
test: disable some tests on Linux portable ruby.
2019-10-10 16:17:06 +01:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
aa44509be9
Test dev-cmd *_args
methods
...
Also, add a few missing invocations.
2019-03-27 13:35:42 +00:00
Mike McQuaid
59d680a626
dev-cmd: only one integration test per command.
...
Integration tests are useful in detecting breakages but much slower so
let's only use one per command and install formula outside the
integration test framework (which is also slow).
2019-03-27 09:45:48 +00:00
Markus Reiter
7762ce32aa
Use more descriptive heredoc names.
2018-07-11 18:15:30 +02:00
Mike McQuaid
f6bf989378
Remove some integration tests
...
We have an awful lot of integration tests and they are (comparatively)
really slow. Let's kill those that test edge case conditions and focus
on those that test that our functionality works as expected. Edge cases
can be better tested with unit tests.
2018-05-23 14:41:31 +01:00
Markus Reiter
9bee9ca575
Use “squiggly” heredocs.
2017-10-18 14:39:09 +02:00
Markus Reiter
2ad3a87045
Silence all specs by default.
2017-07-29 20:25:37 +02:00
Markus Reiter
0248b5e357
Convert brew test
test to spec.
2017-02-23 21:16:05 +01:00