OctConf 2014: Difference between revisions

Jump to navigation Jump to search
309 bytes added ,  21 September 2014
Line 118: Line 118:


We will be writing tests again. Look through the test coverage, and pick something that doesn't have tests yet. Announce in IRC which function you're going to write a test for. Write it. If you have push access, push your test.  Otherwise, post a Mercurial patch that someone else can apply for. Keep pulling from Savannah as we keep working on this.
We will be writing tests again. Look through the test coverage, and pick something that doesn't have tests yet. Announce in IRC which function you're going to write a test for. Write it. If you have push access, push your test.  Otherwise, post a Mercurial patch that someone else can apply for. Keep pulling from Savannah as we keep working on this.
The function 'nchoosek.m' in the scripts/specfun directory is a good small example of built-in self tests using the Octave testing environment.  The test platform is documented in Appendix B (Test and Demo Functions) of the Octave manual.  Basically, you only need to know regular Octave code to contribute.


== Participants ==
== Participants ==
Anonymous user

Navigation menu