The goal is to identify what AutoCAD does:
- when opening an existing project
- when saving a new project
- when saving an existant project
- when exporting a project to another format
- on a long running session (~10 min) to check what is done by the auto-save feature
It is important to check those behaviors on Windows and macOS.
For testing, we can use a tool to automate/facilitate informations retreival.
1. Set-up a virtual environment:
virtualenv -p python2 VENV . VENV/bin/activate pip install watchdog==0.8.3
2. Launch the tool, do something and save records:
watchmedo log DIRECTORY
DIRECTORY is an empty folder where files are/will be tested.
Records will be something of that kind:
# Creation of a picture with GIMP on_created(self=<watchdog.tricks.LoggerTrick object at 0x7f824465a490>, event=<FileCreatedEvent: src_path='/home/tiger-222/Bureau/a/IMG_1504-2.JPG'>) on_modified(self=<watchdog.tricks.LoggerTrick object at 0x7f824465a490>, event=<DirModifiedEvent: src_path='/home/tiger-222/Bureau/a'>) on_modified(self=<watchdog.tricks.LoggerTrick object at 0x7f824465a490>, event=<FileModifiedEvent: src_path='/home/tiger-222/Bureau/a/IMG_1504-2.JPG'>) on_modified(self=<watchdog.tricks.LoggerTrick object at 0x7f824465a490>, event=<FileModifiedEvent: src_path='/home/tiger-222/Bureau/a/IMG_1504-2.JPG'>) on_modified(self=<watchdog.tricks.LoggerTrick object at 0x7f824465a490>, event=<FileModifiedEvent: src_path='/home/tiger-222/Bureau/a/IMG_1504-2.JPG'>) on_modified(self=<watchdog.tricks.LoggerTrick object at 0x7f824465a490>, event=<FileModifiedEvent: src_path='/home/tiger-222/Bureau/a/IMG_1504-2.JPG'>) # Deletion of a picture on Debian GNU/Linux on_deleted(self=<watchdog.tricks.LoggerTrick object at 0x7f824465a490>, event=<FileDeletedEvent: src_path='/home/tiger-222/Bureau/a/IMG_1504-2.JPG'>) on_modified(self=<watchdog.tricks.LoggerTrick object at 0x7f824465a490>, event=<DirModifiedEvent: src_path='/home/tiger-222/Bureau/a'>)
All we need are those records.
- is required by
-
NXDRIVE-897 Fix error when editing a DWG file
- Resolved