Opened 14 months ago
Last modified 14 months ago
#23213 new enhancement
UI: Add buttons to enable/disable all validator tests
Reported by: | gaben | Owned by: | team |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report UI validator tests | Cc: |
Description
What steps will reproduce the problem?
- Develop a plugin which provides validator tests
- Try to profile the plugin validations on a large dataset
- The execution takes long time because of 40+ tests
What is the expected result?
UI has buttons which can enable and disable validator tests.
What happens instead?
I need to do it manually each time I clear JOSM preferences file.
Please provide any additional information below. Attach a screenshot if possible.
It would be mostly useful for plugin and core validator development.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2023-09-26 14:10:25 +0200 (Tue, 26 Sep 2023) Build-Date:2023-09-27 01:31:02 Revision:18846 Relative:URL: ^/trunk
Attachments (1)
Change History (5)
comment:1 by , 14 months ago
by , 14 months ago
Attachment: | noTests.xml added |
---|
comment:2 by , 14 months ago
Yeah I considered it but I was lazy to generate the list. And also it's changing as JOSM evolves, although it can do it for a while.
comment:3 by , 14 months ago
I'd rather have to generate/update the list. I don't want to make it easy for someone to accidentally disable all the validations.
comment:4 by , 14 months ago
Originally I included in the report that it can show up if some cmd flag is present, like the --trace
(? cannot recall which) for territories, but deleted it because I think it can be beneficial for normal users as well. At the same time, I get your point. Accidentally disabling all of the tests would make a mess.
Have you considered setting
validator.skip
andvalidator.skipBeforeUpload
? I'll upload a preferences fragment that you can import from advanced preferences.