TestCentric / testcentric-gui

TestCentric GUI Runner for NUnit
Other
67 stars 30 forks source link

Prompt user to save an unnamed TestCentric project or one with changes #1071

Closed CharliePoole closed 3 months ago

CharliePoole commented 3 months ago

Projects will be considered "dirty" when new until they are saved. Once a project is saved, it is considered "clean". When a file is added or removed or any project settings are changed, the project is set to dirty again.

Upon closing the project, either through the menu or by exiting the application, it will be first checked. If it is dirty, then the user should be given the chance to save it. If it is not saved, then any changes will be lost.

Part of #3

CharliePoole commented 3 months ago

Identification of changes to the TestCentric project is a bit adhoc and some changes may be missed. Improvements will need to wait for changes to the base TestPackage class, which is defined as part of the engine API.