garris/BackstopJS

RFC: add an instantReplay feature (built-in data mocking)

Open

#159 创建于 2016年2月10日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (6,510 star) (601 fork)batch import
enhancementhelp wanted

描述

Sometimes when working with dynamic content, hiding and deleting selectors isn't enough. If we really want to test our CSS changes proper we need to use the same DOM data. Unfortunately -- it's not always easy to mock data -- especially if we are testing a production site...

I would like to propose that the gulp reference flow also capture actual DOM selector data and (as an option) re-injected that data when running gulp test

Comments welcome!

see implementation ideas in the "instantReplay" branch

贡献者指南