levaleureux / dr_spec

rspec like for dragonruby
The Unlicense
0 stars 2 forks source link

Add tags and filtering #7

Open terrainoob opened 1 year ago

levaleureux commented 1 year ago

@terrainoob as a first research I think I will first implement metadata as an hash only. so it will be


spec "the description", tags: [:player, :enemies], type: :integration do 
  ...
end

Like that in a first time it will be better for handeling type and maybe some other need if you have some idea about.

levaleureux commented 1 year ago

I just implement phase one, spec can have metadata

levaleureux commented 1 year ago

@terrainoob I decide to implement rspec in order to test this feature. The main idéa is that we need to call dragonruby with dr_spec to test with differents tags. Depends on the tags we will check the output passed spec list and do an expectation in rspec.

please see https://github.com/levaleureux/dr_spec/pull/44