Last edited Apr 27 at 10:11 PM by crwilcox, version 14


GreenKNight Sep 26, 2014 at 1:57 PM 
Is there any way I can run django unit tests using Test Explorer integration? When I run them at the moment I get "Models aren't loaded yet" from django 1.7. I presume I need to pass command line parameters to the python test runner to give it the correct settings file, but don't know how.

pminaev Apr 29, 2014 at 7:35 PM 
brucegk, can you clarify what the issue is? The bitness of the test runner itself should not matter, and Python code should run using whatever Python interpreter is active for your test project. Or are you saying that, if a 64-bit interpreter is active, you get an exception when trying to run the tests?

brucegk Apr 29, 2014 at 7:00 PM 
the VS test runner only has the option between x86 and x64, and python test projects only seem to run with the x86 setting (otherwise throwing an exception). This is a problem for x64 mixed code solutions. There should be a way to make this compatible but there are no platform settings for the python projects.

Ptools Aug 13, 2013 at 9:19 PM 
meertn - the basic version (Integrated PTVS + VS Shell) doesn't support Profiling or Unit Tests :(. Sorry about that - unfortunately not in our hands.

meertn Jul 3, 2013 at 6:03 AM 
"If you do not see the Test Explorer window, click the Test menu, then Windows and Test Explorer." I don't see the Test Explorer window, nor even the Test menu :( I must be doing something wrong but I can't figure it out. I downloaded and installed the 2013 “PTVS + VS Shell” version, and opened a new empty project. I added a unit test file to this, but I don't see any of the special test features. I have a regular Python3.3 interpreter installed.