moin icon indicating copy to clipboard operation
moin copied to clipboard

improve xml / xpath testing

Open ThomasWaldmann opened this issue 7 years ago • 1 comments

before changing the xml library (see #619), we should improve xml-related testing.

  • some tests use xpath (lxml.etree based), but only in a "existence checking" way
  • some tests just compare strings (xml fragments)

we should try to extract the interesting stuff using xpath and then compare structure/values somehow.

not sure how to do that precisely, suggestions welcome.

ThomasWaldmann avatar Sep 02 '18 22:09 ThomasWaldmann

https://pypi.org/project/elementpath/ interesting?

ThomasWaldmann avatar Mar 26 '20 21:03 ThomasWaldmann