dakusui/scriptiveunit

Make test item names more descriptive

dakusui opened this issue · 0 comments

Implement a feature where a following template string used in description attribute of a test oracle,

        {
            "description": "{{@TESTSUITE}}: Searching {{_tems}} should also return items that contain 'ヒータ' or 'ストーブ'",
            "given": ["equals", ["attr", "terms"], ["quote", "ヒーター"]],
            "when": ["issue", ["query"] ],
...
        },

generates a following string displayed as a test item name of JUnit.

   001: Query-Result model example: Searching [ヒーター] should not return too many accessories