logstash/spec
Pavel Zorin 2c83a52380
[CI] Send Java and ruby tests to sonarqube simultaneously (#15810)
* Ruby code coverage with SimpleCov json formatter

* [CI] Send Java and ruby tests to sonarqube simultaneously

* Enabled COVERAGE for ruby tests

* Enabled COVERAGE for ruby tests

* Enabled COVERAGE for ruby tests

* Enabled COVERAGE for ruby tests

* Enabled COVERAGE for ruby tests

* Added compiled classes to artifacts

* Test change

* Removed test changes

* Returned back ENABLE_SONARQUBE condition

* Removed debug line

* Diable Ruby coverage if ENABLE_SONARQUBE is not true

* Run sonar scan on pull requests and onn push to main

* Run sonar can on release branches
2024-01-17 19:04:37 +00:00
..
bootstrap Add apache and elastic license headers to source code files (#11673) 2020-03-11 11:53:38 +00:00
compliance Rubocop: Enable most SpaceInside cops (#15201) 2023-07-20 09:49:46 -04:00
fixtures Enable SpaceAfterColon, SpaceAfterComma, SpaceAfterSemicolon (#15180) 2023-07-14 16:46:35 -04:00
support Rubocop: Enable SpaceAround cops (#15196) 2023-07-18 21:11:57 -04:00
unit deps: downgrade jruby, keep updated default-gem dependencies (forward-port #15283) (#15369) 2023-10-03 14:32:28 -07:00
README.md Using already existing LOGSTASH_DEBUG env variable to debug + update README 2012-09-14 12:28:29 +02:00
spec_helper.rb [CI] Send Java and ruby tests to sonarqube simultaneously (#15810) 2024-01-17 19:04:37 +00:00

How to run these tests

Run one:

rspec spec/the/test.rb

Run them all:

rspec spec/**/*.rb

Debug one test:

LOGSTASH_DEBUG=y rspec spec/the/test.rb