Add unittests #19

Open
opened 2024-12-11 20:08:59 +01:00 by AliasAlreadyTaken · 2 comments

Let's find or define a standard for unittests

Let's find or define a standard for unittests
Member

How do we even want to run them?
Mocking whole MT api for some "test harness" or whatever, would be cool... but not sure it's worth it? :p

How do we even want to run them? Mocking whole MT api for some "test harness" or whatever, would be cool... but not sure it's worth it? :p
Author
Owner

Only showcase how unittests are done, maybe only on a single well known template function. No need to unit-test the whole of the MT api

The idea of the template is to give examples. Currently I don#t know how unittests work in lua

Only showcase how unittests are done, maybe only on a single well known template function. No need to unit-test the whole of the MT api The idea of the template is to give examples. Currently I don#t know how unittests work in lua
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/yl_template#19
No description provided.