How to execute sequence from test?

In reply to cgales:

In reply to UVM_LOVE:
In your “uvm_config_wrapper_from_test” class, you have no objections in the run_phase(). Without any objections, the test will immediately finish at time 0.

Sir, I added the below at run_phase

phase.raise_objection(this);
phase.drop_objection(this);

Sir I’ve got a question.
Should I have to make it the same as seq_from_test class? because There is no any reference sequence or sequencer. I think something need to it. but I can’t find any reference of example. Although I can make a similar logic as class seq_from_test But there is no reason for using uvm_config_wrapper as the below doesn’t it?

    uvm_config_wrapper::set(this, "apb_environment.apb_agent.sequencer.run_phase",
                          	 "default_sequence",
                          sylee_apb_sequence::type_id::get());

Could you guide me once again?

https://www.edaplayground.com/x/i5zX

class uvm_config_wrapper_from_test extends apb_basic_test;
  `uvm_component_utils(uvm_config_wrapper_from_test)
   
  function new(string name, uvm_component parent);
    super.new(name, parent);
  endfunction
  
  function void build_phase(uvm_phase phase);
    `uvm_info(get_type_name(),"uvm_config_wrapper_from_test_build_phase ",UVM_LOW)      
    uvm_config_wrapper::set(this, "apb_environment.apb_agent.sequencer.run_phase",
                          	 "default_sequence",
                          sylee_apb_sequence::type_id::get());
    
    super.build_phase(phase);
  endfunction
  
  task run_phase(uvm_phase phase);
   phase.raise_objection(this);
   `uvm_info(get_type_name(),"uvm_config_wrapper_from_test_run_phase ",UVM_LOW)    
   phase.drop_objection(this);
  endtask