toptal / crystalball

Regression Test Selection library for your RSpec test suite
https://toptal.github.io/crystalball/
MIT License
323 stars 41 forks source link

Create parser strategy #66

Closed jaimerson closed 6 years ago

jaimerson commented 6 years ago

This strategy is meant to detect calls to class methods and add the referenced class to the case map.

jaimerson commented 6 years ago

@pluff yes, it handles constant assignment as well https://github.com/toptal/crystalball/blob/ddd2f4fc79550084eb7ce7cc05a7d20267b3efd2/spec/map_generator/parser_strategy/processor_spec.rb#L110-L125 And also CONSTANT = :foo