|Version 5 (modified by chromatic, 4 years ago)|
We are having a testing hackathon for our opcodes! These tests are t/op/*.t in the Parrot repo.
This event has been added to Calagator to let people know about it: http://calagator.org/events/1250458003
Here are some guiding principles of the hackathon:
- In general, improving coverage is better than converting tests to PIR, but both are valuable
- To increase coverage:
- find an untested op and write tests for it
- find an undertested op and write more tests for it
- for help with either, ask on #parrot for assistance!
- If there are tests written in Perl, we would like to convert them to PIR, if possible.
- Some can't be converted because the required testing functions do not exist in Parrot's Test::More
- In this case, improve Test::More
- Some advanced testing functions are not available yet, like eq_or_diff . These would be really awesome to have!
- Add tests for things with the lowest coverage first
- If you want to add tests to a large, currently Perl 5 test file, svn copy the foo.t to foo-old.t, then start writing PIR tests in foo.t and migrating tests from foo-old.t to foo.t as tests are translated