Differences between revisions 1 and 2
Revision 1 as of 2009-07-24 17:31:38
Size: 765
Editor: bcm-10-134
Comment:
Revision 2 as of 2009-08-12 17:54:09
Size: 771
Editor: bcm-10-134
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
A: After installation, there is a test directory under your EMAN2. In this test directory, there is a directory called rt. So in this EMAN2/test/rt directory, there are a bunch of test_xxx.py files. These python script are unit test files for EMAN2. For example, test_emdata.py is the unit test for EMData class. You can run individual test_xxx.py file to test individual EMAN2 module. Or you can choose to run rt.py file, which will run all the test_xxx.py file. If you see all of the tests prints OK. Then your EMAN2 installation/compilation is successful. If you see any error, please post your system specification and the error info to this wiki, or send email to EMAN2 developer. '''A:''' After installation, there is a test directory under your EMAN2. In this test directory, there is a directory called rt. So in this EMAN2/test/rt directory, there are a bunch of test_xxx.py files. These python script are unit test files for EMAN2. For example, test_emdata.py is the unit test for EMData class. You can run individual test_xxx.py file to test individual EMAN2 module. Or you can choose to run rt.py file, which will run all the test_xxx.py file. If you see all of the tests prints OK. Then your EMAN2 installation/compilation is successful. If you see any error, please post your system specification and the error info to this wiki, or send email to EMAN2 developer.

Q:How do I know my EMAN2 installation or compilation is successful?

A: After installation, there is a test directory under your EMAN2. In this test directory, there is a directory called rt. So in this EMAN2/test/rt directory, there are a bunch of test_xxx.py files. These python script are unit test files for EMAN2. For example, test_emdata.py is the unit test for EMData class. You can run individual test_xxx.py file to test individual EMAN2 module. Or you can choose to run rt.py file, which will run all the test_xxx.py file. If you see all of the tests prints OK. Then your EMAN2 installation/compilation is successful. If you see any error, please post your system specification and the error info to this wiki, or send email to EMAN2 developer.

EMAN2/FAQ/EMAN2_unittest (last edited 2012-09-20 16:23:20 by SteveLudtke)