Closed robertschweizer closed 7 months ago
@robertschweizer https://stackoverflow.com/questions/31519880/windows-compatible-filesystems-file-time-resolutions says that FAT16 and FAT32 filesystems have 2s file modification time resolution. Are you using FAT? Does your bash git script reproduce the error if you insert 2s delay after first pytest run? ( @secult )
@robertschweizer https://stackoverflow.com/questions/31519880/windows-compatible-filesystems-file-time-resolutions says that FAT16 and FAT32 filesystems have 2s file modification time resolution. Are you using FAT? Does your bash git script reproduce the error if you insert 2s delay after first pytest run? ( @secult )
@robertschweizer @secult ignore that, I realized the problem is something else.
On Windows, when I have source and test files in separate subfolders, testmon does not rerun tests correctly after I changed files. If I run it again, testmon creates a completely new DB file.
Console output:
Windows users with Git bash installed can use this shell script to reproduce:
It works fine on a Docker image that I tried, so I suspect the issue is related e.g. to Windows paths using backslashes.