class Cucumber::Core::Compiler

def create_test_case(pickle)

def create_test_case(pickle)
  uri = pickle.uri
  test_steps = pickle.steps.map { |step| create_test_step(step, uri) }
  lines = source_lines_for_pickle(pickle).sort.reverse
  tags = pickle.tags.map { |tag| Test::Tag.new(Test::Location.new(uri, source_line_for_pickle_tag(tag)), tag.name) }
  test_case = Test::Case.new(id_generator.new_id, pickle.name, test_steps, Test::Location.new(uri, lines), tags, pickle.language)
  @event_bus&.test_case_created(test_case, pickle)
  test_case
end