class Modsvaskr::TestsSuites::NpcHead
Test NPCs by taking head screenshots
Public Instance Methods
discover_tests()
click to toggle source
Discover the list of tests information that could be run.
- API
-
This method is mandatory
-
- Result
-
Hash< String, Hash<Symbol,Object> >: Ordered hash of test information, per test name
Calls superclass method
Modsvaskr::TestsSuites::Npc#discover_tests
# File lib/modsvaskr/tests_suites/npc_head.rb, line 23 def discover_tests tests = super tests.each_value do |test_info| test_info[:name].gsub!('Take screenshot', 'Take head screenshot') end tests end
in_game_tests_suite()
click to toggle source
Return the in-game tests suite to which we forward the tests to be run
- Result
-
Symbol: In-game tests suite
# File lib/modsvaskr/tests_suites/npc_head.rb, line 14 def in_game_tests_suite :npcshead end