Sep. 2nd, 2009

testing DW

Sep. 2nd, 2009 02:51 pm
szabgab: (Default)
[personal profile] szabgab
In the past few days I managed to fix some of the unit tests and set the rest to be skipped so once my latest patch of bug 1721 gets applied all tests in t/ will either pass or skip.

In order to make development easier in DW it would be important to keep the test suit intact and even adding more tests.

Currently the way to run the tests is by typing

cd $LJHOME
prove t/

In case you would like to run a single test file you can type

prove t/userpics.t


A better way to run the tests will be to run

prove -w t/

but currently it produces lots of warnings, something we should fix soon.


Every time to make a change you should at a minimum make sure that all the tests still pass after the change. If some of the tests stop working you should check if the test is incorrect or if the change you made to the code introduced a real bug and fix it.

Details )

Profile

dw_dev: The word "develop" using the Swirly D logo.  (Default)
Dreamwidth Open Source Development

July 2025

S M T W T F S
  12345
6789101112
13141516171819
20212223 242526
2728293031  

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 10th, 2025 09:46 pm
Powered by Dreamwidth Studios