davinci icon indicating copy to clipboard operation
davinci copied to clipboard

Automated testing

Open Techie-Pi opened this issue 4 years ago • 4 comments

An interesting thing to add will be automated testing using something similar to Github Actions to make sure changes to the script don't break the builds.

We could use a simple workflow just to build the examples of the project and test them (example). Or we could go a step forward and write tests and use something like game-ci/unity-test-runner (example) for the script, although I don't have experience writing tests with Unity.

The only requirement to do this is to create a new Unity account, download the personal license and add it to the secrets of the repo (so that Unity could be downloaded and thus build the project).

If @shamsdev approves this idea, we should wait until the PR that supersedes #20 is merged to prevent more problems merging it

Techie-Pi avatar Aug 10 '21 14:08 Techie-Pi

And obviously, if this idea is approved I will create a PR with the workflow

Techie-Pi avatar Aug 10 '21 14:08 Techie-Pi

That is a great idea. Thank you @Techie-Pi I do my best to help

shamsdev avatar Aug 12 '21 12:08 shamsdev

Great! I'll be outside my home for a few days, but when I come back I'll start working on this feature

Techie-Pi avatar Aug 13 '21 07:08 Techie-Pi

I'm starting high school, so I won't have much time to work in this, but I will notify any progress I make

Edit: Wow, it's been some time! A lot has happened, and I don't even have access to Unity now, so... I guess the "I'll come back soon" didn't happen :( This would be nice if someone wants to try tho!

Techie-Pi avatar Sep 17 '21 09:09 Techie-Pi