Idea #19977
open
Update tests to run with a strict vocabulary
Added by Brett Smith almost 2 years ago.
Updated 11 months ago.
Description
- Write a
vocubalary.json
for the tests in the right place (FIXME: where is that?). It should define at least a couple of tags and "strict_tags": true
.
- Update the test configuration in
run_test_server.py
to set API.VocabularyPath
to that file path.
- Update tests broken by this change to continue passing while exercising the same behavior as before.
We want to make this change to help us catch system tags that we add without documentation or adding them to systemTagKeys
in vocabulary.go
.
Files
I made a throwaway branch to define a strict vocabulary for the tests and run that on Jenkins to see how much effort would be involved. I just used the example vocabulary from our documentation, with strict_tags
set true. I've attached the logs from all failing tests.
As far as I can tell, all of these are little one-offs that are just checking property propagation generally, and it would be no problem to update them to use properties defined in our test vocabulary. s3_test.go
records a lot of failures, but that's because the property is in a common fixture and checked on every test. We just need to update one fixture and one assertion to get them all passing again.
- Target version set to Future
- Target version changed from Future to To be scheduled
- Target version changed from To be scheduled to 2023-03-01 sprint
- Target version changed from 2023-03-01 sprint to Development 2023-03-15 sprint
- Target version changed from Development 2023-03-15 sprint to Development 2023-03-29 Sprint
- Target version changed from Development 2023-03-29 Sprint to To be scheduled
- Target version changed from To be scheduled to Future
Also available in: Atom
PDF