I read some source code of ZenTest but didn’t find where it is implemented.
Could you give me give some clue? Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It looks like its in
autotest.rbthe method is calledfind_files_to_test, the algorithm is pretty basic, every second it checks the dates on all the files that affect testing and then, using some dependency analysis on the changed files, it decides which tests to run.In Windows this would be significantly faster if it used a file system watcher.
The sleep time is defined initialize
self.sleep = 1and invoked fromwait_for_changes