Skip to content

Instantly share code, notes, and snippets.

View wellavelino's full-sized avatar
🎧
Focusing

Wellington Avelino dos Santos wellavelino

🎧
Focusing
View GitHub Profile
@wellavelino
wellavelino / referênciasAT.txt
Last active October 28, 2018 15:28
Referências AT
https://www.w3.org/WAI/standards-guidelines/mobile/
https://dzone.com/articles/mobile-application-accessibility-testing-automatin
https://developer.apple.com/library/archive/technotes/TestingAccessibilityOfiOSApps/TestingtheAccessibilityofiOSApps/TestingtheAccessibilityofiOSApps.html
https://developer.apple.com/library/archive/documentation/Accessibility/Conceptual/AccessibilityMacOSX/OSXAXTestingApps.html
https://google.github.io/EarlGrey/
https://developer.apple.com/accessibility/ios/
https://developer.android.com/guide/topics/ui/accessibility/
https://developer.paciellogroup.com/blog/2017/11/mobile-accessibility-testing-guide-for-android-and-ios-free/
http://www.outware.com.au/insights/mobile-accessibility/
https://www.youtube.com/watch?v=EkG5_kWkqwE
@wellavelino
wellavelino / rake.rb
Last active April 5, 2019 12:48
rake
require 'rubygems'
require 'cucumber'
require 'cucumber/rake/task'
desc 'Execute fast scenarios'
task :fast_scenarios do
puts 'Running fast scenarios'
sh 'cucumber -t @fast'
end
desc 'Execute fast scenarios'
task :fast_scenarios do
puts 'Running fast scenarios'
sh 'bundle exec cucumber -t @fast'
end
task :run_features, [:feature, :scenario] do |_task, args|
puts "Running #{args[:feature]} feature with #{args[:scenario]} scenarios "
sh "cucumber -t @#{args[:feature]} -t @#{args[:scenario]}""
end
task :run_features, [:feature, :scenario] do |_task, args|
puts "Running #{args[:feature]} feature with #{args[:scenario]} scenarios and report"
sh "cucumber -t @#{args[:feature]} -t @#{args[:scenario]} -f html -o #{args[:scenario]}_scenarios.html"
end
@wellavelino
wellavelino / it_companies.txt
Last active June 5, 2019 15:28
IT companies
https://newrelic.com/about/careers
https://www.twilio.com/company/jobs#open-positions
https://company.ding.com/careers/
https://careers.shutterstock.com/teams/technology/
http://www.top1000.ie/industries/technology
def reportsDirectory = "$buildDir/artifacts/composer-output"
def embedScreenshotsTask = task('embedScreenshots', group: 'reporting') {
dependsOn {
fetchScreenshotsTask
}
doFirst {
println new File(reportsDirectory, 'screenshots/failures')
@wellavelino
wellavelino / screnshots_pull.groovy
Created July 18, 2019 09:43
gradle pull screen shots
// Basead on https://github.com/zawadz88/ScreenshotCapturingSample/blob/master/app/build.gradle
def reportsDirectory = "artifacts/composer-output"
def embedScreenshotsTask = task('embedScreenshots', group: 'reporting') {
dependsOn {
fetchScreenshotsTask
}
doFirst {
@wellavelino
wellavelino / rerun.rb
Created July 22, 2019 16:29
re_run_failures
require 'nokogiri'
def re_run_failed_tests(report_dir, retry_count = 3)
count = 0
loop do
puts "Starting test execution number: #{count}"
failures = check_for_failures(report_dir)
parsed_test_failures = failures.join(",")
test_output = "artifacts/composer-output/failed-retry#{count}"
@wellavelino
wellavelino / report_join.rb
Last active September 23, 2020 09:11
report join
require 'nokogiri'
require 'find'
class JunitMerge
FAILURES_DIR = 'artifacts/composer-output/failures/'.freeze
REPORT_DIRECTORY = 'artifacts/composer-output/'.freeze
COLLATED_REPORT = 'artifacts/composer-output/junit4-reports/collated_report.xml'.freeze
OUTDATED_REPORTS = 'artifacts/composer-output/junit4-reports'.freeze
def run