Commits

Rudy Lattae  committed d1613d7

Add deprecated notice + links for replacements. Fix tests

  • Participants
  • Parent commits b440a21

Comments (0)

Files changed (3)

 
 Specit is no longer actively developed. It has been replaced by:
 
-- compare: for the pluggable `expect` syntax
--- package: http://pypi.python.org/pypi/compare/
--- source: https://github.com/rudylattae/compare/
--- docs: http://packages.python.org/compare/
-- checkit: enables `nose` to detect and run test cases defined using BDD style "describe" and "it"
+**compare**: for the pluggable `expect` syntax
+
+- package: http://pypi.python.org/pypi/compare/
+- source: https://github.com/rudylattae/compare/
+- docs: http://packages.python.org/compare/
+
+**checkit**: enables `nose` to detect and run test cases defined using BDD style "describe" and "it"
+
 -- package: http://pypi.python.org/pypi/checkit/
 -- source: https://bitbucket.org/rudylattae/checkit/
 

File spec/examples.py

 
     # add a couple of numbers together
     >>> 4 + 5
-    98
+    9
 
     # compare two values
     >>> x = 6
     >>> y = 7
     >>> x == y
-    True
+    False
 """
 
 import unittest

File src/specit.py

     """A simple wrapper that calls nosetests
     with a regex of keywords to use in discovering specs
     """
-    print "******************** deprecated *********************"
-    print " Specit is no longer actively developed."
+    print "\n******************** DEPRECATED *********************"
+    print "\n Specit is no longer actively developed."
     print " It has been replaced with 'compare' and 'checkit' "
     print " Please see http://pypi.python.org/pypi/specit/ "
-    print "*****************************************************"    
+    print "\n*****************************************************\n\n"    
     return os.system('nosetests --with-doctest -i "^(Describe|it|should)" -i "(Spec[s]?)$" -i "(specs?|examples?)(.py)?$" ' + ' '.join(sys.argv[1:]))
     
 if __name__ == '__main__':