Skip to content

Testing Framework #1732

Answered by SquidDev
SirEndii asked this question in Q&A
Feb 23, 2024 · 1 comments · 12 replies
Discussion options

You must be logged in to vote

Shall I just copy these files over to my project,

Yep! Everything should be licensed under the MPL 2.0, so you don't need to worry about CCPL restrictions.

And if I do that, is there anything I should keep in mind when I make my lua test scripts for my computers? Or even better, is there any documentation about creating tests for lua cc scripts that I couldn't find?

There's some notes in ARCHITECTURE.md about the game test code, and I've tried to document most classes, but it's definitely not comprehensive.

Some vague notes which hopefully help a little:

  • Every computer is labelled with the test name (example). This then allows test to find and interact with the appropriate computer.
  • M…

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@SirEndii
Comment options

@SirEdvin
Comment options

@SirEndii
Comment options

@SirEndii
Comment options

@SquidDev
Comment options

Answer selected by SirEndii
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants