[
https://issues.apache.org/jira/browse/DAFFODIL-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17907096#comment-17907096
]
Mike Beckerle commented on DAFFODIL-2958:
-----------------------------------------
For history preservation:
The first approach using Li Haoyi's sourcecode library was in this PR:
[https://github.com/apache/daffodil/pull/1375]
That has been closed.
It is superceded by the approach of creating a separate daffodil-tdml-junit
library, which is in this PR:
[https://github.com/apache/daffodil/pull/1389]
> TDML Runner needs feature to run test using method name as test name
> --------------------------------------------------------------------
>
> Key: DAFFODIL-2958
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2958
> Project: Daffodil
> Issue Type: Improvement
> Components: TDML Runner
> Affects Versions: 3.9.0
> Reporter: Mike Beckerle
> Assignee: Steve Lawrence
> Priority: Major
> Attachments: TestSimple.scala
>
>
> To avoid all the redundant typing in the test-driver scala files, we need a
> small feature which uses lihaoyi's sourcecode library to grab the method name.
> This can be used to turn this:
> ```
> @Test def someTestName(): Unit = runner.runOneTest("someTestName")
> ```
> into this:
> ```
> @Test def someTestName(): Unit = runner()
> ```
> which is easier to write and maintain, while maintaining the ability to run a
> single test via normal right-click in the IDE.
>
>
> W
--
This message was sent by Atlassian Jira
(v8.20.10#820010)