Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create CI unit testing setup #2341

Closed
wants to merge 16 commits into from
Closed

Conversation

JaspervanRiet
Copy link
Contributor

@JaspervanRiet JaspervanRiet commented Jan 13, 2023

Summary

Creates a unit testing setup that can run on our CI. We do this by utilising work done in #1517 to convert our module names to file names, and then further overriding require so that it can actually find the files in question. We can then write lua test files using assert. We can also easily mock modules and globals by simply setting them.

How did you test this change?

@Rathoz
Copy link
Collaborator

Rathoz commented Nov 8, 2023

Superseded by #3490

@Rathoz Rathoz closed this Nov 8, 2023
@Rathoz Rathoz deleted the prototype-setup-testing branch November 8, 2023 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants