Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e9f55a8f71 
							
						 
					 
					
						
						
							
							tests: default to API mode enabled.  
						
						... 
						
						
						
						While we're here, also add `brew tests --no-parallel` which I relied
on during testing.
Pretty much anywhere we rely on a stubbed formula on disk to work: we
need to disable the API. 
						
						
					 
					
						2025-06-10 15:53:27 +01:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							5495ff1eea 
							
						 
					 
					
						
						
							
							Port Homebrew::Cmd::Search  
						
						
						
						
					 
					
						2024-04-01 10:12:52 -07:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							26eda5a303 
							
						 
					 
					
						
						
							
							git grep -l '^describe' | xargs gsed -i 's|^describe|RSpec.describe|g'  
						
						
						
						
					 
					
						2024-02-19 13:57:27 +00:00 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a743e9277f 
							
						 
					 
					
						
						
							
							workflows/tests: faster, more reliable tests.  
						
						... 
						
						
						
						- Extract update tests into separate tests.
- Make `brew tests --online` run only once in its own job. This job
  could be made non-required to fight flakiness.
- Split up the various macOS runs into several steps now that we have
  more parallel macOS workers available.
- Cleanup some flaky tests. 
						
						
					 
					
						2023-02-17 15:26:18 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d1be288418 
							
						 
					 
					
						
						
							
							some needs_network specs: temporarily disable.  
						
						... 
						
						
						
						These are absurdly flaky right now so let's disable them. 
						
						
					 
					
						2023-01-20 17:41:07 +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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7d53104c46 
							
						 
					 
					
						
						
							
							cmd/search_spec: split Linux/macOS tests.  
						
						
						
						
					 
					
						2020-07-01 11:55:25 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							36dbad3922 
							
						 
					 
					
						
						
							
							Add frozen_string_literal to all files.  
						
						
						
						
					 
					
						2019-04-20 13:27:36 +09:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2f1c6e9ca5 
							
						 
					 
					
						
						
							
							Cleanup cmd/* tests  
						
						... 
						
						
						
						- Test `_args` methods
- Remove multiple integration tests (except where essential
  e.g. `install`, `help`) 
						
						
					 
					
						2019-03-28 08:35:36 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							737b84b54b 
							
						 
					 
					
						
						
							
							brew style --fix fixes. 
						
						
						
						
					 
					
						2018-11-02 17:29:23 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fe6b78a3f3 
							
						 
					 
					
						
						
							
							Use cache_store for descriptions  
						
						... 
						
						
						
						This makes use of both the existing interfaces and could use the
existing cache file but we'll create a new one and cleanup the old one
to avoid issues and use a more consistent name. 
						
						
					 
					
						2018-10-13 08:22:52 -07:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							943e227ca1 
							
						 
					 
					
						
						
							
							Retry all specs with :needs_network.  
						
						
						
						
					 
					
						2018-09-14 16:57:14 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							1d629c6978 
							
						 
					 
					
						
						
							
							Don’t show Casks on Linux.  
						
						
						
						
					 
					
						2018-06-18 16:23:35 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							da193d2f7e 
							
						 
					 
					
						
						
							
							Merge brew cask search into brew search.  
						
						
						
						
					 
					
						2018-06-18 16:23:35 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							dd8370a9fa 
							
						 
					 
					
						
						
							
							Move shared search logic into Homebrew::Search module.  
						
						
						
						
					 
					
						2018-06-07 13:50:10 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							3a361c139e 
							
						 
					 
					
						
						
							
							Extend search tests.  
						
						
						
						
					 
					
						2018-06-07 13:48:35 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							de246cc528 
							
						 
					 
					
						
						
							
							Update Homebrew-Cask references.  
						
						
						
						
					 
					
						2018-05-25 18:20:02 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							c4222141ac 
							
						 
					 
					
						
						
							
							Revert "Update Homebrew-Cask references."  
						
						... 
						
						
						
						This reverts commit 4475651b548afdcf15c4cf7a7cb57baca1885186. 
						
						
					 
					
						2018-05-25 17:57:32 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							4475651b54 
							
						 
					 
					
						
						
							
							Update Homebrew-Cask references.  
						
						
						
						
					 
					
						2018-05-25 17:56:16 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							9fca172d03 
							
						 
					 
					
						
						
							
							Fix HOMEBREW_RUBY_WARNINGS="-w"  
						
						... 
						
						
						
						Fix various circular requirements, method redefinitions, etc. 
						
						
					 
					
						2018-04-07 20:28:56 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							5e1806e796 
							
						 
					 
					
						
						
							
							test: rubocop-rspec style auto-corrects.  
						
						... 
						
						
						
						There’s too many warnings to start enabling `rubocop-rspec` by default
but let’s at least apply the cleanups it does automatically. 
						
						
					 
					
						2018-03-25 13:30:37 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							c57ab279ba 
							
						 
					 
					
						
						
							
							Use rspec-retry in flaky brew tests.  
						
						... 
						
						
						
						We have a few tests that are intermittently flaky. Let's try this to see
if we can get them a bit more reliable. 
						
						
					 
					
						2018-02-13 09:34:25 +00:00 
						 
				 
			
				
					
						
							
							
								Viktor Szakats 
							
						 
					 
					
						
						
						
						
							
						
						
							b44c7a1022 
							
						 
					 
					
						
						
							
							upgrade more urls to https  
						
						
						
						
					 
					
						2017-08-22 10:31:21 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							961d79011e 
							
						 
					 
					
						
						
							
							search: explain why it takes the time it does.  
						
						... 
						
						
						
						Provide a bit of clarity that this isn't just searching a local database
but doing an GitHub API and Git history query. 
						
						
					 
					
						2017-08-15 10:25:51 +01:00 
						 
				 
			
				
					
						
							
							
								Ben Muschol 
							
						 
					 
					
						
						
						
						
							
						
						
							eb009503ed 
							
						 
					 
					
						
						
							
							Fix test typo  
						
						
						
						
					 
					
						2017-08-11 15:52:50 -04:00 
						 
				 
			
				
					
						
							
							
								Ben Muschol 
							
						 
					 
					
						
						
						
						
							
						
						
							b06fceda57 
							
						 
					 
					
						
						
							
							Add a test  
						
						
						
						
					 
					
						2017-08-11 15:49:57 -04:00 
						 
				 
			
				
					
						
							
							
								Bob W. Hogg 
							
						 
					 
					
						
						
						
						
							
						
						
							3b7113b304 
							
						 
					 
					
						
						
							
							cmd/search: use new Fedora package search  
						
						... 
						
						
						
						pkgdb has been put into read-only mode,
so it won't be updated for new Fedora releases
going forward. Use apps.fedoraproject.org/packages instead.
Signed-off-by: Bob W. Hogg <rwhogg@linux.com> 
						
						
					 
					
						2017-08-07 18:22:26 -07:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							1c4203fee7 
							
						 
					 
					
						
						
							
							Convert brew search test to spec.  
						
						
						
						
					 
					
						2017-02-23 21:16:23 +01:00