auto_test 0.0.9.4.8
“Automatic Testing Tool”
Ruby subshell command executionRuby dynamically invokes a method with send
SHA-256ac368cf8c9c10f7083a9e99fc110bea6f7cde0561d3a5bf5f1ff33a48fe94bcd
MaleculeH₂(DbPo₂)Md(Pa)
Evidence
8:42… ach do |field|
9 browser.text_field(:label => field[1]).set user.send(field[0].to_sym)
10 end
11 sleep 1
12 else
13 index = user_inputs("get_login_names").index(user_inputs("get_unique_login_attribu …
169:30… s[0].to_i
170 id = line_parts[1].to_i
171 # get the Constant from the String, to find the right class
172 user[session_index] = Kernel.const_get(user_inputs("user_class")).find(id)
173 end
174end
⋯5 lines
6 module_function
7
8 # initialize the @users array
9 def init_users
10 @users = []
⋯5 lines
1# -*- encoding: utf-8 -*-
2require File.expand_path('../lib/auto_test/version', __FILE__)
3
4Gem::Specification.new do |gem|
5 gem.authors = ["Maike Hargens"]
6 gem.email = ["[email protected]"]
⋯4 lines
11
12 gem.add_development_dependency('faker')
13 gem.add_development_dependency('rspec')
14 gem.add_development_dependency('capybara')
15 gem.add_development_dependency('database_cleaner')
16 gem.add_development_dependency('watir-webdriver')
17 gem.add_development_dependency('rails', ">= 3.1")
18
19 gem.files = `git ls-files`.split($\)
20 gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
21 gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
⋯4 lines
1describe "Application" do
2 describe "auto_test" do
3 it "simulates the error" do
4 %x(ruby '#{path}/lib/simulation.rb')
5 end
6 end
7end
8
No evidence locations were recorded for this file. Raw result