-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added property to configure purge options #1496
Added property to configure purge options #1496
Conversation
Hello @fhoeben, |
@AlexNetcare sorry I haven't gotten around to this yet. I will try to look at it this weekend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good. Some minor suggestions and one possible enhancement
FitNesseRoot/FitNesse/UserGuide/AdministeringFitNesse/ConfigurationFile/content.txt
Outdated
Show resolved
Hide resolved
FitNesseRoot/FitNesse/UserGuide/WritingAcceptanceTests/TestHistory/content.txt
Outdated
Show resolved
Hide resolved
test/fitnesse/responders/testHistory/PurgeHistoryResponderTest.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Fried Hoeben <github@hsac.nl>
Added the possibility to configure the purge options in the plugins.properties.
The new property can look like TestHistory.purgeTime=0,30,60,90 and changes the buttons on the Test History page. Will default to 0,7,30 when nothing else is configured.
Also changed the purge behaviour to only delete the current page. But also with an option to still purge globally by checking the Purge Global button.
Depending on the configured purge times, the GUI for the Test Histories would look like this: