[ 
https://issues.apache.org/jira/browse/DAFFODIL-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17903660#comment-17903660
 ] 

Mike Beckerle commented on DAFFODIL-2958:
-----------------------------------------

I think we should provide this daffodil-tdml-junit library in Daffodil 3.10. 
This would get immediate use upgrading and simplifying DFDL schema work. 

We're about to begin work converting a large corpus of test data into TDML 
tests. This would be a great thing to have at that point. 

> 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: Mike Beckerle
>            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)

Reply via email to