Difference between revisions of "Dev Testing"

From Dreamwidth Notes
Jump to: navigation, search
(New page: To prove all tests: prove -r $LJHOME/t To prove a specific test: prove $LJHOME/t/sometest.t Category: Development)
 
Line 1: Line 1:
 
To prove all tests:
 
To prove all tests:
  
  prove -r $LJHOME/t
+
cd $LJHOME
 +
  prove -r t
  
 
To prove a specific test:
 
To prove a specific test:
  
  prove $LJHOME/t/sometest.t
+
  cd $LJHOME
 +
prove t/sometest.t
 +
 
 +
http://dw-dev.dreamwidth.org/20733.html describes more about the tests.
 +
 
 +
(See also [Test process] for QA testing, though this is less relevant to most devs)
  
 
[[Category: Development]]
 
[[Category: Development]]

Revision as of 18:59, 2 September 2009

To prove all tests:

cd $LJHOME
prove -r t

To prove a specific test:

cd $LJHOME
prove t/sometest.t

http://dw-dev.dreamwidth.org/20733.html describes more about the tests.

(See also [Test process] for QA testing, though this is less relevant to most devs)