Bug 144544 - [NEW PORT] devel/py26-fudge: Fudge is a Python module for using fake objects to test real ones
Summary: [NEW PORT] devel/py26-fudge: Fudge is a Python module for using fake objects ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Yi-Jheng Lin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-08 06:10 UTC by Yi-Huan Chan
Modified: 2010-03-09 08:40 UTC (History)
0 users

See Also:


Attachments
py26-fudge-0.9.4.shar (2.48 KB, text/plain)
2010-03-08 06:10 UTC, Yi-Huan Chan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yi-Huan Chan 2010-03-08 06:10:01 UTC
Fudge is a Python module for using fake objects (mocks, stubs, etc) to test 
real ones.

This module is designed for two specific situations:
    * Replace an object
          o Temporarily return a canned value for a method or allow a method 
            to be called without affect.
    * Ensure an object is used correctly
          o Declare expectations about what methods should be called and what 
            arguments should be sent.

Fudge was inspired by Mocha which is a simpler version of jMock. But unlike 
Mocha, Fudge does not automatically hijack real objects; you explicitly patch 
them in your test setup. And unlike jMock, Fudge is only as strict about 
expectations as you want it to be. If you just want to expect a method call 
without worrying about its arguments or the type of the arguments then you 
can.

WWW:	http://farmdev.com/projects/fudge/

Generated with FreeBSD Port Tools 0.99
Comment 1 Yi-Jheng Lin freebsd_committer freebsd_triage 2010-03-08 06:11:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->yzlin

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-03-09 08:35:08 UTC
yzlin       2010-03-09 08:34:59 UTC

  FreeBSD ports repository

  Modified files:
    devel                Makefile 
  Added files:
    devel/py-fudge       Makefile distinfo pkg-descr 
  Log:
  Add py-fudge 0.9.4, fudge is a Python module for using fake objects to
  test real ones.
  
  PR:             ports/144544
  Submitted by:   Yi-Huan Chan <yhchan at csie.nctu.edu.tw>
  Approved by:    lwhsu/rafan (mentors, implicit)
  Feature safe:   yes
  
  Revision  Changes    Path
  1.3830    +1 -0      ports/devel/Makefile
  1.1       +22 -0     ports/devel/py-fudge/Makefile (new)
  1.1       +3 -0      ports/devel/py-fudge/distinfo (new)
  1.1       +19 -0     ports/devel/py-fudge/pkg-descr (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Yi-Jheng Lin freebsd_committer freebsd_triage 2010-03-09 08:36:24 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!