Class: Necropsy::EntryPoints::Test
- Inherits:
-
Object
- Object
- Necropsy::EntryPoints::Test
- Defined in:
- lib/necropsy/entry_points/test.rb
Instance Method Summary collapse
Instance Method Details
#apply(graph, _project) ⇒ Object
6 7 8 9 10 |
# File 'lib/necropsy/entry_points/test.rb', line 6 def apply(graph, _project) graph.nodes.values.select { |node| node.kind == :block_entry && node.test }.each do |node| graph.add_entry_point(node.id, :test_suite) end end |