Updates:
        Status: Started

Comment #2 on issue 1480 by ondrej.certik: Implement test coverage utility
http://code.google.com/p/sympy/issues/detail?id=1480

Wow, this rocks! Thanks, I pushed your coverage script in.

As to XFAIL, this patch disables it:

$ git diff
diff --git a/sympy/utilities/pytest.py b/sympy/utilities/pytest.py
index 25ed9f7..6539442 100644
--- a/sympy/utilities/pytest.py
+++ b/sympy/utilities/pytest.py
@@ -13,6 +13,7 @@ try:
      USE_PYTEST = True
  except ImportError:
      USE_PYTEST = False
+USE_PYTEST = False

  def raises(ExpectedException, code):
      assert isinstance(code, str)
@@ -36,6 +37,7 @@ if not USE_PYTEST:

      def XFAIL(func):
          def wrapper():
+            raise XFail()
              try:
                  func()
              except Exception:



So you can use something similar. Is it possible to restrict  
coverage_report.py to
only a particular directory? It takes quite some time to execute  
everything, so this
would help during implementing tests for some module.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to