I am planning to create a ruby gem project and finally add that library gem in to another project. gem does some extra steps which needs to be completed before project feature file execution. Now i need to access the project feature folder from this gem. I tried this code
feature_folder= File.join("**", "features")
Dir.glob(feature_folder)
but didnt work. Is there anyway i can access the project features folder from my gem? I couldn't find how exactly cucumber access the project folders ( features , step_definitions) from cucumber gem.
Aucun commentaire:
Enregistrer un commentaire