Also, what about view state? I found this case that breaks tests and alters view state prefs:

Recipe
1. Open Brackets, create a temporary file, and save it to disk
2. Double-click on temporary file so it's current file & in Working Set
3. Close Brackets
4. Delete temporary file (outside of Brackets)
5. Restart Brackets
6. You will receive warning that "temporary file no longer exists" (which is expected), click OK
7. Debug > Run Tests, open Integration tab, click "All"

Results:
You get the same warning that "temporary file doesn't exist" for every test that opens a new window, so it seems like tests are loading view state prefs from disk and not memory, but I wonder if they should load them at all.

I walked away from my computer, so I had lots of modal dialogs waiting to be clicked, so a lot of tests failed due to timeout. If you sat there and quickly responded, you might be able to get tests to pass, but that's just silly :)

Continue:
8. Shutdown & restart Brackets

Results:
The good news is that all of my user prefs seemed to be preserved. But, I got the "temporary file doesn't exist" dialog again, so view state prefs did not seem to get saved.