tinytest
                                
                                 tinytest copied to clipboard
                                
                                    tinytest copied to clipboard
                            
                            
                            
                        record more side effects
Brody Gaslam gives a nice, non-exhaustive list of side effects that may be interesting while testing.
- Workspace / Evaluation Environment
- Random seed
- ~Working directory~
- Search path
- Global options
- Loaded namespaces
- System time
- ~System variables~
- ~Locale~
The ones that are crossed off are covered by tinytest already. besides that, tinytest keeps track of files created in the working directory. Note that 8 and 9 are covered by environment variables.
Changes in global options are not recorded but they are reset after a test file is run.
Interesting ones to add:
- Search Path
- Global options
- Loaded namespaces
- Maybe open connections? Not sure if that is possible
- Maybe open devices/files? Idem