You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2024/11/18 14:53:00 UTC
[jira] [Assigned] (DAFFODIL-2958) TDML Runner needs feature to run test using method name as test name
[ https://issues.apache.org/jira/browse/DAFFODIL-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Beckerle reassigned DAFFODIL-2958:
---------------------------------------
Assignee: Mike Beckerle
> 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
>
> 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)