LeightonStreet / LingoBarter

A platform for language exchange
http://master-lingobarter.rhcloud.com/
Apache License 2.0
5 stars 0 forks source link

Configure python tests in PyCharm and improve test coverage #5

Open doomdagger opened 8 years ago

doomdagger commented 8 years ago

Configure

In Run/Debug Configurations panel, add py.test configuration, see the image below: image

Configure the test configuration according to the image below: image

Save the changes and run coverage test: image

After that, you should see the percentage of coverage for all files in lingobarter module.

Improve test coverage

Haoxiang: Improve lingobarter/core and lingobarter/utils modules test coverage Coco: Improve lingobarter/ext and lingobarter/modules modules test coverage

Intentions

Hope you can be more familiar with the server-side code of our project. Very important!!!

doomdagger commented 8 years ago

@Coco-Yang @HaoxiangXu Please take a look at this issue.