drevops / behat-screenshot

🧪 Behat extension and step definitions to create HTML and image screenshots on demand or when tests fail
GNU General Public License v3.0
22 stars 7 forks source link

[#37] Allowed config filename #94

Closed tannguyen04 closed 8 months ago

tannguyen04 commented 8 months ago

Checklist before requesting a review

closes #37

Changed

1.

Screenshots

tannguyen04 commented 8 months ago

Hi @AlexSkrypnyk I have few notes

  1. With url token replacements, I am using url encode to build the token replacement. I can not find the way to follow your logic with url tokens.
  2. Step name token should not lower cased because some case is sensitive. Ex: https://github.com/drevops/behat-screenshot/pull/94/files#diff-88ecc745a3641e37dcc57852c6bde91b4a709b0d10026876da436f918feb687dR68
tannguyen04 commented 8 months ago

@tannguyen04 Could you please:

  1. Extract all token-related functionality in to Tokenizer class.
  2. Add unit tests for Tokeniser class.

Hi @AlexSkrypnyk

I have done 1 & 2. But phpunit does not pick my test. And it reach over 16hours. Can you please look into that ? Thanks.

xurizaemon commented 8 months ago

Great work @tannguyen04! 🎈