mirror of
https://github.com/love2d/love.git
synced 2026-08-12 00:20:52 +02:00
test updates
- update main love readme to include note on tests - added module tests for Sensor, Keyboard, Touch, Joystick, Mouse, and Love (for hooks + basic love-level methods) - general clean-up of main class logic - couple fixes for runner-specific failures (physics.Joint, audio.getActiveSourceCount, mouse.getPosition) - change window.close test to run last
This commit is contained in:
@@ -29,6 +29,16 @@ There are also unstable/nightly builds:
|
||||
- For ubuntu linux they are in [ppa:bartbes/love-unstable][unstableppa]
|
||||
- For arch linux there's [love-git][aur] in the AUR.
|
||||
|
||||
Test Suite
|
||||
----------
|
||||
|
||||
The test suite in `testing/` covers all the LÖVE APIs, and tests them the same way developers use them. You can view current test coverage from any [12.0-dev action][12devworkflows].
|
||||
You can run the suite locally like you would run a normal LÖVE project, i.e.:
|
||||
`love testing/main.lua`
|
||||
|
||||
See the [readme][testsuite] in the testing folder for more info.
|
||||
You can contribute to the test suite [here][testsuitemain]
|
||||
|
||||
Contributing
|
||||
------------
|
||||
|
||||
@@ -107,3 +117,6 @@ Dependencies
|
||||
[codestyle]: https://love2d.org/wiki/Code_Style
|
||||
[android-repository]: https://github.com/love2d/love-android
|
||||
[releases]: https://github.com/love2d/love/releases
|
||||
[testsuite]: https://github.com/love2d/love/tree/12.0-development/testing
|
||||
[testsuitemain]: https://github.com/ellraiser/love-test
|
||||
[12devworkflows]: https://github.com/love2d/love/actions/workflows/main.yml?query=branch%3A12.0-development
|
||||
|
||||
Reference in New Issue
Block a user