简体   繁体   中英

Cucumber - caching step_definition.rb files?

It looks like cucumber is caching .rb files between runs. I'm making updates to my step definitions, but I'm not seeing any changes in test behavior. Is there any way to stop cucumber from caching?

I restarted my computer, and this seemed to work. Very scientific.

You can clean the workspace after every build, you can configure this for every job you have in Jenkins, this will remove your problem. This, of course, if you are using Jenkins.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM