Skip to content

Modify the tests to run from the main app#29

Merged
Ostrzyciel merged 4 commits intomainfrom
22-implement-more-end-to-end-testing
Mar 20, 2025
Merged

Modify the tests to run from the main app#29
Ostrzyciel merged 4 commits intomainfrom
22-implement-more-end-to-end-testing

Conversation

@Karolina-Bogacka
Copy link
Collaborator

Issue: #22

* @param args
* the command line arguments
*/
def runCommand(command: JellyCommand[?], args: List[String]): (String, String) =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not put it in JellyCommand?

Then the call would be simpler. Instead of TestAppRunner.runCommand(RdfFromJelly, List(...))

You'd have RdfFromJelly.runTest(List(...))

Shorter.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can keep the command name as part of the input List(), this does make sense.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, makes sense. I think it makes the most sense to put as much of the input command in the argument lists in the test as possible - it will be easier to evaluate tests then.

Copy link
Member

@Ostrzyciel Ostrzyciel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have doubts about error handling, but we leave it for now.

@Ostrzyciel Ostrzyciel merged commit 371ea93 into main Mar 20, 2025
6 checks passed
@Ostrzyciel Ostrzyciel deleted the 22-implement-more-end-to-end-testing branch March 20, 2025 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants