View cucumber_test_case_counter.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'gherkin/parser' | |
require 'gherkin/pickles/compiler' | |
@test_case_files = [] | |
@tags_to_ignore = ['@no_parallel', '@wip', '@bug', '@live', '@real', '@mobile', '@site'] | |
all_feature_files = Dir.glob("./**/*.feature") | |
all_feature_files.each do |feature_file| |
View check_for_hhvm_errors.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'fileutils' | |
require 'json' | |
contents = JSON.parse(IO.read(ARGV[0])) | |
## There are error types that cause lots of false positives. HHVM is still not perfect for them and | |
## there is not much sense to mark the commit as failed because of the. As HHVM grows better, we need | |
## to reevaluate the detection of those errors again. |