- file is the name of the file to be created, default is /tmp/state-assertion-$USER.gz
- compression is the compression used (none, gz), default is a guess based on file name
- name is the name of the object to be created, default is saX where X is a number.
- post_events tells state-assertion to post events by itself for recording and comparing, default is true.