Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20411

Add automated test for "Name strategies automatic character replacement validation"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: Name strategies automatic character replacement validation.

      Matrix discussion: https://matrix.to/#/!ikPtGZaGWtyblizzlR:matrix.xwiki.com/$1669733397594cdvZX:matrix.xwiki.com?via=matrix.org&via=matrix.xwiki.com&via=caubin.fr

      Ilie Andriuta: Hi! Continuing the manual tests migration, there are some tests about checking if Name Strategies automatic character replacement works properly: https://test.xwiki.org/xwiki/bin/view/Administration%20Tests/Name%20strategies%20automatic%20character%20replacement and https://test.xwiki.org/xwiki/bin/view/Administration%20Tests/Name%20strategies%20character%20replacement%20validation. I've checked https://github.com/xwiki/xwiki-platform/blob/cc86017d0a59e37756c78057254623292a155655/xwiki-platform-core/xwiki-platform-name-strategies/xwiki-platform-name-strategies-default/src/test/java/org/xwiki/namestrategies/internal/ReplaceCharacterNameStrategyTest.java and the automated tests seem to exist. Can you please confirm?

      Thanks!

      Vincent Massol: it's almost covered but not fully
      for example there's no testing that the UI interface works
      the test you linked is a unit test showing that the transformation works when executed
      the existing test also doesn't verify that "/" is set by default (which your manual test does)
      so I'd still create the jira to add the missing parts

      Attachments

        Activity

          People

            Unassigned Unassigned
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: