Skip to content

Increasing code coverage for Other.lua#3414

Merged
demonnic merged 2 commits intoMudlet:developmentfrom
demonnic:someTestingWork
Mar 10, 2020
Merged

Increasing code coverage for Other.lua#3414
demonnic merged 2 commits intoMudlet:developmentfrom
demonnic:someTestingWork

Conversation

@demonnic
Copy link
Copy Markdown
Member

Brief overview of PR changes/additions

Adds 25 new tests against functions from Other.lua. Documents a todo list at the bottom of the spec file for the functions (as of the time of this PR) which are not covered by tests.

Motivation for adding to Mudlet

Making Mudlet and its releases less fragile. Yay testing.

Other info (issues closed, discussion etc)

Also exposed the first bug using the tests, it seems.

image

@demonnic demonnic requested a review from a team March 10, 2020 04:05
@add-deployment-links
Copy link
Copy Markdown

add-deployment-links bot commented Mar 10, 2020

Hey there! Thanks for helping Mudlet improve. 🌟

Test versions

You can directly test the changes here:

No need to install anything - just unzip and run.
Let us know if it works well, and if it doesn't, please give details.

Copy link
Copy Markdown
Member

@vadi2 vadi2 left a comment

Choose a reason for hiding this comment

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

This is great!

🚀

@demonnic demonnic merged commit 24c22e0 into Mudlet:development Mar 10, 2020
@demonnic demonnic deleted the someTestingWork branch March 10, 2020 05:23
@demonnic demonnic mentioned this pull request Mar 10, 2020
@demonnic
Copy link
Copy Markdown
Member Author

#3408

@demonnic demonnic linked an issue Mar 10, 2020 that may be closed by this pull request
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.

Add busted (or luaunit) tests as part of CI

2 participants