

It supports simple and configurable recording of code coverage, as well as more. (Expect Python3 compatibility soon!)įor more info, see the py. figleaf is a code coverage package for Python. The whole package should work well with Linux, Win32 and OSX, on PythonĢ.3, 2.4, 2.5 and 2.6. Installation procedure because no C-Extensions are required anymore.

Some non-test related code, notably greenlets/co-routines andĪpi-generation now live as their own projects which simplifies the The testing tool in independent namespaces. The py lib continues to offer most of the functionality used by This talk was really a demo for those who didn't come to the tutorial. Please see my summary of his earlier tutorial. new sync/async ways to handle 1:N communication P圜on: Twill, Scotch, and Figleaf - Tools for Testing.new distribution modes “–dist=each” and “–dist=load” Underwired for gentle support, this python inspired balcony bra features a mix of sheer and quarter pad cups.new unified “TX” URL scheme for specifying remote processes.distributed testing and elastic distributed execution:.resultlog: generate buildbot-friendly reporting output.figleaf: generate html coverage reports with the figleaf module.unittest: run and integrate traditional unittest.py tests.monkeypatch: safely monkeypatch modules/classes from within tests.The goals of figleaf are to be a minimal replacement of coverage.py that supports more. capture: flexibly capture stdout/stderr of subprocesses, per-test. Entre para a lista de discusses sobre Testing In Python TDD.pastebin: automatically send tracebacks to pocoo paste service Based on project statistics from the GitHub repository for the PyPI package figleaf-fasta, we found that it has been starred 4 times, and that 0 other projects.xfail: mark tests as “expected to fail” and report separately.many new features done in easy-to-improve default plugins, highlights:.The most notable new external plugin is oejskit which naturally enables running and reporting of javascript-unittests in real-life browsers. new plugin architecture, allowing easy-to-write project-specific and cross-project single-file plugins.allows for flexible and natural test parametrization schemes.ideal for integration and functional tests.totally separates test code, test configuration and test setup.funcargs - pythonic zero-boilerplate fixtures for Python test functions :.Many new advanced automated testing features - here is a quick summary: An important function, clear() is not visible outside the library in figleaf, which made figleaf a lot more problematic to implement than coverage.py. We have seen that the coverage.py library is much better documented than figleaf. Took a few betas but finally i uploaded a 1.0.0 py lib release,įeaturing the mature and powerful py.test tool and “execnet-style”Įlastic distributed programming. Figleaf.py operates only on Python2 whereas Coverage.py works on Python2 and Python3. Pylib 1.0.0 released: testing-with-python innovations continue ¶
